mock_commonspace

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 16 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(ctx context.Context, id 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(ctx context.Context) ([]peer.Peer, error)

GetNodePeers mocks base method.

func (*MockSpace) HandleDeprecatedObjectSyncRequest added in v0.5.0

func (m *MockSpace) HandleDeprecatedObjectSyncRequest(ctx context.Context, req *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error)

HandleDeprecatedObjectSyncRequest mocks base method.

func (*MockSpace) HandleMessage

func (m *MockSpace) HandleMessage(ctx context.Context, msg *objectmessages.HeadUpdate) error

HandleMessage mocks base method.

func (*MockSpace) HandleRangeRequest

HandleRangeRequest mocks base method.

func (*MockSpace) HandleStreamSyncRequest added in v0.5.0

func (m *MockSpace) HandleStreamSyncRequest(ctx context.Context, req *spacesyncproto.ObjectSyncMessage, stream drpc.Stream) error

HandleStreamSyncRequest mocks base method.

func (*MockSpace) Id

func (m *MockSpace) Id() string

Id mocks base method.

func (*MockSpace) Init

func (m *MockSpace) Init(ctx 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(objectTTL 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(ctx, id 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(ctx any) *gomock.Call

GetNodePeers indicates an expected call of GetNodePeers.

func (*MockSpaceMockRecorder) HandleDeprecatedObjectSyncRequest added in v0.5.0

func (mr *MockSpaceMockRecorder) HandleDeprecatedObjectSyncRequest(ctx, req any) *gomock.Call

HandleDeprecatedObjectSyncRequest indicates an expected call of HandleDeprecatedObjectSyncRequest.

func (*MockSpaceMockRecorder) HandleMessage

func (mr *MockSpaceMockRecorder) HandleMessage(ctx, msg any) *gomock.Call

HandleMessage indicates an expected call of HandleMessage.

func (*MockSpaceMockRecorder) HandleRangeRequest

func (mr *MockSpaceMockRecorder) HandleRangeRequest(ctx, req any) *gomock.Call

HandleRangeRequest indicates an expected call of HandleRangeRequest.

func (*MockSpaceMockRecorder) HandleStreamSyncRequest added in v0.5.0

func (mr *MockSpaceMockRecorder) HandleStreamSyncRequest(ctx, req, stream any) *gomock.Call

HandleStreamSyncRequest indicates an expected call of HandleStreamSyncRequest.

func (*MockSpaceMockRecorder) Id

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

Id indicates an expected call of Id.

func (*MockSpaceMockRecorder) Init

func (mr *MockSpaceMockRecorder) Init(ctx 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(objectTTL 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