Documentation
¶
Overview ¶
Package plans holds the predefined plan kinds the plan manager runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
NewCommand requires Params to be a jobs.Command; its Out is replaced on each run.
type Outcome ¶
type Outcome struct {
State entity.PlanRunState
Error string // why it failed, or what stopped it
ExitCode int // for a kind with an exit status, like a command; 0 for one without
}
Outcome always carries a State, and an Error unless it succeeded; the plan manager fills in the rest of the PlanRun.