Documentation ¶
Overview ¶
package cli provides wrapper support for executing commands, this is so we can test the rest of the implementations quickly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdExecutor ¶
type CmdExecutor interface { Execute(mask bool, args ...string) (out string, err error) ExecuteAndStreamOutput(mask bool, outputHandler OutputHandler, pat string, args ...string) error }
func NewCli ¶
func NewCli(hook shutdown.CancelHook) CmdExecutor
type ExecuteCliErr ¶
type OutputHandler ¶
type OutputHandler func(line string)
OutputHandler is a function type that processes lines of output
type UnableToStartErr ¶
func (UnableToStartErr) Error ¶
func (u UnableToStartErr) Error() string
Click to show internal directories.
Click to hide internal directories.