mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-05 16:39:50 +00:00
25 lines
569 B
Go
25 lines
569 B
Go
|
package engine
|
||
|
|
||
|
import (
|
||
|
"github.com/drone/drone/model"
|
||
|
)
|
||
|
|
||
|
type Event struct {
|
||
|
Name string
|
||
|
Msg []byte
|
||
|
}
|
||
|
|
||
|
type Task struct {
|
||
|
User *model.User `json:"-"`
|
||
|
Repo *model.Repo `json:"repo"`
|
||
|
Build *model.Build `json:"build"`
|
||
|
BuildPrev *model.Build `json:"build_last"`
|
||
|
Jobs []*model.Job `json:"jobs"`
|
||
|
Job *model.Job `json:"job"`
|
||
|
Keys *model.Key `json:"keys"`
|
||
|
Netrc *model.Netrc `json:"netrc"`
|
||
|
Config string `json:"config"`
|
||
|
Secret string `json:"secret"`
|
||
|
System *model.System `json:"system"`
|
||
|
}
|