mock_dockerapi

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 10 Imported by: 0

Documentation

Overview

Package mock_dockerapi is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDockerClient

type MockDockerClient struct {
	// contains filtered or unexported fields
}

MockDockerClient is a mock of DockerClient interface

func NewMockDockerClient

func NewMockDockerClient(ctrl *gomock.Controller) *MockDockerClient

NewMockDockerClient creates a new mock instance

func (*MockDockerClient) APIVersion

func (m *MockDockerClient) APIVersion() (dockerclient.DockerVersion, error)

APIVersion mocks base method

func (*MockDockerClient) ContainerEvents

func (m *MockDockerClient) ContainerEvents(arg0 context.Context) (<-chan dockerapi.DockerContainerChangeEvent, error)

ContainerEvents mocks base method

func (*MockDockerClient) CreateContainer

CreateContainer mocks base method

func (*MockDockerClient) CreateVolume added in v1.19.0

func (m *MockDockerClient) CreateVolume(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string, arg5 time.Duration) dockerapi.VolumeResponse

CreateVolume mocks base method

func (*MockDockerClient) DescribeContainer

DescribeContainer mocks base method

func (*MockDockerClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDockerClient) ImportLocalEmptyVolumeImage

func (m *MockDockerClient) ImportLocalEmptyVolumeImage() dockerapi.DockerContainerMetadata

ImportLocalEmptyVolumeImage mocks base method

func (*MockDockerClient) InspectContainer

func (m *MockDockerClient) InspectContainer(arg0 context.Context, arg1 string, arg2 time.Duration) (*go_dockerclient.Container, error)

InspectContainer mocks base method

func (*MockDockerClient) InspectImage

func (m *MockDockerClient) InspectImage(arg0 string) (*go_dockerclient.Image, error)

InspectImage mocks base method

func (*MockDockerClient) InspectVolume added in v1.19.0

func (m *MockDockerClient) InspectVolume(arg0 context.Context, arg1 string, arg2 time.Duration) dockerapi.VolumeResponse

InspectVolume mocks base method

func (*MockDockerClient) KnownVersions

func (m *MockDockerClient) KnownVersions() []dockerclient.DockerVersion

KnownVersions mocks base method

func (*MockDockerClient) ListContainers

func (m *MockDockerClient) ListContainers(arg0 context.Context, arg1 bool, arg2 time.Duration) dockerapi.ListContainersResponse

ListContainers mocks base method

func (*MockDockerClient) ListPlugins added in v1.19.0

ListPlugins mocks base method

func (*MockDockerClient) ListPluginsWithFilters added in v1.19.0

func (m *MockDockerClient) ListPluginsWithFilters(arg0 context.Context, arg1 bool, arg2 []string, arg3 time.Duration) ([]string, error)

ListPluginsWithFilters mocks base method

func (*MockDockerClient) LoadImage

func (m *MockDockerClient) LoadImage(arg0 context.Context, arg1 io.Reader, arg2 time.Duration) error

LoadImage mocks base method

func (*MockDockerClient) PullImage

PullImage mocks base method

func (*MockDockerClient) RemoveContainer

func (m *MockDockerClient) RemoveContainer(arg0 context.Context, arg1 string, arg2 time.Duration) error

RemoveContainer mocks base method

func (*MockDockerClient) RemoveImage

func (m *MockDockerClient) RemoveImage(arg0 context.Context, arg1 string, arg2 time.Duration) error

RemoveImage mocks base method

func (*MockDockerClient) RemoveVolume added in v1.19.0

func (m *MockDockerClient) RemoveVolume(arg0 context.Context, arg1 string, arg2 time.Duration) error

RemoveVolume mocks base method

func (*MockDockerClient) StartContainer

StartContainer mocks base method

func (*MockDockerClient) Stats

func (m *MockDockerClient) Stats(arg0 string, arg1 context.Context) (<-chan *go_dockerclient.Stats, error)

Stats mocks base method

func (*MockDockerClient) StopContainer

StopContainer mocks base method

func (*MockDockerClient) SupportedVersions

func (m *MockDockerClient) SupportedVersions() []dockerclient.DockerVersion

SupportedVersions mocks base method

func (*MockDockerClient) Version

func (m *MockDockerClient) Version(arg0 context.Context, arg1 time.Duration) (string, error)

Version mocks base method

func (*MockDockerClient) WithVersion

WithVersion mocks base method

type MockDockerClientMockRecorder

type MockDockerClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDockerClientMockRecorder is the mock recorder for MockDockerClient

func (*MockDockerClientMockRecorder) APIVersion

func (mr *MockDockerClientMockRecorder) APIVersion() *gomock.Call

APIVersion indicates an expected call of APIVersion

func (*MockDockerClientMockRecorder) ContainerEvents

