Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCommandTimeout = fmt.Errorf("Command timed out before completing")
Functions ¶
This section is empty.
Types ¶
type CommandImpl ¶
type CommandImpl struct {
// contains filtered or unexported fields
}
Command executes local commands
func (*CommandImpl) Execute ¶
func (c *CommandImpl) Execute(config types.CommandConfig) (int, error)
Execute the given command
func (*CommandImpl) Kill ¶
func (c *CommandImpl) Kill(pid int) error
Kill a process with the given pid
Click to show internal directories.
Click to hide internal directories.