Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExitTypeNormal = "normal" ExitTypeTimeout = "timeout" ExitTypeStop = "stop" )
command exit types
Variables ¶
This section is empty.
Functions ¶
func PrintStatus ¶
Types ¶
type Command ¶
type Command struct { Name string Command string Args []string Env []string Timeout time.Duration StatusUpdateDuration time.Duration StatusFn func(cmd.Status) ExitFn func(string, cmd.Status) // contains filtered or unexported fields }
Command deails
func (*Command) StartAndWait ¶
StartAndWait triggers the command and wait till it completes
Click to show internal directories.
Click to hide internal directories.