acmock

package
v2.33.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package acmock is a generated GoMock package.

Package acmock contains a mock implementation of agentcontainers.Lister for use in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainerCLI added in v2.24.0

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

MockContainerCLI is a mock of ContainerCLI interface.

func NewMockContainerCLI added in v2.24.0

func NewMockContainerCLI(ctrl *gomock.Controller) *MockContainerCLI

NewMockContainerCLI creates a new mock instance.

func (*MockContainerCLI) Copy added in v2.24.0

func (m *MockContainerCLI) Copy(ctx context.Context, containerName, src, dst string) error

Copy mocks base method.

func (*MockContainerCLI) DetectArchitecture added in v2.24.0

func (m *MockContainerCLI) DetectArchitecture(ctx context.Context, containerName string) (string, error)

DetectArchitecture mocks base method.

func (*MockContainerCLI) EXPECT added in v2.24.0

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

func (*MockContainerCLI) ExecAs added in v2.24.0

func (m *MockContainerCLI) ExecAs(ctx context.Context, containerName, user string, args ...string) ([]byte, error)

ExecAs mocks base method.

func (*MockContainerCLI) List added in v2.24.0

List mocks base method.

func (*MockContainerCLI) Remove added in v2.30.0

func (m *MockContainerCLI) Remove(ctx context.Context, containerName string) error

Remove mocks base method.

func (*MockContainerCLI) Stop added in v2.30.0

func (m *MockContainerCLI) Stop(ctx context.Context, containerName string) error

Stop mocks base method.

type MockContainerCLIMockRecorder added in v2.24.0

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

MockContainerCLIMockRecorder is the mock recorder for MockContainerCLI.

func (*MockContainerCLIMockRecorder) Copy added in v2.24.0

func (mr *MockContainerCLIMockRecorder) Copy(ctx, containerName, src, dst any) *gomock.Call

Copy indicates an expected call of Copy.

func (*MockContainerCLIMockRecorder) DetectArchitecture added in v2.24.0

func (mr *MockContainerCLIMockRecorder) DetectArchitecture(ctx, containerName any) *gomock.Call

DetectArchitecture indicates an expected call of DetectArchitecture.

func (*MockContainerCLIMockRecorder) ExecAs added in v2.24.0

func (mr *MockContainerCLIMockRecorder) ExecAs(ctx, containerName, user any, args ...any) *gomock.Call

ExecAs indicates an expected call of ExecAs.

func (*MockContainerCLIMockRecorder) List added in v2.24.0

List indicates an expected call of List.

func (*MockContainerCLIMockRecorder) Remove added in v2.30.0

func (mr *MockContainerCLIMockRecorder) Remove(ctx, containerName any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockContainerCLIMockRecorder) Stop added in v2.30.0

func (mr *MockContainerCLIMockRecorder) Stop(ctx, containerName any) *gomock.Call

Stop indicates an expected call of Stop.

type MockDevcontainerCLI added in v2.23.0

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

MockDevcontainerCLI is a mock of DevcontainerCLI interface.

func NewMockDevcontainerCLI added in v2.23.0

func NewMockDevcontainerCLI(ctrl *gomock.Controller) *MockDevcontainerCLI

NewMockDevcontainerCLI creates a new mock instance.

func (*MockDevcontainerCLI) EXPECT added in v2.23.0

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

func (*MockDevcontainerCLI) Exec added in v2.24.0

func (m *MockDevcontainerCLI) Exec(ctx context.Context, workspaceFolder, configPath, cmd string, cmdArgs []string, opts ...agentcontainers.DevcontainerCLIExecOptions) error

Exec mocks base method.

func (*MockDevcontainerCLI) ReadConfig added in v2.24.0

ReadConfig mocks base method.

func (*MockDevcontainerCLI) Up added in v2.23.0

func (m *MockDevcontainerCLI) Up(ctx context.Context, workspaceFolder, configPath string, opts ...agentcontainers.DevcontainerCLIUpOptions) (string, error)

Up mocks base method.

type MockDevcontainerCLIMockRecorder added in v2.23.0

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

MockDevcontainerCLIMockRecorder is the mock recorder for MockDevcontainerCLI.

func (*MockDevcontainerCLIMockRecorder) Exec added in v2.24.0

func (mr *MockDevcontainerCLIMockRecorder) Exec(ctx, workspaceFolder, configPath, cmd, cmdArgs any, opts ...any) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockDevcontainerCLIMockRecorder) ReadConfig added in v2.24.0

func (mr *MockDevcontainerCLIMockRecorder) ReadConfig(ctx, workspaceFolder, configPath, env any, opts ...any) *gomock.Call

ReadConfig indicates an expected call of ReadConfig.

func (*MockDevcontainerCLIMockRecorder) Up added in v2.23.0

func (mr *MockDevcontainerCLIMockRecorder) Up(ctx, workspaceFolder, configPath any, opts ...any) *gomock.Call

Up indicates an expected call of Up.

type MockSubAgentClient added in v2.31.1

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

MockSubAgentClient is a mock of SubAgentClient interface.

func NewMockSubAgentClient added in v2.31.1

func NewMockSubAgentClient(ctrl *gomock.Controller) *MockSubAgentClient

NewMockSubAgentClient creates a new mock instance.

func (*MockSubAgentClient) Create added in v2.31.1

Create mocks base method.

func (*MockSubAgentClient) Delete added in v2.31.1

func (m *MockSubAgentClient) Delete(ctx context.Context, id uuid.UUID) error

Delete mocks base method.

func (*MockSubAgentClient) EXPECT added in v2.31.1

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

func (*MockSubAgentClient) List added in v2.31.1

List mocks base method.

type MockSubAgentClientMockRecorder added in v2.31.1

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

MockSubAgentClientMockRecorder is the mock recorder for MockSubAgentClient.

func (*MockSubAgentClientMockRecorder) Create added in v2.31.1

func (mr *MockSubAgentClientMockRecorder) Create(ctx, agent any) *gomock.Call

Create indicates an expected call of Create.

func (*MockSubAgentClientMockRecorder) Delete added in v2.31.1

func (mr *MockSubAgentClientMockRecorder) Delete(ctx, id any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSubAgentClientMockRecorder) List added in v2.31.1

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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