mock_workspace

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_workspace is a generated GoMock package.

Package mock_workspace is a generated GoMock package.

Index

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

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.

func (*MockIWorkspace) Start

func (m *MockIWorkspace) Start(ctx context.Context, workspace *domain.Workspace) error

Start mocks base method.

func (*MockIWorkspace) Stop

func (m *MockIWorkspace) Stop(ctx context.Context, workspace *domain.Workspace) error

Stop 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

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

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

func (*MockIWorkspaceConnection) Resize

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.

Jump to

Keyboard shortcuts

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