mocks

package
v0.25.4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2026 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(ctx context.Context, args ...string) (bytes.Buffer, error)

Execute mocks base method.

func (*MockDockerClient) Login added in v0.12.0

func (m *MockDockerClient) Login(ctx context.Context, endpoint, username, password string) error

Login mocks base method.

func (*MockDockerClient) PullImage added in v0.9.1

func (m *MockDockerClient) PullImage(ctx context.Context, image 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(ctx any, args ...any) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockDockerClientMockRecorder) Login added in v0.12.0

func (mr *MockDockerClientMockRecorder) Login(ctx, endpoint, username, password any) *gomock.Call

Login indicates an expected call of Login.

func (*MockDockerClientMockRecorder) PullImage added in v0.9.1

func (mr *MockDockerClientMockRecorder) PullImage(ctx, image any) *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(ctx 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

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

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

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(ctx context.Context, args ...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(ctx context.Context, args ...string) (bytes.Buffer, error)

Execute mocks base method.

func (*MockExecutable) ExecuteWithEnv

func (m *MockExecutable) ExecuteWithEnv(ctx context.Context, envs map[string]string, args ...string) (bytes.Buffer, error)

ExecuteWithEnv mocks base method.

func (*MockExecutable) ExecuteWithStdin

func (m *MockExecutable) ExecuteWithStdin(ctx context.Context, in []byte, args ...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(ctx any, args ...any) *gomock.Call

Command indicates an expected call of Command.

func (*MockExecutableMockRecorder) Execute

func (mr *MockExecutableMockRecorder) Execute(ctx any, args ...any) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockExecutableMockRecorder) ExecuteWithEnv

func (mr *MockExecutableMockRecorder) ExecuteWithEnv(ctx, envs any, args ...any) *gomock.Call

ExecuteWithEnv indicates an expected call of ExecuteWithEnv.

func (*MockExecutableMockRecorder) ExecuteWithStdin

func (mr *MockExecutableMockRecorder) ExecuteWithStdin(ctx, in any, args ...any) *gomock.Call

ExecuteWithStdin indicates an expected call of ExecuteWithStdin.

func (*MockExecutableMockRecorder) Run added in v0.7.0

func (mr *MockExecutableMockRecorder) Run(cmd any) *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