Documentation ¶
Overview ¶
Package mock_treesyncer is a generated GoMock package.
Index ¶
- type MockTreeSyncer
- func (m *MockTreeSyncer) Close(ctx context.Context) error
- func (m *MockTreeSyncer) EXPECT() *MockTreeSyncerMockRecorder
- func (m *MockTreeSyncer) Init(a *app.App) error
- func (m *MockTreeSyncer) Name() string
- func (m *MockTreeSyncer) Run(ctx context.Context) error
- func (m *MockTreeSyncer) ShouldSync(peerId string) bool
- func (m *MockTreeSyncer) StartSync()
- func (m *MockTreeSyncer) StopSync()
- func (m *MockTreeSyncer) SyncAll(ctx context.Context, p peer.Peer, existing, missing []string) error
- type MockTreeSyncerMockRecorder
- func (mr *MockTreeSyncerMockRecorder) Close(ctx any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) Init(a any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) Name() *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) Run(ctx any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) ShouldSync(peerId any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) StartSync() *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) StopSync() *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) SyncAll(ctx, p, existing, missing any) *gomock.Call
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 ¶
func (m *MockTreeSyncer) EXPECT() *MockTreeSyncerMockRecorder
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) 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.
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 ¶
func (mr *MockTreeSyncerMockRecorder) Init(a any) *gomock.Call
Init indicates an expected call of Init.
func (*MockTreeSyncerMockRecorder) Name ¶
func (mr *MockTreeSyncerMockRecorder) Name() *gomock.Call
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.