mocks

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 5 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 MockDockerClient added in v0.9.1

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

MockDockerClient is a mock of DockerClient interface.

func NewMockDockerClient added in v0.9.1

func NewMockDockerClient(ctrl *gomock.Controller) *MockDockerClient

NewMockDockerClient creates a new mock instance.

func (*MockDockerClient) EXPECT added in v0.9.1

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

func (*MockDockerClient) Execute added in v0.9.1

func (m *MockDockerClient) Execute(arg0 context.Context, arg1 ...string) (bytes.Buffer, error)

Execute mocks base method.

func (*MockDockerClient) Login added in v0.12.0

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

Login mocks base method.

func (*MockDockerClient) PullImage added in v0.9.1

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

PullImage mocks base method.

type MockDockerClientMockRecorder added in v0.9.1

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

MockDockerClientMockRecorder is the mock recorder for MockDockerClient.

func (*MockDockerClientMockRecorder) Execute added in v0.9.1

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

Execute indicates an expected call of Execute.

func (*MockDockerClientMockRecorder) Login added in v0.12.0

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

Login indicates an expected call of Login.

func (*MockDockerClientMockRecorder) PullImage added in v0.9.1

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

PullImage indicates an expected call of PullImage.

type MockDockerContainer added in v0.11.0

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

MockDockerContainer is a mock of DockerContainer interface.

func NewMockDockerContainer added in v0.11.0

func NewMockDockerContainer(ctrl *gomock.Controller) *MockDockerContainer

NewMockDockerContainer creates a new mock instance.

func (*MockDockerContainer) Close added in v0.11.0

func (m *MockDockerContainer) Close(arg0 context.Context) error

Close mocks base method.

func (*MockDockerContainer) ContainerName added in v0.11.0

func (m *MockDockerContainer) ContainerName() string

ContainerName mocks base method.

func (*MockDockerContainer) EXPECT added in v0.11.0

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

func (*MockDockerContainer) Init added in v0.11.0

func (m *MockDockerContainer) Init(arg0 context.Context) error

Init mocks base method.

type MockDockerContainerMockRecorder added in v0.11.0

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

MockDockerContainerMockRecorder is the mock recorder for MockDockerContainer.

func (*MockDockerContainerMockRecorder) Close added in v0.11.0

func (mr *MockDockerContainerMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockDockerContainerMockRecorder) ContainerName added in v0.11.0

func (mr *MockDockerContainerMockRecorder) ContainerName() *gomock.Call

ContainerName indicates an expected call of ContainerName.

func (*MockDockerContainerMockRecorder) Init added in v0.11.0

func (mr *MockDockerContainerMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

type MockExecutable

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

MockExecutable is a mock of Executable interface.

func NewMockExecutable

func NewMockExecutable(ctrl *gomock.Controller) *MockExecutable

NewMockExecutable creates a new mock instance.

func (*MockExecutable) Command added in v0.7.0

func (m *MockExecutable) Command(arg0 context.Context, arg1 ...string) *executables.Command

Command mocks base method.

func (*MockExecutable) EXPECT

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

func (*MockExecutable) Execute

func (m *MockExecutable) Execute(arg0 context.Context, arg1 ...string) (bytes.Buffer, error)

Execute mocks base method.

func (*MockExecutable) ExecuteWithEnv

func (m *MockExecutable) ExecuteWithEnv(arg0 context.Context, arg1 map[string]string, arg2 ...string) (bytes.Buffer, error)

ExecuteWithEnv mocks base method.

func (*MockExecutable) ExecuteWithStdin

func (m *MockExecutable) ExecuteWithStdin(arg0 context.Context, arg1 []byte, arg2 ...string) (bytes.Buffer, error)

ExecuteWithStdin mocks base method.

func (*MockExecutable) Run added in v0.7.0

Run mocks base method.

type MockExecutableMockRecorder

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

MockExecutableMockRecorder is the mock recorder for MockExecutable.

func (*MockExecutableMockRecorder) Command added in v0.7.0

func (mr *MockExecutableMockRecorder) Command(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Command indicates an expected call of Command.

func (*MockExecutableMockRecorder) Execute

func (mr *MockExecutableMockRecorder) Execute(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockExecutableMockRecorder) ExecuteWithEnv

func (mr *MockExecutableMockRecorder) ExecuteWithEnv(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ExecuteWithEnv indicates an expected call of ExecuteWithEnv.

func (*MockExecutableMockRecorder) ExecuteWithStdin

func (mr *MockExecutableMockRecorder) ExecuteWithStdin(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ExecuteWithStdin indicates an expected call of ExecuteWithStdin.

func (*MockExecutableMockRecorder) Run added in v0.7.0

func (mr *MockExecutableMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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