Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TaskName = "run_tasks" TaskDescriptor = &types.TaskDescriptor{ Name: TaskName, Description: "Run tasks sequentially.", Config: DefaultConfig(), NewTask: NewTask, } )
Functions ¶
func NewTask ¶
func NewTask(ctx *types.TaskContext, options *types.TaskOptions) (types.Task, error)
Types ¶
type Config ¶
type Config struct { Tasks []helper.RawMessageMasked `yaml:"tasks" json:"tasks"` StopChildOnResult bool `yaml:"stopChildOnResult" json:"stopChildOnResult"` ExpectFailure bool `yaml:"expectFailure" json:"expectFailure"` ContinueOnFailure bool `yaml:"continueOnFailure" json:"continueOnFailure"` NewVariableScope bool `yaml:"newVariableScope" json:"newVariableScope"` }
func DefaultConfig ¶
func DefaultConfig() Config
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.