Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupMode ¶
type CleanupMode string
CleanupMode says how runner should execute cleanup
const ( // CleanupModeNo - Don't execute cleanup CleanupModeNo CleanupMode = "no" // CleanupModeOnly - Don't run steps, only cleanup CleanupModeOnly CleanupMode = "only" // Execute both steps and cleanup CleanupModeYes CleanupMode = "yes" )
func (CleanupMode) String ¶
func (m CleanupMode) String() string
String implements pflag.Value.String
type Parallelized ¶
type Parallelized struct {
// contains filtered or unexported fields
}
func Parallel ¶
func Parallel(steps ...Step) *Parallelized
func (*Parallelized) Cleanup ¶
func (p *Parallelized) Cleanup() error
func (*Parallelized) Name ¶
func (p *Parallelized) Name() string
func (*Parallelized) Run ¶
func (p *Parallelized) Run() error
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner executes steps in safe manner
Click to show internal directories.
Click to hide internal directories.