harness-drone/server/worker/work.go

16 lines
286 B
Go
Raw Normal View History

2014-09-29 01:36:24 +00:00
package worker
import "github.com/drone/drone/shared/model"
type Work struct {
Host string `json:"host"`
User *model.User `json:"user"`
Repo *model.Repo `json:"repo"`
Commit *model.Commit `json:"commit"`
2014-09-29 01:36:24 +00:00
}
type Assignment struct {
Work *Work
Worker Worker
}