Documentation ¶
Overview ¶
Package mock_dockerapi is a generated GoMock package.
Index ¶
- type MockDockerClient
- func (m *MockDockerClient) APIVersion() (dockerclient.DockerVersion, error)
- func (m *MockDockerClient) ContainerEvents(arg0 context.Context) (<-chan dockerapi.DockerContainerChangeEvent, error)
- func (m *MockDockerClient) CreateContainer(arg0 context.Context, arg1 *container0.Config, arg2 *container0.HostConfig, ...) dockerapi.DockerContainerMetadata
- func (m *MockDockerClient) CreateVolume(arg0 context.Context, arg1, arg2 string, arg3, arg4 map[string]string, ...) dockerapi.SDKVolumeResponse
- func (m *MockDockerClient) DescribeContainer(arg0 context.Context, arg1 string) (status.ContainerStatus, dockerapi.DockerContainerMetadata)
- func (m *MockDockerClient) EXPECT() *MockDockerClientMockRecorder
- func (m *MockDockerClient) InspectContainer(arg0 context.Context, arg1 string, arg2 time.Duration) (*types.ContainerJSON, error)
- func (m *MockDockerClient) InspectImage(arg0 string) (*types.ImageInspect, error)
- func (m *MockDockerClient) InspectVolume(arg0 context.Context, arg1 string, arg2 time.Duration) dockerapi.SDKVolumeResponse
- func (m *MockDockerClient) KnownVersions() []dockerclient.DockerVersion
- func (m *MockDockerClient) ListContainers(arg0 context.Context, arg1 bool, arg2 time.Duration) dockerapi.ListContainersResponse
- func (m *MockDockerClient) ListImages(arg0 context.Context, arg1 time.Duration) dockerapi.ListImagesResponse
- func (m *MockDockerClient) ListPlugins(arg0 context.Context, arg1 time.Duration, arg2 filters.Args) dockerapi.ListPluginsResponse
- func (m *MockDockerClient) ListPluginsWithFilters(arg0 context.Context, arg1 bool, arg2 []string, arg3 time.Duration) ([]string, error)
- func (m *MockDockerClient) LoadImage(arg0 context.Context, arg1 io.Reader, arg2 time.Duration) error
- func (m *MockDockerClient) PullImage(arg0 context.Context, arg1 string, arg2 *container.RegistryAuthenticationData, ...) dockerapi.DockerContainerMetadata
- func (m *MockDockerClient) RemoveContainer(arg0 context.Context, arg1 string, arg2 time.Duration) error
- func (m *MockDockerClient) RemoveImage(arg0 context.Context, arg1 string, arg2 time.Duration) error
- func (m *MockDockerClient) RemoveVolume(arg0 context.Context, arg1 string, arg2 time.Duration) error
- func (m *MockDockerClient) StartContainer(arg0 context.Context, arg1 string, arg2 time.Duration) dockerapi.DockerContainerMetadata
- func (m *MockDockerClient) Stats(arg0 context.Context, arg1 string, arg2 time.Duration) (<-chan *types.Stats, error)
- func (m *MockDockerClient) StopContainer(arg0 context.Context, arg1 string, arg2 time.Duration) dockerapi.DockerContainerMetadata
- func (m *MockDockerClient) SupportedVersions() []dockerclient.DockerVersion
- func (m *MockDockerClient) Version(arg0 context.Context, arg1 time.Duration) (string, error)
- func (m *MockDockerClient) WithVersion(arg0 dockerclient.DockerVersion) dockerapi.DockerClient
- type MockDockerClientMockRecorder
- func (mr *MockDockerClientMockRecorder) APIVersion() *gomock.Call
- func (mr *MockDockerClientMockRecorder) ContainerEvents(arg0 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) CreateContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) CreateVolume(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) DescribeContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) InspectContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) InspectImage(arg0 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) InspectVolume(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) KnownVersions() *gomock.Call
- func (mr *MockDockerClientMockRecorder) ListContainers(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) ListPlugins(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) ListPluginsWithFilters(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) LoadImage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) PullImage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) RemoveContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) RemoveImage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) RemoveVolume(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) StartContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) Stats(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) StopContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) SupportedVersions() *gomock.Call
- func (mr *MockDockerClientMockRecorder) Version(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDockerClientMockRecorder) WithVersion(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockDockerClient) CreateContainer(arg0 context.Context, arg1 *container0.Config, arg2 *container0.HostConfig, arg3 string, arg4 time.Duration) dockerapi.DockerContainerMetadata
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.SDKVolumeResponse
CreateVolume mocks base method
func (*MockDockerClient) DescribeContainer ¶
func (m *MockDockerClient) DescribeContainer(arg0 context.Context, arg1 string) (status.ContainerStatus, dockerapi.DockerContainerMetadata)
DescribeContainer mocks base method
func (*MockDockerClient) EXPECT ¶
func (m *MockDockerClient) EXPECT() *MockDockerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDockerClient) InspectContainer ¶
func (m *MockDockerClient) InspectContainer(arg0 context.Context, arg1 string, arg2 time.Duration) (*types.ContainerJSON, error)
InspectContainer mocks base method
func (*MockDockerClient) InspectImage ¶
func (m *MockDockerClient) InspectImage(arg0 string) (*types.ImageInspect, 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.SDKVolumeResponse
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) ListImages ¶ added in v1.24.0
func (m *MockDockerClient) ListImages(arg0 context.Context, arg1 time.Duration) dockerapi.ListImagesResponse
ListImages mocks base method
func (*MockDockerClient) ListPlugins ¶ added in v1.19.0
func (m *MockDockerClient) ListPlugins(arg0 context.Context, arg1 time.Duration, arg2 filters.Args) dockerapi.ListPluginsResponse
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 ¶
func (m *MockDockerClient) PullImage(arg0 context.Context, arg1 string, arg2 *container.RegistryAuthenticationData, arg3 time.Duration) dockerapi.DockerContainerMetadata
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 ¶
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 ¶
func (m *MockDockerClient) StartContainer(arg0 context.Context, arg1 string, arg2 time.Duration) dockerapi.DockerContainerMetadata
StartContainer mocks base method
func (*MockDockerClient) Stats ¶
func (m *MockDockerClient) Stats(arg0 context.Context, arg1 string, arg2 time.Duration) (<-chan *types.Stats, error)
Stats mocks base method
func (*MockDockerClient) StopContainer ¶
func (m *MockDockerClient) StopContainer(arg0 context.Context, arg1 string, arg2 time.Duration) dockerapi.DockerContainerMetadata
StopContainer mocks base method
func (*MockDockerClient) SupportedVersions ¶
func (m *MockDockerClient) SupportedVersions() []dockerclient.DockerVersion
SupportedVersions mocks base method
func (*MockDockerClient) WithVersion ¶
func (m *MockDockerClient) WithVersion(arg0 dockerclient.DockerVersion) dockerapi.DockerClient
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) 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) ListImages ¶ added in v1.24.0
func (mr *MockDockerClientMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
ListImages indicates an expected call of ListImages
func (*MockDockerClientMockRecorder) ListPlugins ¶ added in v1.19.0
func (mr *MockDockerClientMockRecorder) ListPlugins(arg0, arg1, arg2 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, arg2, arg3 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, arg2 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