Documentation ¶
Index ¶
- type Docker
- func (d *Docker) CopyTo(container string, sourcePath string, dstPath string) (err error)
- func (d *Docker) Exec(container string, cnf *types.ExecConfig, ca cliApp) (status int, err error)
- func (d *Docker) GetClient() *client.Client
- func (d *Docker) GetContanerList() ([]string, error)
- func (d *Docker) InitClient() error
- func (d *Docker) Ping() (types.Ping, error)
- func (d *Docker) Run(cmd string) (err error)
- func (d *Docker) Stat() (string, error)
- func (d *Docker) StopContainers() func([]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
Docker is a wrapper for docker SDK
func (*Docker) GetContanerList ¶
GetContanerList get container list
func (*Docker) StopContainers ¶
StopContainers stop containers by filter
Click to show internal directories.
Click to hide internal directories.