Movatterモバイル変換


[0]ホーム

URL:


acmock

package
v2.24.2Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License:AGPL-3.0Imports:5Imported by:0

Details

Repository

github.com/coder/coder

Links

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

typeMockContainerCLIadded inv2.24.0

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

MockContainerCLI is a mock of ContainerCLI interface.

funcNewMockContainerCLIadded inv2.24.0

func NewMockContainerCLI(ctrl *gomock.Controller) *MockContainerCLI

NewMockContainerCLI creates a new mock instance.

func (*MockContainerCLI)Copyadded inv2.24.0

func (m *MockContainerCLI) Copy(ctxcontext.Context, containerName, src, dststring)error

Copy mocks base method.

func (*MockContainerCLI)DetectArchitectureadded inv2.24.0

func (m *MockContainerCLI) DetectArchitecture(ctxcontext.Context, containerNamestring) (string,error)

DetectArchitecture mocks base method.

func (*MockContainerCLI)EXPECTadded inv2.24.0

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

func (*MockContainerCLI)ExecAsadded inv2.24.0

func (m *MockContainerCLI) ExecAs(ctxcontext.Context, containerName, userstring, args ...string) ([]byte,error)

ExecAs mocks base method.

func (*MockContainerCLI)Listadded inv2.24.0

List mocks base method.

typeMockContainerCLIMockRecorderadded inv2.24.0

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

MockContainerCLIMockRecorder is the mock recorder for MockContainerCLI.

func (*MockContainerCLIMockRecorder)Copyadded inv2.24.0

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

Copy indicates an expected call of Copy.

func (*MockContainerCLIMockRecorder)DetectArchitectureadded inv2.24.0

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

DetectArchitecture indicates an expected call of DetectArchitecture.

func (*MockContainerCLIMockRecorder)ExecAsadded inv2.24.0

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

ExecAs indicates an expected call of ExecAs.

func (*MockContainerCLIMockRecorder)Listadded inv2.24.0

List indicates an expected call of List.

typeMockDevcontainerCLIadded inv2.23.0

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

MockDevcontainerCLI is a mock of DevcontainerCLI interface.

funcNewMockDevcontainerCLIadded inv2.23.0

func NewMockDevcontainerCLI(ctrl *gomock.Controller) *MockDevcontainerCLI

NewMockDevcontainerCLI creates a new mock instance.

func (*MockDevcontainerCLI)EXPECTadded inv2.23.0

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

func (*MockDevcontainerCLI)Execadded inv2.24.0

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

Exec mocks base method.

func (*MockDevcontainerCLI)ReadConfigadded inv2.24.0

ReadConfig mocks base method.

func (*MockDevcontainerCLI)Upadded inv2.23.0

func (m *MockDevcontainerCLI) Up(ctxcontext.Context, workspaceFolder, configPathstring, opts ...agentcontainers.DevcontainerCLIUpOptions) (string,error)

Up mocks base method.

typeMockDevcontainerCLIMockRecorderadded inv2.23.0

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

MockDevcontainerCLIMockRecorder is the mock recorder for MockDevcontainerCLI.

func (*MockDevcontainerCLIMockRecorder)Execadded inv2.24.0

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

Exec indicates an expected call of Exec.

func (*MockDevcontainerCLIMockRecorder)ReadConfigadded inv2.24.0

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

ReadConfig indicates an expected call of ReadConfig.

func (*MockDevcontainerCLIMockRecorder)Upadded inv2.23.0

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

Up indicates an expected call of Up.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp