mocks

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainerRunner

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

MockContainerRunner is a mock of ContainerRunner interface.

func NewMockContainerRunner

func NewMockContainerRunner(ctrl *gomock.Controller) *MockContainerRunner

NewMockContainerRunner creates a new mock instance.

func (*MockContainerRunner) Close

func (m *MockContainerRunner) Close() error

Close mocks base method.

func (*MockContainerRunner) ContainerAttach

func (m *MockContainerRunner) ContainerAttach(arg0 context.Context, arg1 string, arg2 container.AttachOptions) (*driver.ContainerInOut, error)

ContainerAttach mocks base method.

func (*MockContainerRunner) ContainerCreate

func (m *MockContainerRunner) ContainerCreate(arg0 context.Context, arg1 types.ContainerCreateOptions) (string, error)

ContainerCreate mocks base method.

func (*MockContainerRunner) ContainerExecResize

func (m *MockContainerRunner) ContainerExecResize(arg0 context.Context, arg1 string, arg2 container.ResizeOptions) error

ContainerExecResize mocks base method.

func (*MockContainerRunner) ContainerKill

func (m *MockContainerRunner) ContainerKill(arg0 context.Context, arg1, arg2 string) error

ContainerKill mocks base method.

func (*MockContainerRunner) ContainerList

ContainerList mocks base method.

func (*MockContainerRunner) ContainerRemove

func (m *MockContainerRunner) ContainerRemove(arg0 context.Context, arg1 string, arg2 container.RemoveOptions) error

ContainerRemove mocks base method.

func (*MockContainerRunner) ContainerResize

func (m *MockContainerRunner) ContainerResize(arg0 context.Context, arg1 string, arg2 container.ResizeOptions) error

ContainerResize mocks base method.

func (*MockContainerRunner) ContainerStart

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

ContainerStart mocks base method.

func (*MockContainerRunner) ContainerStatPath added in v0.3.0

func (m *MockContainerRunner) ContainerStatPath(arg0 context.Context, arg1, arg2 string) (types0.ContainerPathStat, error)

ContainerStatPath mocks base method.

func (*MockContainerRunner) ContainerStop

func (m *MockContainerRunner) ContainerStop(arg0 context.Context, arg1 string) error

ContainerStop mocks base method.

func (*MockContainerRunner) ContainerWait

func (m *MockContainerRunner) ContainerWait(arg0 context.Context, arg1 string, arg2 types.ContainerWaitOptions) (<-chan types.ContainerWaitResponse, <-chan error)

ContainerWait mocks base method.

func (*MockContainerRunner) CopyFromContainer added in v0.4.0

func (m *MockContainerRunner) CopyFromContainer(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, types0.ContainerPathStat, error)

CopyFromContainer mocks base method.

func (*MockContainerRunner) CopyToContainer added in v0.3.0

func (m *MockContainerRunner) CopyToContainer(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 types0.CopyToContainerOptions) error

CopyToContainer mocks base method.

func (*MockContainerRunner) EXPECT

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

func (*MockContainerRunner) ImageEnsure

ImageEnsure mocks base method.

func (*MockContainerRunner) ImageRemove added in v0.5.0

ImageRemove mocks base method.

type MockContainerRunnerMockRecorder

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

MockContainerRunnerMockRecorder is the mock recorder for MockContainerRunner.

func (*MockContainerRunnerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockContainerRunnerMockRecorder) ContainerAttach

func (mr *MockContainerRunnerMockRecorder) ContainerAttach(arg0, arg1, arg2 any) *gomock.Call

ContainerAttach indicates an expected call of ContainerAttach.

func (*MockContainerRunnerMockRecorder) ContainerCreate

func (mr *MockContainerRunnerMockRecorder) ContainerCreate(arg0, arg1 any) *gomock.Call

ContainerCreate indicates an expected call of ContainerCreate.

func (*MockContainerRunnerMockRecorder) ContainerExecResize

func (mr *MockContainerRunnerMockRecorder) ContainerExecResize(arg0, arg1, arg2 any) *gomock.Call

ContainerExecResize indicates an expected call of ContainerExecResize.

func (*MockContainerRunnerMockRecorder) ContainerKill

func (mr *MockContainerRunnerMockRecorder) ContainerKill(arg0, arg1, arg2 any) *gomock.Call

ContainerKill indicates an expected call of ContainerKill.

func (*MockContainerRunnerMockRecorder) ContainerList

func (mr *MockContainerRunnerMockRecorder) ContainerList(arg0, arg1 any) *gomock.Call

ContainerList indicates an expected call of ContainerList.

func (*MockContainerRunnerMockRecorder) ContainerRemove

func (mr *MockContainerRunnerMockRecorder) ContainerRemove(arg0, arg1, arg2 any) *gomock.Call

ContainerRemove indicates an expected call of ContainerRemove.

func (*MockContainerRunnerMockRecorder) ContainerResize

func (mr *MockContainerRunnerMockRecorder) ContainerResize(arg0, arg1, arg2 any) *gomock.Call

ContainerResize indicates an expected call of ContainerResize.

func (*MockContainerRunnerMockRecorder) ContainerStart

func (mr *MockContainerRunnerMockRecorder) ContainerStart(arg0, arg1, arg2 any) *gomock.Call

ContainerStart indicates an expected call of ContainerStart.

func (*MockContainerRunnerMockRecorder) ContainerStatPath added in v0.3.0

func (mr *MockContainerRunnerMockRecorder) ContainerStatPath(arg0, arg1, arg2 any) *gomock.Call

ContainerStatPath indicates an expected call of ContainerStatPath.

func (*MockContainerRunnerMockRecorder) ContainerStop

func (mr *MockContainerRunnerMockRecorder) ContainerStop(arg0, arg1 any) *gomock.Call

ContainerStop indicates an expected call of ContainerStop.

func (*MockContainerRunnerMockRecorder) ContainerWait

func (mr *MockContainerRunnerMockRecorder) ContainerWait(arg0, arg1, arg2 any) *gomock.Call

ContainerWait indicates an expected call of ContainerWait.

func (*MockContainerRunnerMockRecorder) CopyFromContainer added in v0.4.0

func (mr *MockContainerRunnerMockRecorder) CopyFromContainer(arg0, arg1, arg2 any) *gomock.Call

CopyFromContainer indicates an expected call of CopyFromContainer.

func (*MockContainerRunnerMockRecorder) CopyToContainer added in v0.3.0

func (mr *MockContainerRunnerMockRecorder) CopyToContainer(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

CopyToContainer indicates an expected call of CopyToContainer.

func (*MockContainerRunnerMockRecorder) ImageEnsure

func (mr *MockContainerRunnerMockRecorder) ImageEnsure(arg0, arg1 any) *gomock.Call

ImageEnsure indicates an expected call of ImageEnsure.

func (*MockContainerRunnerMockRecorder) ImageRemove added in v0.5.0

func (mr *MockContainerRunnerMockRecorder) ImageRemove(arg0, arg1, arg2 any) *gomock.Call

ImageRemove indicates an expected call of ImageRemove.

Jump to

Keyboard shortcuts

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