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 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
func (m *MockDevcontainerCLI) EXPECT() *MockDevcontainerCLIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
type MockLister ¶
type MockLister struct {
// contains filtered or unexported fields
}
MockLister is a mock of Lister interface.
func NewMockLister ¶
func NewMockLister(ctrl *gomock.Controller) *MockLister
NewMockLister creates a new mock instance.
func (*MockLister) EXPECT ¶
func (m *MockLister) EXPECT() *MockListerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLister) List ¶
func (m *MockLister) List(ctx context.Context) (codersdk.WorkspaceAgentListContainersResponse, error)
List mocks base method.
type MockListerMockRecorder ¶
type MockListerMockRecorder struct {
// contains filtered or unexported fields
}
MockListerMockRecorder is the mock recorder for MockLister.