mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 09:50:31 +00:00
21 lines
698 B
Go
21 lines
698 B
Go
package queue
|
|
|
|
import "github.com/drone/drone/model"
|
|
|
|
// Work represents an item for work to be
|
|
// processed by a worker.
|
|
type Work struct {
|
|
Signed bool `json:"signed"`
|
|
Verified bool `json:"verified"`
|
|
Yaml string `json:"config"`
|
|
YamlEnc string `json:"secret"`
|
|
Repo *model.Repo `json:"repo"`
|
|
Build *model.Build `json:"build"`
|
|
BuildLast *model.Build `json:"build_last"`
|
|
Job *model.Job `json:"job"`
|
|
Netrc *model.Netrc `json:"netrc"`
|
|
Keys *model.Key `json:"keys"`
|
|
System *model.System `json:"system"`
|
|
Secrets []*model.Secret `json:"secrets"`
|
|
User *model.User `json:"user"`
|
|
}
|