Documentation
¶
Index ¶
Constants ¶
View Source
const (
ConditionAlwaysExecute = "always-execute"
)
Variables ¶
This section is empty.
Functions ¶
func IsCommandNotFound ¶
IsCommandNotFound asserts commandNotFoundError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Backoff ¶
type Backoff struct {
// contains filtered or unexported fields
}
Backoff is a simple wrapper that allows us to better explain how the backoff got configured.
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
func NewExecutor(config ExecutorConfig) (*Executor, error)
type ExecutorConfig ¶
type Step ¶
type Step struct { // Action is the action/command name, e.g. ac013. Action StepAction // Backoff is the tolerance within the associated action must be // successfully executed without returning errors. Backoff *Backoff // Condition defines when to execute this step of a plan. By default all // steps are executed until an error occurs. This behaviour can be // overwritten to always execute certain steps e.g. for cluster deletion. Condition StepCondition }
type StepAction ¶ added in v12.7.1
type StepAction string
func (StepAction) Split ¶ added in v12.7.1
func (a StepAction) Split() []string
func (StepAction) String ¶ added in v12.7.1
func (a StepAction) String() string
type StepCondition ¶ added in v12.7.1
type StepCondition string
Click to show internal directories.
Click to hide internal directories.