mock_dockerapi

package
v0.0.0-...-e75c356 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 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

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

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

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

func (m *MockDockerClient) Info(arg0 context.Context, arg1 time.Duration) (system.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

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

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

ListImages mocks base method.

func (*MockDockerClient) ListPlugins

ListPlugins mocks base method.

func (*MockDockerClient) ListPluginsWithFilters

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) PullImageManifest

PullImageManifest 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

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

func (m *MockDockerClient) StartContainerExec(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck, arg3 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) SystemPing

SystemPing mocks base method.

func (*MockDockerClient) TagImage

func (m *MockDockerClient) TagImage(arg0 context.Context, arg1, arg2 string) error

TagImage 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

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

CreateContainerExec indicates an expected call of CreateContainerExec.

func (*MockDockerClientMockRecorder) CreateVolume

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

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

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

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

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

ListImages indicates an expected call of ListImages.

func (*MockDockerClientMockRecorder) ListPlugins

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

ListPlugins indicates an expected call of ListPlugins.

func (*MockDockerClientMockRecorder) ListPluginsWithFilters

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) PullImageManifest

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

PullImageManifest indicates an expected call of PullImageManifest.

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

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

func (mr *MockDockerClientMockRecorder) StartContainerExec(arg0, arg1, arg2, arg3 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) SystemPing

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

SystemPing indicates an expected call of SystemPing.

func (*MockDockerClientMockRecorder) TagImage

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

TagImage indicates an expected call of TagImage.

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