Documentation ¶
Index ¶
- type MockDockerClient
- func (mdc *MockDockerClient) CommitContainer(opts dockerclient.CommitContainerOptions) (*dockerclient.Image, error)
- func (mdc *MockDockerClient) CreateContainer(opts dockerclient.CreateContainerOptions) (*dockerclient.Container, error)
- func (mdc *MockDockerClient) ExportContainer(opts dockerclient.ExportContainerOptions) error
- func (mdc *MockDockerClient) ExportImages(opts dockerclient.ExportImagesOptions) error
- func (mdc *MockDockerClient) ImportImage(opts dockerclient.ImportImageOptions) error
- func (mdc *MockDockerClient) InspectContainer(id string) (*dockerclient.Container, error)
- func (mdc *MockDockerClient) InspectImage(name string) (*dockerclient.Image, error)
- func (mdc *MockDockerClient) KillContainer(opts dockerclient.KillContainerOptions) error
- func (mdc *MockDockerClient) ListContainers(opts dockerclient.ListContainersOptions) ([]dockerclient.APIContainers, error)
- func (mdc *MockDockerClient) ListImages(opts dockerclient.ListImagesOptions) ([]dockerclient.APIImages, error)
- func (mdc *MockDockerClient) LoadImage(opts dockerclient.LoadImageOptions) error
- func (mdc *MockDockerClient) MonitorEvents() (docker.EventMonitor, error)
- func (mdc *MockDockerClient) PullImage(opts dockerclient.PullImageOptions, auth dockerclient.AuthConfiguration) error
- func (mdc *MockDockerClient) PushImage(opts dockerclient.PushImageOptions, auth dockerclient.AuthConfiguration) error
- func (mdc *MockDockerClient) RemoveContainer(opts dockerclient.RemoveContainerOptions) error
- func (mdc *MockDockerClient) RemoveImage(name string) error
- func (mdc *MockDockerClient) RestartContainer(id string, timeout uint) error
- func (mdc *MockDockerClient) StartContainer(id string, hostConfig *dockerclient.HostConfig) error
- func (mdc *MockDockerClient) StopContainer(id string, timeout uint) error
- func (mdc *MockDockerClient) TagImage(name string, opts dockerclient.TagImageOptions) error
- func (mdc *MockDockerClient) Version() (*dockerclient.Env, error)
- func (mdc *MockDockerClient) WaitContainer(id string) (int, error)
- type MockDockerRegistry
- type MockEventMonitor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDockerClient ¶
func (*MockDockerClient) CommitContainer ¶
func (mdc *MockDockerClient) CommitContainer(opts dockerclient.CommitContainerOptions) (*dockerclient.Image, error)
func (*MockDockerClient) CreateContainer ¶
func (mdc *MockDockerClient) CreateContainer(opts dockerclient.CreateContainerOptions) (*dockerclient.Container, error)
func (*MockDockerClient) ExportContainer ¶
func (mdc *MockDockerClient) ExportContainer(opts dockerclient.ExportContainerOptions) error
func (*MockDockerClient) ExportImages ¶
func (mdc *MockDockerClient) ExportImages(opts dockerclient.ExportImagesOptions) error
func (*MockDockerClient) ImportImage ¶
func (mdc *MockDockerClient) ImportImage(opts dockerclient.ImportImageOptions) error
func (*MockDockerClient) InspectContainer ¶
func (mdc *MockDockerClient) InspectContainer(id string) (*dockerclient.Container, error)
func (*MockDockerClient) InspectImage ¶
func (mdc *MockDockerClient) InspectImage(name string) (*dockerclient.Image, error)
func (*MockDockerClient) KillContainer ¶
func (mdc *MockDockerClient) KillContainer(opts dockerclient.KillContainerOptions) error
func (*MockDockerClient) ListContainers ¶
func (mdc *MockDockerClient) ListContainers(opts dockerclient.ListContainersOptions) ([]dockerclient.APIContainers, error)
func (*MockDockerClient) ListImages ¶
func (mdc *MockDockerClient) ListImages(opts dockerclient.ListImagesOptions) ([]dockerclient.APIImages, error)
func (*MockDockerClient) LoadImage ¶
func (mdc *MockDockerClient) LoadImage(opts dockerclient.LoadImageOptions) error
func (*MockDockerClient) MonitorEvents ¶
func (mdc *MockDockerClient) MonitorEvents() (docker.EventMonitor, error)
func (*MockDockerClient) PullImage ¶
func (mdc *MockDockerClient) PullImage(opts dockerclient.PullImageOptions, auth dockerclient.AuthConfiguration) error
func (*MockDockerClient) PushImage ¶
func (mdc *MockDockerClient) PushImage(opts dockerclient.PushImageOptions, auth dockerclient.AuthConfiguration) error
func (*MockDockerClient) RemoveContainer ¶
func (mdc *MockDockerClient) RemoveContainer(opts dockerclient.RemoveContainerOptions) error
func (*MockDockerClient) RemoveImage ¶
func (mdc *MockDockerClient) RemoveImage(name string) error
func (*MockDockerClient) RestartContainer ¶
func (mdc *MockDockerClient) RestartContainer(id string, timeout uint) error
func (*MockDockerClient) StartContainer ¶
func (mdc *MockDockerClient) StartContainer(id string, hostConfig *dockerclient.HostConfig) error
func (*MockDockerClient) StopContainer ¶
func (mdc *MockDockerClient) StopContainer(id string, timeout uint) error
func (*MockDockerClient) TagImage ¶
func (mdc *MockDockerClient) TagImage(name string, opts dockerclient.TagImageOptions) error
func (*MockDockerClient) Version ¶
func (mdc *MockDockerClient) Version() (*dockerclient.Env, error)
func (*MockDockerClient) WaitContainer ¶
func (mdc *MockDockerClient) WaitContainer(id string) (int, error)
type MockDockerRegistry ¶
func (*MockDockerRegistry) PullImage ¶
func (mdr *MockDockerRegistry) PullImage(repotag string) error
func (*MockDockerRegistry) PushImage ¶
func (mdr *MockDockerRegistry) PushImage(repotag string) error
type MockEventMonitor ¶
func (*MockEventMonitor) Close ¶
func (_m *MockEventMonitor) Close() error
func (*MockEventMonitor) IsActive ¶
func (_m *MockEventMonitor) IsActive() bool
func (*MockEventMonitor) Subscribe ¶
func (_m *MockEventMonitor) Subscribe(ID string) (*docker.Subscription, error)
Click to show internal directories.
Click to hide internal directories.