Skip to content

Commit

Permalink
mark as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Jul 20, 2024
1 parent dad9174 commit a031832
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import (
)

// Build is the library representation of a build for a pipeline.
//
// Deprecated: use Build from github.com/go-vela/server/api/types instead.
type Build struct {
ID *int64 `json:"id,omitempty"`
RepoID *int64 `json:"repo_id,omitempty"`
Expand Down
2 changes: 2 additions & 0 deletions library/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import (
)

// Executor is the library representation of an executor for a worker.
//
// Deprecated: use Executor from github.com/go-vela/server/api/types instead.
type Executor struct {
ID *int64 `json:"id,omitempty"`
Host *string `json:"host,omitempty"`
Expand Down
2 changes: 2 additions & 0 deletions library/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
)

// Repo is the library representation of a repo.
//
// Deprecated: use Repo from github.com/go-vela/server/api/types instead.
type Repo struct {
ID *int64 `json:"id,omitempty"`
UserID *int64 `json:"user_id,omitempty"`
Expand Down
2 changes: 2 additions & 0 deletions library/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
)

// Schedule is the API representation of a schedule for a repo.
//
// Deprecated: use Schedule from github.com/go-vela/server/api/types instead.
type Schedule struct {
ID *int64 `json:"id,omitempty"`
RepoID *int64 `json:"repo_id,omitempty"`
Expand Down
2 changes: 2 additions & 0 deletions library/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import (
)

// Worker is the library representation of a worker.
//
// Deprecated: use Worker from github.com/go-vela/server/api/types instead.
type Worker struct {
ID *int64 `json:"id,omitempty"`
Hostname *string `json:"hostname,omitempty"`
Expand Down

0 comments on commit a031832

Please sign in to comment.