mock_nodesync

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync-node/nodesync (interfaces: NodeSync)

Generated by this command:

mockgen -destination mock_nodesync/mock_nodesync.go github.com/anyproto/any-sync-node/nodesync NodeSync

Package mock_nodesync is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNodeSync

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

MockNodeSync is a mock of NodeSync interface.

func NewMockNodeSync

func NewMockNodeSync(ctrl *gomock.Controller) *MockNodeSync

NewMockNodeSync creates a new mock instance.

func (*MockNodeSync) Close

func (m *MockNodeSync) Close(arg0 context.Context) error

Close mocks base method.

func (*MockNodeSync) EXPECT

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

func (*MockNodeSync) Init

func (m *MockNodeSync) Init(arg0 *app.App) error

Init mocks base method.

func (*MockNodeSync) Name

func (m *MockNodeSync) Name() string

Name mocks base method.

func (*MockNodeSync) Run

func (m *MockNodeSync) Run(arg0 context.Context) error

Run mocks base method.

func (*MockNodeSync) Sync

func (m *MockNodeSync) Sync() error

Sync mocks base method.

func (*MockNodeSync) WaitSyncOnStart

func (m *MockNodeSync) WaitSyncOnStart() <-chan struct{}

WaitSyncOnStart mocks base method.

type MockNodeSyncMockRecorder

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

MockNodeSyncMockRecorder is the mock recorder for MockNodeSync.

func (*MockNodeSyncMockRecorder) Close

func (mr *MockNodeSyncMockRecorder) Close(arg0 any) *gomock.Call

Close indicates an expected call of Close.

func (*MockNodeSyncMockRecorder) Init

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

Init indicates an expected call of Init.

func (*MockNodeSyncMockRecorder) Name

func (mr *MockNodeSyncMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockNodeSyncMockRecorder) Run

func (mr *MockNodeSyncMockRecorder) Run(arg0 any) *gomock.Call

Run indicates an expected call of Run.

func (*MockNodeSyncMockRecorder) Sync

func (mr *MockNodeSyncMockRecorder) Sync() *gomock.Call

Sync indicates an expected call of Sync.

func (*MockNodeSyncMockRecorder) WaitSyncOnStart

func (mr *MockNodeSyncMockRecorder) WaitSyncOnStart() *gomock.Call

WaitSyncOnStart indicates an expected call of WaitSyncOnStart.

Jump to

Keyboard shortcuts

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