Documentation ¶
Overview ¶
Package mock_treesyncer is a generated GoMock package.
Index ¶
- type MockTreeSyncer
- func (m *MockTreeSyncer) Close(arg0 context.Context) error
- func (m *MockTreeSyncer) EXPECT() *MockTreeSyncerMockRecorder
- func (m *MockTreeSyncer) Init(arg0 *app.App) error
- func (m *MockTreeSyncer) Name() string
- func (m *MockTreeSyncer) Run(arg0 context.Context) error
- func (m *MockTreeSyncer) ShouldSync(arg0 string) bool
- func (m *MockTreeSyncer) StartSync()
- func (m *MockTreeSyncer) StopSync()
- func (m *MockTreeSyncer) SyncAll(arg0 context.Context, arg1 peer.Peer, arg2, arg3 []string) error
- type MockTreeSyncerMockRecorder
- func (mr *MockTreeSyncerMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) Name() *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) ShouldSync(arg0 any) *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) StartSync() *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) StopSync() *gomock.Call
- func (mr *MockTreeSyncerMockRecorder) SyncAll(arg0, arg1, arg2, arg3 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(arg0 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(arg0 *app.App) error
Init mocks base method.
func (*MockTreeSyncer) Run ¶
func (m *MockTreeSyncer) Run(arg0 context.Context) error
Run mocks base method.
func (*MockTreeSyncer) ShouldSync ¶ added in v0.3.21
func (m *MockTreeSyncer) ShouldSync(arg0 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(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockTreeSyncerMockRecorder) Init ¶
func (mr *MockTreeSyncerMockRecorder) Init(arg0 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(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockTreeSyncerMockRecorder) ShouldSync ¶ added in v0.3.21
func (mr *MockTreeSyncerMockRecorder) ShouldSync(arg0 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.