Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync/commonspace/headsync (interfaces: DiffSyncer)
Generated by this command:
mockgen -destination mock_headsync/mock_headsync.go github.com/anyproto/any-sync/commonspace/headsync DiffSyncer
Package mock_headsync is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiffSyncer ¶
type MockDiffSyncer struct {
// contains filtered or unexported fields
}
MockDiffSyncer is a mock of DiffSyncer interface.
func NewMockDiffSyncer ¶
func NewMockDiffSyncer(ctrl *gomock.Controller) *MockDiffSyncer
NewMockDiffSyncer creates a new mock instance.
func (*MockDiffSyncer) EXPECT ¶
func (m *MockDiffSyncer) EXPECT() *MockDiffSyncerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiffSyncer) RemoveObjects ¶
func (m *MockDiffSyncer) RemoveObjects(arg0 []string)
RemoveObjects mocks base method.
func (*MockDiffSyncer) Sync ¶
func (m *MockDiffSyncer) Sync(arg0 context.Context) error
Sync mocks base method.
func (*MockDiffSyncer) UpdateHeads ¶
func (m *MockDiffSyncer) UpdateHeads(arg0 string, arg1 []string)
UpdateHeads mocks base method.
type MockDiffSyncerMockRecorder ¶
type MockDiffSyncerMockRecorder struct {
// contains filtered or unexported fields
}
MockDiffSyncerMockRecorder is the mock recorder for MockDiffSyncer.
func (*MockDiffSyncerMockRecorder) Init ¶
func (mr *MockDiffSyncerMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init.
func (*MockDiffSyncerMockRecorder) RemoveObjects ¶
func (mr *MockDiffSyncerMockRecorder) RemoveObjects(arg0 any) *gomock.Call
RemoveObjects indicates an expected call of RemoveObjects.
func (*MockDiffSyncerMockRecorder) Sync ¶
func (mr *MockDiffSyncerMockRecorder) Sync(arg0 any) *gomock.Call
Sync indicates an expected call of Sync.
func (*MockDiffSyncerMockRecorder) UpdateHeads ¶
func (mr *MockDiffSyncerMockRecorder) UpdateHeads(arg0, arg1 any) *gomock.Call
UpdateHeads indicates an expected call of UpdateHeads.