Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor interface { // Stage returns the stage that the executor belongs to. // Prepare prepares the executor for execution. Prepare(ctx context.Context, input state.State) error // Execute executes the executor, returning the next states. Execute(ctx context.Context) ([]state.State, error) }
Executor executes a single step in provisioner execution. It transforms a set of states into their next stages.
type Runner ¶
type Runner struct { State []state.State Stages []RunnerStage // contains filtered or unexported fields }
Runner runs a set of provision handlers on a set of input states.
It returns the final set of states after all handlers have been executed.
type RunnerStage ¶
Click to show internal directories.
Click to hide internal directories.