acmock
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
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¶
typeMockDevcontainerCLI¶added inv2.23.0
type MockDevcontainerCLI struct {// contains filtered or unexported fields}
MockDevcontainerCLI is a mock of DevcontainerCLI interface.
funcNewMockDevcontainerCLI¶added inv2.23.0
func NewMockDevcontainerCLI(ctrl *gomock.Controller) *MockDevcontainerCLI
NewMockDevcontainerCLI creates a new mock instance.
func (*MockDevcontainerCLI)EXPECT¶added inv2.23.0
func (m *MockDevcontainerCLI) EXPECT() *MockDevcontainerCLIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDevcontainerCLI)Up¶added inv2.23.0
func (m *MockDevcontainerCLI) Up(ctxcontext.Context, workspaceFolder, configPathstring, opts ...agentcontainers.DevcontainerCLIUpOptions) (string,error)
Up mocks base method.
typeMockDevcontainerCLIMockRecorder¶added inv2.23.0
type MockDevcontainerCLIMockRecorder struct {// contains filtered or unexported fields}
MockDevcontainerCLIMockRecorder is the mock recorder for MockDevcontainerCLI.
typeMockLister¶
type MockLister struct {// contains filtered or unexported fields}
MockLister is a mock of Lister interface.
funcNewMockLister¶
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(ctxcontext.Context) (codersdk.WorkspaceAgentListContainersResponse,error)
List mocks base method.
typeMockListerMockRecorder¶
type MockListerMockRecorder struct {// contains filtered or unexported fields}
MockListerMockRecorder is the mock recorder for MockLister.