mock_store

package
v0.5.20 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_store 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) EXPECT

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

func (*MockIWorkspace) Get

func (m *MockIWorkspace) Get(ctx context.Context, userName values.UserName) (*domain.Workspace, error)

Get mocks base method.

func (*MockIWorkspace) Set

func (m *MockIWorkspace) Set(ctx context.Context, userName values.UserName, workspace *domain.Workspace) error

Set mocks base method.

type MockIWorkspaceMockRecorder

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

MockIWorkspaceMockRecorder is the mock recorder for MockIWorkspace.

func (*MockIWorkspaceMockRecorder) Get

func (mr *MockIWorkspaceMockRecorder) Get(ctx, userName interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIWorkspaceMockRecorder) Set

func (mr *MockIWorkspaceMockRecorder) Set(ctx, userName, workspace interface{}) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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