acmock

package
v2.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: AGPL-3.0 Imports: 5 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.

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.

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.

Jump to

Keyboard shortcuts

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