Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner interface { fmt.Stringer // Run the task. A context is provided allowing state between tasks to // be shared. Useful if multiple tasks are executed in order Run(ctx *context.Context) error // Skip running of the task based on the current context state Skip(ctx *context.Context) bool }
Runner defines a way of running a task. A task can either be run as a standalone operation or chained into a series of consecutive operations
Click to show internal directories.
Click to hide internal directories.