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

Generate new coordinator client mock

This commit is contained in:
Sergey 2024-01-12 15:15:27 +01:00
parent 0bc7b2505a
commit fc0c258930
No known key found for this signature in database
GPG key ID: 3B6BEF79160221C6

View file

@ -5,6 +5,7 @@
//
// mockgen -destination mock_coordinatorclient/mock_coordinatorclient.go github.com/anyproto/any-sync/coordinator/coordinatorclient CoordinatorClient
//
// Package mock_coordinatorclient is a generated GoMock package.
package mock_coordinatorclient
@ -15,6 +16,7 @@ import (
app "github.com/anyproto/any-sync/app"
coordinatorclient "github.com/anyproto/any-sync/coordinator/coordinatorclient"
coordinatorproto "github.com/anyproto/any-sync/coordinator/coordinatorproto"
identityrepoproto "github.com/anyproto/any-sync/identityrepo/identityrepoproto"
gomock "go.uber.org/mock/gomock"
)
@ -100,6 +102,35 @@ func (mr *MockCoordinatorClientMockRecorder) FileLimitCheck(arg0, arg1, arg2 any
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FileLimitCheck", reflect.TypeOf((*MockCoordinatorClient)(nil).FileLimitCheck), arg0, arg1, arg2)
}
// IdentityRepoGet mocks base method.
func (m *MockCoordinatorClient) IdentityRepoGet(arg0 context.Context, arg1, arg2 []string) ([]*identityrepoproto.DataWithIdentity, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IdentityRepoGet", arg0, arg1, arg2)
ret0, _ := ret[0].([]*identityrepoproto.DataWithIdentity)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// IdentityRepoGet indicates an expected call of IdentityRepoGet.
func (mr *MockCoordinatorClientMockRecorder) IdentityRepoGet(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IdentityRepoGet", reflect.TypeOf((*MockCoordinatorClient)(nil).IdentityRepoGet), arg0, arg1, arg2)
}
// IdentityRepoPut mocks base method.
func (m *MockCoordinatorClient) IdentityRepoPut(arg0 context.Context, arg1 string, arg2 []*identityrepoproto.Data) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "IdentityRepoPut", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// IdentityRepoPut indicates an expected call of IdentityRepoPut.
func (mr *MockCoordinatorClientMockRecorder) IdentityRepoPut(arg0, arg1, arg2 any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IdentityRepoPut", reflect.TypeOf((*MockCoordinatorClient)(nil).IdentityRepoPut), arg0, arg1, arg2)
}
// Init mocks base method.
func (m *MockCoordinatorClient) Init(arg0 *app.App) error {
m.ctrl.T.Helper()