Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Executables = []*Executable{ &Executable{ Command: we + " who", }, &Executable{ Description: "Installed version", Command: we + " version", }, &Executable{ Command: we + " --verbose", }, &Executable{ Description: "Inspecting working directory context", Command: we + " inspect context", }, }
Executables is a list of executables
Functions ¶
Types ¶
type Diagnostics ¶
type Diagnostics struct {
Timeout time.Duration
Executables []*Executable
Serial bool
// contains filtered or unexported fields
}
Diagnostics for the CLI and environment
type Entry ¶
type Entry struct {
ID string `json:"id"`
Username string `json:"username"`
Report Report `json:"report"`
}
Entry for the diagnostics endpoint
type Executable ¶
type Executable struct {
Description string
LogFile string
Command string
// IgnoreError if command exit code is != 0 (don't log)
IgnoreError bool
Required bool
// contains filtered or unexported fields
}
Executable is a command to be executed on the diagnostics
func (*Executable) Error ¶
func (e *Executable) Error() error
Click to show internal directories.
Click to hide internal directories.