mock_dockerapi

package
v1.50.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 12 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) CreateContainerExec added in v1.50.0

func (m *MockDockerClient) CreateContainerExec(arg0 context.Context, arg1 string, arg2 types.ExecConfig, arg3 time.Duration) (*types.IDResponse, error)

CreateContainerExec 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

DescribeContainer mocks base method

func (*MockDockerClient) EXPECT

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

func (*MockDockerClient) Info added in v1.34.0

func (m *MockDockerClient) Info(arg0 context.Context, arg1 time.Duration) (types.Info, error)

Info mocks base method

func (*MockDockerClient) InspectContainer

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

InspectContainer mocks base method

func (*MockDockerClient) InspectContainerExec added in v1.50.0

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

InspectContainerExec 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

ListImages 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) StartContainerExec added in v1.50.0

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

StartContainerExec mocks base method

func (*MockDockerClient) Stats

func (m *MockDockerClient) Stats(arg0 context.Context, arg1 string, arg2 time.Duration) (<-chan *types.StatsJSON, <-chan 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) TopContainer added in v1.50.0

func (m *MockDockerClient) TopContainer(arg0 context.Context, arg1 string, arg2 time.Duration, arg3 ...string) (*container0.ContainerTopOKBody, error)

TopContainer 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) CreateContainerExec added in v1.50.0

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

CreateContainerExec indicates an expected call of CreateContainerExec

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) Info added in v1.34.0

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

Info indicates an expected call of Info

func (*MockDockerClientMockRecorder) InspectContainer

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

InspectContainer indicates an expected call of InspectContainer

func (*MockDockerClientMockRecorder) InspectContainerExec added in v1.50.0

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

InspectContainerExec indicates an expected call of InspectContainerExec

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) StartContainerExec added in v1.50.0

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

StartContainerExec indicates an expected call of StartContainerExec

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) TopContainer added in v1.50.0

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

TopContainer indicates an expected call of TopContainer

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