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 ¶
- type MockNodeSync
- func (m *MockNodeSync) Close(arg0 context.Context) error
- func (m *MockNodeSync) EXPECT() *MockNodeSyncMockRecorder
- func (m *MockNodeSync) Init(arg0 *app.App) error
- func (m *MockNodeSync) Name() string
- func (m *MockNodeSync) Run(arg0 context.Context) error
- func (m *MockNodeSync) Sync() error
- func (m *MockNodeSync) WaitSyncOnStart() <-chan struct{}
- type MockNodeSyncMockRecorder
- func (mr *MockNodeSyncMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockNodeSyncMockRecorder) Init(arg0 any) *gomock.Call
- func (mr *MockNodeSyncMockRecorder) Name() *gomock.Call
- func (mr *MockNodeSyncMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockNodeSyncMockRecorder) Sync() *gomock.Call
- func (mr *MockNodeSyncMockRecorder) WaitSyncOnStart() *gomock.Call
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 ¶
func (m *MockNodeSync) EXPECT() *MockNodeSyncMockRecorder
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) Run ¶
func (m *MockNodeSync) Run(arg0 context.Context) error
Run 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.