1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/queue/types.go

22 lines
698 B
Go
Raw Normal View History

2016-04-13 02:27:24 +02:00
package queue
import "github.com/drone/drone/model"
// Work represents an item for work to be
// processed by a worker.
type Work struct {
2016-04-22 02:10:19 +02:00
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"`
2016-04-23 13:27:28 +02:00
Secrets []*model.Secret `json:"secrets"`
User *model.User `json:"user"`
2016-04-13 02:27:24 +02:00
}