Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx *context.Context, executor TaskRunner, selector TaskSelector, taskList []*taskapi.Task) (bool, error)
Run accepts a list of tasks and check for their requirements and runs them if their conditions are met
Types ¶
type TaskRunner ¶
func NewTaskRunner ¶
func NewTaskRunner(ctx *context.Context) TaskRunner
type TaskRunnerImpl ¶
type TaskRunnerImpl struct {
// contains filtered or unexported fields
}
type TaskSelectorImpl ¶
type TaskSelectorImpl struct {
// contains filtered or unexported fields
}
func NewTaskSelector ¶
func NewTaskSelector() *TaskSelectorImpl
Click to show internal directories.
Click to hide internal directories.