Documentation ¶
Overview ¶
Package mock_workspace is a generated GoMock package.
Package mock_workspace is a generated GoMock package.
Index ¶
- type MockIWorkspace
- func (m *MockIWorkspace) Create(ctx context.Context, userName values.UserName) (*domain.Workspace, error)
- func (m *MockIWorkspace) EXPECT() *MockIWorkspaceMockRecorder
- func (m *MockIWorkspace) Recreate(ctx context.Context, workspace *domain.Workspace) (*domain.Workspace, error)
- func (m *MockIWorkspace) Start(ctx context.Context, workspace *domain.Workspace) error
- func (m *MockIWorkspace) Stop(ctx context.Context, workspace *domain.Workspace) error
- type MockIWorkspaceConnection
- func (m *MockIWorkspaceConnection) Connect(ctx context.Context, workspace *domain.Workspace) (*domain.WorkspaceConnection, error)
- func (m *MockIWorkspaceConnection) Disconnect(ctx context.Context, connection *domain.WorkspaceConnection) error
- func (m *MockIWorkspaceConnection) EXPECT() *MockIWorkspaceConnectionMockRecorder
- func (m *MockIWorkspaceConnection) Resize(ctx context.Context, connection *domain.WorkspaceConnection, ...) error
- type MockIWorkspaceConnectionMockRecorder
- func (mr *MockIWorkspaceConnectionMockRecorder) Connect(ctx, workspace interface{}) *gomock.Call
- func (mr *MockIWorkspaceConnectionMockRecorder) Disconnect(ctx, connection interface{}) *gomock.Call
- func (mr *MockIWorkspaceConnectionMockRecorder) Resize(ctx, connection, window interface{}) *gomock.Call
- type MockIWorkspaceMockRecorder
- func (mr *MockIWorkspaceMockRecorder) Create(ctx, userName interface{}) *gomock.Call
- func (mr *MockIWorkspaceMockRecorder) Recreate(ctx, workspace interface{}) *gomock.Call
- func (mr *MockIWorkspaceMockRecorder) Start(ctx, workspace interface{}) *gomock.Call
- func (mr *MockIWorkspaceMockRecorder) Stop(ctx, workspace interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIWorkspace ¶
type MockIWorkspace struct {
// contains filtered or unexported fields
}
MockIWorkspace is a mock of IWorkspace interface.
func NewMockIWorkspace ¶
func NewMockIWorkspace(ctrl *gomock.Controller) *MockIWorkspace
NewMockIWorkspace creates a new mock instance.
func (*MockIWorkspace) Create ¶
func (m *MockIWorkspace) Create(ctx context.Context, userName values.UserName) (*domain.Workspace, error)
Create mocks base method.
func (*MockIWorkspace) EXPECT ¶
func (m *MockIWorkspace) EXPECT() *MockIWorkspaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIWorkspace) Recreate ¶
func (m *MockIWorkspace) Recreate(ctx context.Context, workspace *domain.Workspace) (*domain.Workspace, error)
Recreate mocks base method.
type MockIWorkspaceConnection ¶
type MockIWorkspaceConnection struct {
// contains filtered or unexported fields
}
MockIWorkspaceConnection is a mock of IWorkspaceConnection interface.
func NewMockIWorkspaceConnection ¶
func NewMockIWorkspaceConnection(ctrl *gomock.Controller) *MockIWorkspaceConnection
NewMockIWorkspaceConnection creates a new mock instance.
func (*MockIWorkspaceConnection) Connect ¶
func (m *MockIWorkspaceConnection) Connect(ctx context.Context, workspace *domain.Workspace) (*domain.WorkspaceConnection, error)
Connect mocks base method.
func (*MockIWorkspaceConnection) Disconnect ¶
func (m *MockIWorkspaceConnection) Disconnect(ctx context.Context, connection *domain.WorkspaceConnection) error
Disconnect mocks base method.
func (*MockIWorkspaceConnection) EXPECT ¶
func (m *MockIWorkspaceConnection) EXPECT() *MockIWorkspaceConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIWorkspaceConnection) Resize ¶
func (m *MockIWorkspaceConnection) Resize(ctx context.Context, connection *domain.WorkspaceConnection, window *values.Window) error
Resize mocks base method.
type MockIWorkspaceConnectionMockRecorder ¶
type MockIWorkspaceConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockIWorkspaceConnectionMockRecorder is the mock recorder for MockIWorkspaceConnection.
func (*MockIWorkspaceConnectionMockRecorder) Connect ¶
func (mr *MockIWorkspaceConnectionMockRecorder) Connect(ctx, workspace interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockIWorkspaceConnectionMockRecorder) Disconnect ¶
func (mr *MockIWorkspaceConnectionMockRecorder) Disconnect(ctx, connection interface{}) *gomock.Call
Disconnect indicates an expected call of Disconnect.
func (*MockIWorkspaceConnectionMockRecorder) Resize ¶
func (mr *MockIWorkspaceConnectionMockRecorder) Resize(ctx, connection, window interface{}) *gomock.Call
Resize indicates an expected call of Resize.
type MockIWorkspaceMockRecorder ¶
type MockIWorkspaceMockRecorder struct {
// contains filtered or unexported fields
}
MockIWorkspaceMockRecorder is the mock recorder for MockIWorkspace.
func (*MockIWorkspaceMockRecorder) Create ¶
func (mr *MockIWorkspaceMockRecorder) Create(ctx, userName interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockIWorkspaceMockRecorder) Recreate ¶
func (mr *MockIWorkspaceMockRecorder) Recreate(ctx, workspace interface{}) *gomock.Call
Recreate indicates an expected call of Recreate.
func (*MockIWorkspaceMockRecorder) Start ¶
func (mr *MockIWorkspaceMockRecorder) Start(ctx, workspace interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockIWorkspaceMockRecorder) Stop ¶
func (mr *MockIWorkspaceMockRecorder) Stop(ctx, workspace interface{}) *gomock.Call
Stop indicates an expected call of Stop.