Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdExecutor ¶
func NewCommandExecutor ¶
func NewCommandExecutor(cmd string) CmdExecutor
func NewCommandExecutorWithTimeout ¶
func NewCommandExecutorWithTimeout(cmd string, timeout time.Duration) CmdExecutor
type CommandExecutor ¶
type CommandExecutor struct {
// contains filtered or unexported fields
}
func (*CommandExecutor) Execute ¶
func (ce *CommandExecutor) Execute() error
func (*CommandExecutor) Stderr ¶
func (ce *CommandExecutor) Stderr() string
func (*CommandExecutor) Stdout ¶
func (ce *CommandExecutor) Stdout() string
type CommandExecutorWithTimeout ¶
type CommandExecutorWithTimeout struct {
// contains filtered or unexported fields
}
func (*CommandExecutorWithTimeout) Execute ¶
func (ct *CommandExecutorWithTimeout) Execute() error
func (*CommandExecutorWithTimeout) Stderr ¶
func (ct *CommandExecutorWithTimeout) Stderr() string
func (*CommandExecutorWithTimeout) Stdout ¶
func (ct *CommandExecutorWithTimeout) Stdout() string
Click to show internal directories.
Click to hide internal directories.