Documentation ¶
Overview ¶
Package cmdstate implements a overlord.StateManager that excutes arbitrary commands as tasks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandManager ¶
type CommandManager struct{}
CommandManager helps running arbitrary commands as tasks.
func Manager ¶
func Manager(st *state.State, runner *state.TaskRunner) *CommandManager
Manager returns a new CommandManager.
func (*CommandManager) Ensure ¶
func (m *CommandManager) Ensure() error
Ensure is part of the overlord.StateManager interface.
Click to show internal directories.
Click to hide internal directories.