v0.1.0-rc4 Latest Latest

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

Go to latest
Published: Feb 13, 2015 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type MockClient

type MockClient struct {

func NewMockClient

func NewMockClient() *MockClient

func (*MockClient) ContainerLogs

func (client *MockClient) ContainerLogs(id string, options *dockerclient.LogOptions) (io.ReadCloser, error)

func (*MockClient) CreateContainer

func (client *MockClient) CreateContainer(config *dockerclient.ContainerConfig, name string) (string, error)

func (*MockClient) Exec

func (client *MockClient) Exec(config *dockerclient.ExecConfig) (string, error)

func (*MockClient) Info

func (client *MockClient) Info() (*dockerclient.Info, error)

func (*MockClient) InspectContainer

func (client *MockClient) InspectContainer(id string) (*dockerclient.ContainerInfo, error)

func (*MockClient) KillContainer

func (client *MockClient) KillContainer(id, signal string) error

func (*MockClient) ListContainers

func (client *MockClient) ListContainers(all bool, size bool, filters string) ([]dockerclient.Container, error)

func (*MockClient) ListImages

func (client *MockClient) ListImages() ([]*dockerclient.Image, error)

func (*MockClient) PauseContainer

func (client *MockClient) PauseContainer(name string) error

func (*MockClient) PullImage

func (client *MockClient) PullImage(name string, auth *dockerclient.AuthConfig) error

func (*MockClient) RemoveContainer

func (client *MockClient) RemoveContainer(id string, force bool) error

func (*MockClient) RemoveImage

func (client *MockClient) RemoveImage(name string) error

func (*MockClient) RestartContainer

func (client *MockClient) RestartContainer(id string, timeout int) error

func (*MockClient) StartContainer

func (client *MockClient) StartContainer(id string, config *dockerclient.HostConfig) error

func (*MockClient) StartMonitorEvents

func (client *MockClient) StartMonitorEvents(cb dockerclient.Callback, ec chan error, args ...interface{})

func (*MockClient) StopAllMonitorEvents

func (client *MockClient) StopAllMonitorEvents()

func (*MockClient) StopContainer

func (client *MockClient) StopContainer(id string, timeout int) error

func (*MockClient) UnpauseContainer

func (client *MockClient) UnpauseContainer(name string) error

func (*MockClient) Version

func (client *MockClient) Version() (*dockerclient.Version, error)

Jump to

Keyboard shortcuts

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