Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = 2 * time.Minute MaximumTimeout = 10 * time.Minute DefaultOutputLimit = 32 * 1024 MaximumOutputLimit = 1024 * 1024 TimeoutExitCode = 124 ZeroMatchExitCode = 126 InterruptedExitCode = 130 )
Variables ¶
This section is empty.
Functions ¶
func CommandDigest ¶
CommandDigest returns the canonical identity of the exact argv or explicit shell command that Run will execute.
Types ¶
type Request ¶
func ParseCommand ¶
ParseCommand preserves authored argv unless shell semantics are explicit.
type Result ¶
type Result struct {
CommandDigest string `json:"command_digest"`
StartedAt string `json:"started_at"`
EndedAt string `json:"ended_at"`
ExitCode int `json:"exit_code"`
Passed bool `json:"passed"`
TimedOut bool `json:"timed_out"`
Interrupted bool `json:"interrupted"`
NonVacuous bool `json:"non_vacuous"`
GoRunSelector bool `json:"go_run_selector"`
ZeroMatch bool `json:"zero_match"`
StdoutDigest string `json:"stdout_digest"`
StderrDigest string `json:"stderr_digest"`
StdoutExcerpt string `json:"stdout_excerpt,omitempty"`
StderrExcerpt string `json:"stderr_excerpt,omitempty"`
StdoutTruncated bool `json:"stdout_truncated"`
StderrTruncated bool `json:"stderr_truncated"`
}
Click to show internal directories.
Click to hide internal directories.