mock_docker

package
v0.0.0-...-f4175bf Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mock_docker is a generated GoMock package.

Package mock_docker is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDockerApi

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

MockDockerApi is a mock of DockerApi interface.

func NewMockDockerApi

func NewMockDockerApi(ctrl *gomock.Controller) *MockDockerApi

NewMockDockerApi creates a new mock instance.

func (*MockDockerApi) ContainerCreate

ContainerCreate mocks base method.

func (*MockDockerApi) ContainerList

func (m *MockDockerApi) ContainerList(arg0 context.Context, arg1 types.ContainerListOptions) ([]types.Container, error)

ContainerList mocks base method.

func (*MockDockerApi) ContainerRemove

func (m *MockDockerApi) ContainerRemove(arg0 context.Context, arg1 string, arg2 types.ContainerRemoveOptions) error

ContainerRemove mocks base method.

func (*MockDockerApi) ContainerRestart

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

ContainerRestart mocks base method.

func (*MockDockerApi) ContainerStart

func (m *MockDockerApi) ContainerStart(arg0 context.Context, arg1 string, arg2 types.ContainerStartOptions) error

ContainerStart mocks base method.

func (*MockDockerApi) EXPECT

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

func (*MockDockerApi) ImagePull

func (m *MockDockerApi) ImagePull(arg0 context.Context, arg1 string, arg2 types.ImagePullOptions) (io.ReadCloser, error)

ImagePull mocks base method.

type MockDockerApiMockRecorder

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

MockDockerApiMockRecorder is the mock recorder for MockDockerApi.

func (*MockDockerApiMockRecorder) ContainerCreate

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

ContainerCreate indicates an expected call of ContainerCreate.

func (*MockDockerApiMockRecorder) ContainerList

func (mr *MockDockerApiMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call

ContainerList indicates an expected call of ContainerList.

func (*MockDockerApiMockRecorder) ContainerRemove

func (mr *MockDockerApiMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerRemove indicates an expected call of ContainerRemove.

func (*MockDockerApiMockRecorder) ContainerRestart

func (mr *MockDockerApiMockRecorder) ContainerRestart(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerRestart indicates an expected call of ContainerRestart.

func (*MockDockerApiMockRecorder) ContainerStart

func (mr *MockDockerApiMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerStart indicates an expected call of ContainerStart.

func (*MockDockerApiMockRecorder) ImagePull

func (mr *MockDockerApiMockRecorder) ImagePull(arg0, arg1, arg2 interface{}) *gomock.Call

ImagePull indicates an expected call of ImagePull.

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

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

func (*MockDockerClient) GetContainer

func (m *MockDockerClient) GetContainer(arg0 string) (*types.Container, error)

GetContainer mocks base method.

func (*MockDockerClient) StartContainer

func (m *MockDockerClient) StartContainer(arg0 string, arg1 *container.HostConfig, arg2 *container.Config, arg3 string) error

StartContainer mocks base method.

func (*MockDockerClient) StopAndRemoveContainer

func (m *MockDockerClient) StopAndRemoveContainer(arg0 string) error

StopAndRemoveContainer mocks base method.

type MockDockerClientMockRecorder

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

MockDockerClientMockRecorder is the mock recorder for MockDockerClient.

func (*MockDockerClientMockRecorder) GetContainer

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

GetContainer indicates an expected call of GetContainer.

func (*MockDockerClientMockRecorder) StartContainer

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

StartContainer indicates an expected call of StartContainer.

func (*MockDockerClientMockRecorder) StopAndRemoveContainer

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

StopAndRemoveContainer indicates an expected call of StopAndRemoveContainer.

Jump to

Keyboard shortcuts

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