 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cli ¶
Cli represents a command line interface.
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 represents flags that are common to both the client and the daemon.
type Handler ¶
type Handler interface{}
    Handler holds the different commands Cli will call It should have methods with names starting with `Cmd` like:
func (h myHandler) CmdFoo(args ...string) error
type Initializer ¶
type Initializer interface {
	Initialize() error
}
    Initializer can be optionally implemented by a Handler to initialize before each call to one of its commands.
type StatusError ¶
An StatusError reports an unsuccessful exit by a command.
func (StatusError) Error ¶
func (e StatusError) Error() string
 Click to show internal directories. 
   Click to hide internal directories.