Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultCaFile is the default filename for the CA pem file DefaultCaFile = "ca.pem" // DefaultKeyFile is the default filename for the key pem file DefaultKeyFile = "key.pem" // DefaultCertFile is the default filename for the cert pem file DefaultCertFile = "cert.pem" // FlagTLSVerify is the flag name for the TLS verification option FlagTLSVerify = "tlsverify" // FlagTLS is the flag name for the TLS option FlagTLS = "tls" // DefaultTLSValue is the default value used for setting the tls option for tcp connections DefaultTLSValue = false )
Variables ¶
This section is empty.
Functions ¶
func FlagErrorFunc ¶
FlagErrorFunc prints an error message which matches the format of the docker/docker/cli error messages
func SetupRootCommand ¶
SetupRootCommand sets default usage, help, and error handling for the root command.
Types ¶
type StatusError ¶
StatusError reports an unsuccessful exit by a command.
func (StatusError) Error ¶
func (e StatusError) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.