func (mr *MockDockerClientMockRecorder) ContainerEvents(arg0 interface{}) *gomock.Call

ContainerEvents indicates an expected call of ContainerEvents

func (*MockDockerClientMockRecorder) CreateContainer

func (mr *MockDockerClientMockRecorder) CreateContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer

func (*MockDockerClientMockRecorder) CreateVolume added in v1.19.0

func (mr *MockDockerClientMockRecorder) CreateVolume(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

CreateVolume indicates an expected call of CreateVolume

func (*MockDockerClientMockRecorder) DescribeContainer

func (mr *MockDockerClientMockRecorder) DescribeContainer(arg0, arg1 interface{}) *gomock.Call

DescribeContainer indicates an expected call of DescribeContainer

func (*MockDockerClientMockRecorder) ImportLocalEmptyVolumeImage

func (mr *MockDockerClientMockRecorder) ImportLocalEmptyVolumeImage() *gomock.Call

ImportLocalEmptyVolumeImage indicates an expected call of ImportLocalEmptyVolumeImage

func (*MockDockerClientMockRecorder) InspectContainer

func (mr *MockDockerClientMockRecorder) InspectContainer(arg0, arg1, arg2 interface{}) *gomock.Call

InspectContainer indicates an expected call of InspectContainer

func (*MockDockerClientMockRecorder) InspectImage

func (mr *MockDockerClientMockRecorder) InspectImage(arg0 interface{}) *gomock.Call

InspectImage indicates an expected call of InspectImage

func (*MockDockerClientMockRecorder) InspectVolume added in v1.19.0

func (mr *MockDockerClientMockRecorder) InspectVolume(arg0, arg1, arg2 interface{}) *gomock.Call

InspectVolume indicates an expected call of InspectVolume

func (*MockDockerClientMockRecorder) KnownVersions

func (mr *MockDockerClientMockRecorder) KnownVersions() *gomock.Call

KnownVersions indicates an expected call of KnownVersions

func (*MockDockerClientMockRecorder) ListContainers

func (mr *MockDockerClientMockRecorder) ListContainers(arg0, arg1, arg2 interface{}) *gomock.Call

ListContainers indicates an expected call of ListContainers

func (*MockDockerClientMockRecorder) ListPlugins added in v1.19.0

func (mr *MockDockerClientMockRecorder) ListPlugins(arg0, arg1 interface{}) *gomock.Call

ListPlugins indicates an expected call of ListPlugins

func (*MockDockerClientMockRecorder) ListPluginsWithFilters added in v1.19.0

func (mr *MockDockerClientMockRecorder) ListPluginsWithFilters(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListPluginsWithFilters indicates an expected call of ListPluginsWithFilters

func (*MockDockerClientMockRecorder) LoadImage

func (mr *MockDockerClientMockRecorder) LoadImage(arg0, arg1, arg2 interface{}) *gomock.Call

LoadImage indicates an expected call of LoadImage

func (*MockDockerClientMockRecorder) PullImage

func (mr *MockDockerClientMockRecorder) PullImage(arg0, arg1 interface{}) *gomock.Call

PullImage indicates an expected call of PullImage

func (*MockDockerClientMockRecorder) RemoveContainer

func (mr *MockDockerClientMockRecorder) RemoveContainer(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveContainer indicates an expected call of RemoveContainer

func (*MockDockerClientMockRecorder) RemoveImage

func (mr *MockDockerClientMockRecorder) RemoveImage(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveImage indicates an expected call of RemoveImage

func (*MockDockerClientMockRecorder) RemoveVolume added in v1.19.0

func (mr *MockDockerClientMockRecorder) RemoveVolume(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveVolume indicates an expected call of RemoveVolume

func (*MockDockerClientMockRecorder) StartContainer

func (mr *MockDockerClientMockRecorder) StartContainer(arg0, arg1, arg2 interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer

func (*MockDockerClientMockRecorder) Stats

func (mr *MockDockerClientMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call

Stats indicates an expected call of Stats

func (*MockDockerClientMockRecorder) StopContainer

func (mr *MockDockerClientMockRecorder) StopContainer(arg0, arg1, arg2 interface{}) *gomock.Call

StopContainer indicates an expected call of StopContainer

func (*MockDockerClientMockRecorder) SupportedVersions

func (mr *MockDockerClientMockRecorder) SupportedVersions() *gomock.Call

SupportedVersions indicates an expected call of SupportedVersions

func (*MockDockerClientMockRecorder) Version

func (mr *MockDockerClientMockRecorder) Version(arg0, arg1 interface{}) *gomock.Call

Version indicates an expected call of Version

func (*MockDockerClientMockRecorder) WithVersion

func (mr *MockDockerClientMockRecorder) WithVersion(arg0 interface{}) *gomock.Call

WithVersion indicates an expected call of WithVersion

Jump to

Keyboard shortcuts

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