Versions in this module Expand all Collapse all v0 v0.0.12 Feb 8, 2021 Changes in this version + const StateCancelled + const StateHalted + func DebugPauseDefault(loc DebugLocation, name string, state StateBag) + type BasicRunner struct + Steps []Step + func (b *BasicRunner) Run(ctx context.Context, state StateBag) + type BasicStateBag struct + func (b *BasicStateBag) Get(k string) interface{} + func (b *BasicStateBag) GetOk(k string) (interface{}, bool) + func (b *BasicStateBag) Put(k string, v interface{}) + func (b *BasicStateBag) Remove(k string) + type DebugLocation uint + const DebugLocationAfterRun + const DebugLocationBeforeCleanup + type DebugPauseFn func(DebugLocation, string, StateBag) + type DebugRunner struct + PauseFn DebugPauseFn + Steps []Step + func (r *DebugRunner) Run(ctx context.Context, state StateBag) + type Runner interface + Run func(context.Context, StateBag) + type StateBag interface + Get func(string) interface{} + GetOk func(string) (interface{}, bool) + Put func(string, interface{}) + Remove func(string) + type Step interface + Cleanup func(StateBag) + Run func(context.Context, StateBag) StepAction + func If(on bool, step Step) Step + type StepAction uint + const ActionContinue + const ActionHalt + func (a StepAction) String() string + type StepWrapper interface + InnerStepName func() string