mockclient

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2016 License: Apache-2.0, Apache-2.0, CC-BY-SA-4.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	mock.Mock
}

func NewMockClient

func NewMockClient() *MockClient

func (*MockClient) AttachContainer added in v1.0.1

func (client *MockClient) AttachContainer(id string, options *dockerclient.AttachOptions) (io.ReadCloser, error)

func (*MockClient) BuildImage added in v0.4.0

func (client *MockClient) BuildImage(image *dockerclient.BuildImage) (io.ReadCloser, error)

func (*MockClient) ConnectNetwork added in v1.0.0

func (client *MockClient) ConnectNetwork(id, container string) error

func (*MockClient) ContainerChanges added in v0.3.0

func (client *MockClient) ContainerChanges(id string) ([]*dockerclient.ContainerChanges, error)

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, authConfig *dockerclient.AuthConfig) (string, error)

func (*MockClient) CreateNetwork added in v1.0.0

func (client *MockClient) CreateNetwork(config *dockerclient.NetworkCreate) (*dockerclient.NetworkCreateResponse, error)

func (*MockClient) CreateVolume added in v1.0.0

func (client *MockClient) CreateVolume(request *dockerclient.VolumeCreateRequest) (*dockerclient.Volume, error)

func (*MockClient) DisconnectNetwork added in v1.0.0

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

func (*MockClient) ExecCreate added in v1.0.0

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

func (*MockClient) ExecResize added in v1.0.0

func (client *MockClient) ExecResize(id string, width, height int) error

func (*MockClient) ExecStart added in v1.0.0

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

func (*MockClient) ImportImage added in v0.3.0

func (client *MockClient) ImportImage(source string, repository string, tag string, tar io.Reader) (io.ReadCloser, 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) InspectImage added in v0.3.0

func (client *MockClient) InspectImage(id string) (*dockerclient.ImageInfo, error)

func (*MockClient) InspectNetwork added in v1.0.0

func (client *MockClient) InspectNetwork(id string) (*dockerclient.NetworkResource, 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(all bool) ([]*dockerclient.Image, error)

func (*MockClient) ListNetworks added in v1.0.0

func (client *MockClient) ListNetworks(filters string) ([]*dockerclient.NetworkResource, error)

func (*MockClient) ListVolumes added in v1.0.0

func (client *MockClient) ListVolumes() ([]*dockerclient.Volume, error)

func (*MockClient) LoadImage added in v0.3.0

func (client *MockClient) LoadImage(reader io.Reader) error

func (*MockClient) MonitorEvents added in v0.3.0

func (client *MockClient) MonitorEvents(options *dockerclient.MonitorEventsOptions, stopChan <-chan struct{}) (<-chan dockerclient.EventOrError, 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) PushImage added in v1.0.0

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

func (*MockClient) RemoveContainer

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

func (*MockClient) RemoveImage

func (client *MockClient) RemoveImage(name string, force bool) ([]*dockerclient.ImageDelete, error)

func (*MockClient) RemoveNetwork added in v1.0.0

func (client *MockClient) RemoveNetwork(id string) error

func (*MockClient) RemoveVolume added in v1.0.0

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

func (*MockClient) RenameContainer added in v0.3.0

func (client *MockClient) RenameContainer(oldName string, newName 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) StartMonitorStats added in v0.3.0

func (client *MockClient) StartMonitorStats(id string, cb dockerclient.StatCallback, ec chan error, args ...interface{})

func (*MockClient) StopAllMonitorEvents

func (client *MockClient) StopAllMonitorEvents()

func (*MockClient) StopAllMonitorStats added in v0.3.0

func (client *MockClient) StopAllMonitorStats()

func (*MockClient) StopContainer

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

func (*MockClient) TagImage added in v0.3.0

func (client *MockClient) TagImage(nameOrID string, repo string, tag string, force bool) error

func (*MockClient) UnpauseContainer

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

func (*MockClient) Version

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

func (*MockClient) Wait added in v1.0.0

func (client *MockClient) Wait(id string) <-chan dockerclient.WaitResult

Jump to

Keyboard shortcuts

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