Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Director ¶
Director manages workloads and delegates to workers.
func (*Director) GetAssignemnts ¶
func (d *Director) GetAssignemnts() []*worker.Assignment
GetAssignments returns a list of assignments. The assignment type is a structure that stores the work being performed and the assigned worker.
func (*Director) GetPending ¶
GetPending returns a list of all work that is pending assignment to a worker.
func (*Director) GetStarted ¶
GetStarted returns a list of all jobs that are assigned and being worked on.
Click to show internal directories.
Click to hide internal directories.