Documentation
¶
Index ¶
- func GetFeaturesFromTasks(tasks []*Task) map[string]string
- func InspectTasks(taskList []*Task, proj *project.Project) (s string)
- func Run(ctx *Context, executor TaskRunner, selector TaskSelector, taskList []*Task) (success bool, err error)
- type Context
- type Task
- type TaskRunner
- type TaskRunnerImpl
- type TaskSelector
- type TaskSelectorImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFeaturesFromTasks ¶ added in v0.0.7
func InspectTasks ¶ added in v0.2.0
func Run ¶ added in v0.8.0
func Run(ctx *Context, executor TaskRunner, selector TaskSelector, taskList []*Task) (success bool, err error)
Run accepts a list of tasks and check for their requirements and runs them if their conditions are met
Types ¶
type Context ¶ added in v0.0.5
type Context struct {
// contains filtered or unexported fields
}
Context provides the context in which a Task run
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
Task represents a task created by a taskDefinition.parser and specified by the TaskInfo
type TaskRunner ¶ added in v0.8.0
type TaskRunnerImpl ¶ added in v0.8.0
type TaskRunnerImpl struct{}
type TaskSelector ¶ added in v0.8.0
type TaskSelectorImpl ¶ added in v0.8.0
type TaskSelectorImpl struct {
// contains filtered or unexported fields
}
func NewTaskSelector ¶ added in v0.8.0
func NewTaskSelector() *TaskSelectorImpl
Source Files
¶
Click to show internal directories.
Click to hide internal directories.