Documentation ¶
Index ¶
Constants ¶
View Source
const ( ExitCodeOK int = 0 ExitCodeError = 10 + iota ExitCodeInterrupt ExitCodeRequiredFlagsError ExitCodeParseFlagsError ExitCodeConfigError ExitCodeDriverError )
Exit codes are int values that represent an exit code for a particular error. Sub-systems may check this unique error to determine the cause of an error without parsing the output or help text.
Errors start at 10
View Source
const ( // Command line flag names FlagPort = "port" FlagHTTPAddr = "http-addr" FlagCAPath = "ca-path" FlagCACert = "ca-cert" FlagClientCert = "client-cert" FlagClientKey = "client-key" FlagSSLVerify = "ssl-verify" FlagAutoApprove = "auto-approve" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.