Documentation ¶
Overview ¶
The solver package is responsible for constructing a taskqueue based on the set of resources that should be applied. This involves setting up the appropriate sequence of apply, wait and prune tasks so any dependencies between resources doesn't cause a later apply operation to fail. Currently this package assumes that the resources have already been sorted in the appropriate order. We might want to consider moving the sorting functionality into this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TaskQueueSolver ¶
type TaskQueueSolver struct { ApplyOptions *apply.ApplyOptions PruneOptions *prune.PruneOptions InfoHelper info.InfoHelper }
func (*TaskQueueSolver) BuildTaskQueue ¶
func (t *TaskQueueSolver) BuildTaskQueue(ro resourceObjects, o Options) chan taskrunner.Task
BuildTaskQueue takes a set of resources in the form of info objects and constructs the task queue. The options parameter allows customization of how the task queue are built.
Click to show internal directories.
Click to hide internal directories.