Documentation ¶ Index ¶ type Docker func NewDocker(client *api.Client, id string) *Docker func (dc *Docker) Remove() error func (dc *Docker) Start() error func (dc *Docker) Stop() error type Manager type Mock func NewMock() *Mock func (m *Mock) Remove() error func (m *Mock) Start() error func (m *Mock) Stop() error type Runc func NewRunc() *Runc func (rc *Runc) Remove() error func (rc *Runc) Start() error func (rc *Runc) Stop() 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 } func NewDocker ¶ func NewDocker(client *api.Client, id string) *Docker func (*Docker) Remove ¶ func (dc *Docker) Remove() error func (*Docker) Start ¶ func (dc *Docker) Start() error func (*Docker) Stop ¶ func (dc *Docker) Stop() error type Manager ¶ type Manager interface { Start() error Stop() error Remove() error } type Mock ¶ type Mock struct{} func NewMock ¶ func NewMock() *Mock func (*Mock) Remove ¶ func (m *Mock) Remove() error func (*Mock) Start ¶ func (m *Mock) Start() error func (*Mock) Stop ¶ func (m *Mock) Stop() error type Runc ¶ type Runc struct{} func NewRunc ¶ func NewRunc() *Runc func (*Runc) Remove ¶ func (rc *Runc) Remove() error func (*Runc) Start ¶ func (rc *Runc) Start() error func (*Runc) Stop ¶ func (rc *Runc) Stop() error Source Files ¶ View all Source files docker.go main.go mock.go runc.go Click to show internal directories. Click to hide internal directories.