Documentation ¶
Overview ¶
Package scheduler holds the main task scheculing for the robot system. It watches for newly added builds, subjects and workers, and schedules jobs to fill in the holes in the testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Tick ¶
Tick can be called to schedule new actions based on the current data set. It looks at the data to find holes that need actions to fill, and then picks which ones it thinks should be next based on the available workers. It is intended to be called in the update function of a monitor. See monitor.Run for more details. Blocking will prevent updates of the data store, so the function will try to schedule tasks to idle workers only returning quickly on the assumption it will be ticked again as soon as the data changes.
Types ¶
This section is empty.