mock_commonspace

package
v0.4.22 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package mock_commonspace is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSpace

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

MockSpace is a mock of Space interface.

func NewMockSpace

func NewMockSpace(ctrl *gomock.Controller) *MockSpace

NewMockSpace creates a new mock instance.

func (*MockSpace) Acl

func (m *MockSpace) Acl() syncacl.SyncAcl

Acl mocks base method.

func (*MockSpace) AclClient added in v0.3.18

func (m *MockSpace) AclClient() aclclient.AclSpaceClient

AclClient mocks base method.

func (*MockSpace) Close

func (m *MockSpace) Close() error

Close mocks base method.

func (*MockSpace) DebugAllHeads

func (m *MockSpace) DebugAllHeads() []headsync.TreeHeads

DebugAllHeads mocks base method.

func (*MockSpace) DeleteTree

func (m *MockSpace) DeleteTree(arg0 context.Context, arg1 string) error

DeleteTree mocks base method.

func (*MockSpace) Description

func (m *MockSpace) Description() (commonspace.SpaceDescription, error)

Description mocks base method.

func (*MockSpace) EXPECT

func (m *MockSpace) EXPECT() *MockSpaceMockRecorder

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

func (*MockSpace) GetNodePeers

func (m *MockSpace) GetNodePeers(arg0 context.Context) ([]peer.Peer, error)

GetNodePeers mocks base method.

func (*MockSpace) HandleMessage

func (m *MockSpace) HandleMessage(arg0 context.Context, arg1 objectsync.HandleMessage) error

HandleMessage mocks base method.

func (*MockSpace) HandleRangeRequest

HandleRangeRequest mocks base method.

func (*MockSpace) HandleSyncRequest

HandleSyncRequest mocks base method.

func (*MockSpace) Id

func (m *MockSpace) Id() string

Id mocks base method.

func (*MockSpace) Init

func (m *MockSpace) Init(arg0 context.Context) error

Init mocks base method.

func (*MockSpace) Storage

func (m *MockSpace) Storage() spacestorage.SpaceStorage

Storage mocks base method.

func (*MockSpace) StoredIds

func (m *MockSpace) StoredIds() []string

StoredIds mocks base method.

func (*MockSpace) SyncStatus

func (m *MockSpace) SyncStatus() syncstatus.StatusUpdater

SyncStatus mocks base method.

func (*MockSpace) TreeBuilder

func (m *MockSpace) TreeBuilder() objecttreebuilder.TreeBuilder

TreeBuilder mocks base method.

func (*MockSpace) TreeSyncer added in v0.3.2

func (m *MockSpace) TreeSyncer() treesyncer.TreeSyncer

TreeSyncer mocks base method.

func (*MockSpace) TryClose

func (m *MockSpace) TryClose(arg0 time.Duration) (bool, error)

TryClose mocks base method.

type MockSpaceMockRecorder

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

MockSpaceMockRecorder is the mock recorder for MockSpace.

func (*MockSpaceMockRecorder) Acl

func (mr *MockSpaceMockRecorder) Acl() *gomock.Call

Acl indicates an expected call of Acl.

func (*MockSpaceMockRecorder) AclClient added in v0.3.18

func (mr *MockSpaceMockRecorder) AclClient() *gomock.Call

AclClient indicates an expected call of AclClient.

func (*MockSpaceMockRecorder) Close

func (mr *MockSpaceMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockSpaceMockRecorder) DebugAllHeads

func (mr *MockSpaceMockRecorder) DebugAllHeads() *gomock.Call

DebugAllHeads indicates an expected call of DebugAllHeads.

func (*MockSpaceMockRecorder) DeleteTree

func (mr *MockSpaceMockRecorder) DeleteTree(arg0, arg1 any) *gomock.Call

DeleteTree indicates an expected call of DeleteTree.

func (*MockSpaceMockRecorder) Description

func (mr *MockSpaceMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockSpaceMockRecorder) GetNodePeers

func (mr *MockSpaceMockRecorder) GetNodePeers(arg0 any) *gomock.Call

GetNodePeers indicates an expected call of GetNodePeers.

func (*MockSpaceMockRecorder) HandleMessage

func (mr *MockSpaceMockRecorder) HandleMessage(arg0, arg1 any) *gomock.Call

HandleMessage indicates an expected call of HandleMessage.

func (*MockSpaceMockRecorder) HandleRangeRequest

func (mr *MockSpaceMockRecorder) HandleRangeRequest(arg0, arg1 any) *gomock.Call

HandleRangeRequest indicates an expected call of HandleRangeRequest.

func (*MockSpaceMockRecorder) HandleSyncRequest

func (mr *MockSpaceMockRecorder) HandleSyncRequest(arg0, arg1 any) *gomock.Call

HandleSyncRequest indicates an expected call of HandleSyncRequest.

func (*MockSpaceMockRecorder) Id

func (mr *MockSpaceMockRecorder) Id() *gomock.Call

Id indicates an expected call of Id.

func (*MockSpaceMockRecorder) Init

func (mr *MockSpaceMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockSpaceMockRecorder) Storage

func (mr *MockSpaceMockRecorder) Storage() *gomock.Call

Storage indicates an expected call of Storage.

func (*MockSpaceMockRecorder) StoredIds

func (mr *MockSpaceMockRecorder) StoredIds() *gomock.Call

StoredIds indicates an expected call of StoredIds.

func (*MockSpaceMockRecorder) SyncStatus

func (mr *MockSpaceMockRecorder) SyncStatus() *gomock.Call

SyncStatus indicates an expected call of SyncStatus.

func (*MockSpaceMockRecorder) TreeBuilder

func (mr *MockSpaceMockRecorder) TreeBuilder() *gomock.Call

TreeBuilder indicates an expected call of TreeBuilder.

func (*MockSpaceMockRecorder) TreeSyncer added in v0.3.2

func (mr *MockSpaceMockRecorder) TreeSyncer() *gomock.Call

TreeSyncer indicates an expected call of TreeSyncer.

func (*MockSpaceMockRecorder) TryClose

func (mr *MockSpaceMockRecorder) TryClose(arg0 any) *gomock.Call

TryClose indicates an expected call of TryClose.

Jump to

Keyboard shortcuts

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