Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { Image string `json:"image,omitempty"` Tag string `json:"tag,omitempty"` Args []string `json:"args,omitempty"` Dependencies []Job `json:"dependencies,omitempty"` }
Job stores the information about a Docker image that contain the job to run, the arguments to pass to it and the dependencies it relies on.
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler is the structure responsible of running the jobs in order, accordingly to their dependency graph, and stores information about their status.
func NewScheduler ¶
NewScheduler returns a properly configured Scheduler.
Click to show internal directories.
Click to hide internal directories.