harness-drone/server/worker/work.go
2014-10-12 20:02:54 -07:00

15 lines
286 B
Go

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"`
}
type Assignment struct {
Work *Work
Worker Worker
}