Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultTrustKeyFile is the default filename for the trust key DefaultTrustKeyFile = "key.json" // 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" // TLSVerifyKey is the default flag name for the tls verification option TLSVerifyKey = "tlsverify" )
Variables ¶
This section is empty.
Functions ¶
func SetDaemonLogLevel ¶
func SetDaemonLogLevel(logLevel string)
SetDaemonLogLevel sets the logrus logging level TODO: this is a bad name, it applies to the client as well.
Types ¶
type ClientFlags ¶
type ClientFlags struct {
FlagSet *flag.FlagSet
Common *CommonFlags
PostParse func()
ConfigDir string
}
ClientFlags represents flags for the docker client.
type CommonFlags ¶
type CommonFlags struct {
FlagSet *flag.FlagSet
PostParse func()
Debug bool
Hosts []string
LogLevel string
TLS bool
TLSVerify bool
TLSOptions *tlsconfig.Options
TrustKey string
}
CommonFlags are flags common to both the client and the daemon.
func InitCommonFlags ¶
func InitCommonFlags() *CommonFlags
InitCommonFlags initializes flags common to both client and daemon
Click to show internal directories.
Click to hide internal directories.