Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSchedulable ¶
GetSchedulable returns a map of PipelineTask that can be scheduled (keyed by the name of the PipelineTask) given a list of successfully finished doneTasks. It returns tasks which have all dependecies marked as done, and thus can be scheduled. If the specified doneTasks are invalid (i.e. if it is indicated that a Task is done, but the previous Tasks are not done), an error is returned.
Types ¶
type Graph ¶ added in v0.9.0
type Graph struct { //Nodes represent map of PipelineTask name to Node in Pipeline Graph Nodes map[string]*Node }
Graph represents the Pipeline Graph
Click to show internal directories.
Click to hide internal directories.