...
1
2
3
4
5 package sync
6
7 import (
8 context "context"
9 reflect "reflect"
10
11 gomock "github.com/golang/mock/gomock"
12 )
13
14
15 type MockClient struct {
16 ctrl *gomock.Controller
17 recorder *MockClientMockRecorder
18 }
19
20
21 type MockClientMockRecorder struct {
22 mock *MockClient
23 }
24
25
26 func NewMockClient(ctrl *gomock.Controller) *MockClient {
27 mock := &MockClient{ctrl: ctrl}
28 mock.recorder = &MockClientMockRecorder{mock}
29 return mock
30 }
31
32
33 func (m *MockClient) EXPECT() *MockClientMockRecorder {
34 return m.recorder
35 }
36
37
38 func (m *MockClient) SyncFiles(ctx context.Context, syncParameters SyncParameters) (bool, error) {
39 m.ctrl.T.Helper()
40 ret := m.ctrl.Call(m, "SyncFiles", ctx, syncParameters)
41 ret0, _ := ret[0].(bool)
42 ret1, _ := ret[1].(error)
43 return ret0, ret1
44 }
45
46
47 func (mr *MockClientMockRecorder) SyncFiles(ctx, syncParameters interface{}) *gomock.Call {
48 mr.mock.ctrl.T.Helper()
49 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SyncFiles", reflect.TypeOf((*MockClient)(nil).SyncFiles), ctx, syncParameters)
50 }
51
View as plain text