Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultTimeOut = int64(10 * 60)
)
View Source
var LineSeparator string
Functions ¶
Types ¶
type CmdStatus ¶
type CmdStatus struct { Cmd string `json:"cmd"` PID int `json:"pid"` Complete bool `json:"complete"` // false if stopped or signaled Exit int `json:"exit"` // exit code of process Error error `json:"error" swaggertype:"string"` // Go error StartTs int64 `json:"startTs"` // Unix ts (nanoseconds), zero if Cmd not started StopTs int64 `json:"stopTs"` // Unix ts (nanoseconds), zero if Cmd not started or running Runtime float64 `json:"runtime"` // seconds, zero if Cmd not started StdoutLines []string `json:"stdout_lines"` StderrLines []string `json:"stderr_lines"` Stderr string `json:"stderr"` Stdout string `json:"stdout"` }
Click to show internal directories.
Click to hide internal directories.