mock_treesyncer

package
v0.5.20 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_treesyncer is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTreeSyncer

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

MockTreeSyncer is a mock of TreeSyncer interface.

func NewMockTreeSyncer

func NewMockTreeSyncer(ctrl *gomock.Controller) *MockTreeSyncer

NewMockTreeSyncer creates a new mock instance.

func (*MockTreeSyncer) Close

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

Close mocks base method.

func (*MockTreeSyncer) EXPECT

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

func (*MockTreeSyncer) Init

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

Init mocks base method.

func (*MockTreeSyncer) Name

func (m *MockTreeSyncer) Name() string

Name mocks base method.

func (*MockTreeSyncer) Run

func (m *MockTreeSyncer) Run(ctx context.Context) error

Run mocks base method.

func (*MockTreeSyncer) ShouldSync added in v0.3.21

func (m *MockTreeSyncer) ShouldSync(peerId string) bool

ShouldSync mocks base method.

func (*MockTreeSyncer) StartSync

func (m *MockTreeSyncer) StartSync()

StartSync mocks base method.

func (*MockTreeSyncer) StopSync added in v0.3.21

func (m *MockTreeSyncer) StopSync()

StopSync mocks base method.

func (*MockTreeSyncer) SyncAll

func (m *MockTreeSyncer) SyncAll(ctx context.Context, p peer.Peer, existing, missing []string) error

SyncAll mocks base method.

type MockTreeSyncerMockRecorder

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

MockTreeSyncerMockRecorder is the mock recorder for MockTreeSyncer.

func (*MockTreeSyncerMockRecorder) Close

func (mr *MockTreeSyncerMockRecorder) Close(ctx any) *gomock.Call

Close indicates an expected call of Close.

func (*MockTreeSyncerMockRecorder) Init

Init indicates an expected call of Init.

func (*MockTreeSyncerMockRecorder) Name

Name indicates an expected call of Name.

func (*MockTreeSyncerMockRecorder) Run

func (mr *MockTreeSyncerMockRecorder) Run(ctx any) *gomock.Call

Run indicates an expected call of Run.

func (*MockTreeSyncerMockRecorder) ShouldSync added in v0.3.21

func (mr *MockTreeSyncerMockRecorder) ShouldSync(peerId any) *gomock.Call

ShouldSync indicates an expected call of ShouldSync.

func (*MockTreeSyncerMockRecorder) StartSync

func (mr *MockTreeSyncerMockRecorder) StartSync() *gomock.Call

StartSync indicates an expected call of StartSync.

func (*MockTreeSyncerMockRecorder) StopSync added in v0.3.21

func (mr *MockTreeSyncerMockRecorder) StopSync() *gomock.Call

StopSync indicates an expected call of StopSync.

func (*MockTreeSyncerMockRecorder) SyncAll

func (mr *MockTreeSyncerMockRecorder) SyncAll(ctx, p, existing, missing any) *gomock.Call

SyncAll indicates an expected call of SyncAll.

Jump to

Keyboard shortcuts

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