manager

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL