2014-09-29 04:36:24 +03:00
|
|
|
package worker
|
|
|
|
|
|
|
|
import "github.com/drone/drone/shared/model"
|
|
|
|
|
|
|
|
type Work struct {
|
2014-09-29 06:21:02 +03:00
|
|
|
Host string
|
2014-09-29 04:36:24 +03:00
|
|
|
User *model.User
|
|
|
|
Repo *model.Repo
|
|
|
|
Commit *model.Commit
|
|
|
|
}
|
|
|
|
|
|
|
|
type Assignment struct {
|
|
|
|
Work *Work
|
|
|
|
Worker Worker
|
|
|
|
}
|