1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

Add missing mocks for coordinatorclient

This commit is contained in:
Anthony Akentiev 2024-08-13 16:30:02 +02:00
parent 8904f38cb7
commit 122fdb0143
No known key found for this signature in database
GPG key ID: 017A11DC01A79831

View file

@ -102,6 +102,21 @@ func (mr *MockCoordinatorClientMockRecorder) AclAddRecord(arg0, arg1, arg2 any)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AclAddRecord", reflect.TypeOf((*MockCoordinatorClient)(nil).AclAddRecord), arg0, arg1, arg2)
}
// AclEventLog mocks base method.
func (m *MockCoordinatorClient) AclEventLog(arg0 context.Context, arg1, arg2 string, arg3 int) ([]*coordinatorproto.AclEventLogRecord, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AclEventLog", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].([]*coordinatorproto.AclEventLogRecord)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// AclEventLog indicates an expected call of AclEventLog.
func (mr *MockCoordinatorClientMockRecorder) AclEventLog(arg0, arg1, arg2, arg3 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AclEventLog", reflect.TypeOf((*MockCoordinatorClient)(nil).AclEventLog), arg0, arg1, arg2, arg3)
}
// AclGetRecords mocks base method.
func (m *MockCoordinatorClient) AclGetRecords(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error) {
m.ctrl.T.Helper()