Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecParams ¶
ExecParams parameters to execute a command
type ExecResult ¶
ExecResult result of executing a command
type Executor ¶
type Executor interface {
RunCommandWithOutputRaw(name string, args ...string) ([]byte, error)
RunCommandWithOutput(name string, args ...string) (string, error)
RunCommandWithOutputTimed(command []string, timeoutSeconds int) (string, error)
RunCommand(params ExecParams) ExecResult
}
Executor is the interface for executing commands.
Click to show internal directories.
Click to hide internal directories.