mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 04:10:32 +00:00
15 lines
286 B
Go
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
|
|
}
|