mock_kvinterfaces

package
v0.11.21 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mock_kvinterfaces is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKeyValueService

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

MockKeyValueService is a mock of KeyValueService interface.

func NewMockKeyValueService

func NewMockKeyValueService(ctrl *gomock.Controller) *MockKeyValueService

NewMockKeyValueService creates a new mock instance.

func (*MockKeyValueService) Close

func (m *MockKeyValueService) Close(ctx context.Context) error

Close mocks base method.

func (*MockKeyValueService) DefaultStore

func (m *MockKeyValueService) DefaultStore() keyvaluestorage.Storage

DefaultStore mocks base method.

func (*MockKeyValueService) EXPECT

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

func (*MockKeyValueService) HandleMessage

func (m *MockKeyValueService) HandleMessage(ctx context.Context, msg drpc.Message) error

HandleMessage mocks base method.

func (*MockKeyValueService) HandleStoreDiffRequest

HandleStoreDiffRequest mocks base method.

func (*MockKeyValueService) HandleStoreElementsRequest

func (m *MockKeyValueService) HandleStoreElementsRequest(ctx context.Context, stream spacesyncproto.DRPCSpaceSync_StoreElementsStream) error

HandleStoreElementsRequest mocks base method.

func (*MockKeyValueService) Init

func (m *MockKeyValueService) Init(a *app.App) error

Init mocks base method.

func (*MockKeyValueService) Name

func (m *MockKeyValueService) Name() string

Name mocks base method.

func (*MockKeyValueService) Run

Run mocks base method.

func (*MockKeyValueService) SyncWithPeer

func (m *MockKeyValueService) SyncWithPeer(p peer.Peer) error

SyncWithPeer mocks base method.

type MockKeyValueServiceMockRecorder

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

MockKeyValueServiceMockRecorder is the mock recorder for MockKeyValueService.

func (*MockKeyValueServiceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockKeyValueServiceMockRecorder) DefaultStore

func (mr *MockKeyValueServiceMockRecorder) DefaultStore() *gomock.Call

DefaultStore indicates an expected call of DefaultStore.

func (*MockKeyValueServiceMockRecorder) HandleMessage

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

HandleMessage indicates an expected call of HandleMessage.

func (*MockKeyValueServiceMockRecorder) HandleStoreDiffRequest

func (mr *MockKeyValueServiceMockRecorder) HandleStoreDiffRequest(ctx, req any) *gomock.Call

HandleStoreDiffRequest indicates an expected call of HandleStoreDiffRequest.

func (*MockKeyValueServiceMockRecorder) HandleStoreElementsRequest

func (mr *MockKeyValueServiceMockRecorder) HandleStoreElementsRequest(ctx, stream any) *gomock.Call

HandleStoreElementsRequest indicates an expected call of HandleStoreElementsRequest.

func (*MockKeyValueServiceMockRecorder) Init

Init indicates an expected call of Init.

func (*MockKeyValueServiceMockRecorder) Name

Name indicates an expected call of Name.

func (*MockKeyValueServiceMockRecorder) Run

Run indicates an expected call of Run.

func (*MockKeyValueServiceMockRecorder) SyncWithPeer

func (mr *MockKeyValueServiceMockRecorder) SyncWithPeer(p any) *gomock.Call

SyncWithPeer indicates an expected call of SyncWithPeer.

Jump to

Keyboard shortcuts

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