-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathUserService_mock.go
694 lines (602 loc) · 29.1 KB
/
UserService_mock.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//
// Code generated by MockGen. DO NOT EDIT.
// Source: ./cloudstack/UserService.go
//
// Generated by this command:
//
// mockgen -destination=./cloudstack/UserService_mock.go -package=cloudstack -copyright_file=header.txt -source=./cloudstack/UserService.go
//
// Package cloudstack is a generated GoMock package.
package cloudstack
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockUserServiceIface is a mock of UserServiceIface interface.
type MockUserServiceIface struct {
ctrl *gomock.Controller
recorder *MockUserServiceIfaceMockRecorder
isgomock struct{}
}
// MockUserServiceIfaceMockRecorder is the mock recorder for MockUserServiceIface.
type MockUserServiceIfaceMockRecorder struct {
mock *MockUserServiceIface
}
// NewMockUserServiceIface creates a new mock instance.
func NewMockUserServiceIface(ctrl *gomock.Controller) *MockUserServiceIface {
mock := &MockUserServiceIface{ctrl: ctrl}
mock.recorder = &MockUserServiceIfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockUserServiceIface) EXPECT() *MockUserServiceIfaceMockRecorder {
return m.recorder
}
// CreateUser mocks base method.
func (m *MockUserServiceIface) CreateUser(p *CreateUserParams) (*CreateUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateUser", p)
ret0, _ := ret[0].(*CreateUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateUser indicates an expected call of CreateUser.
func (mr *MockUserServiceIfaceMockRecorder) CreateUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateUser", reflect.TypeOf((*MockUserServiceIface)(nil).CreateUser), p)
}
// DeleteUser mocks base method.
func (m *MockUserServiceIface) DeleteUser(p *DeleteUserParams) (*DeleteUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteUser", p)
ret0, _ := ret[0].(*DeleteUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteUser indicates an expected call of DeleteUser.
func (mr *MockUserServiceIfaceMockRecorder) DeleteUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUser", reflect.TypeOf((*MockUserServiceIface)(nil).DeleteUser), p)
}
// DeleteUserData mocks base method.
func (m *MockUserServiceIface) DeleteUserData(p *DeleteUserDataParams) (*DeleteUserDataResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteUserData", p)
ret0, _ := ret[0].(*DeleteUserDataResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteUserData indicates an expected call of DeleteUserData.
func (mr *MockUserServiceIfaceMockRecorder) DeleteUserData(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteUserData", reflect.TypeOf((*MockUserServiceIface)(nil).DeleteUserData), p)
}
// DisableUser mocks base method.
func (m *MockUserServiceIface) DisableUser(p *DisableUserParams) (*DisableUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DisableUser", p)
ret0, _ := ret[0].(*DisableUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DisableUser indicates an expected call of DisableUser.
func (mr *MockUserServiceIfaceMockRecorder) DisableUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableUser", reflect.TypeOf((*MockUserServiceIface)(nil).DisableUser), p)
}
// EnableUser mocks base method.
func (m *MockUserServiceIface) EnableUser(p *EnableUserParams) (*EnableUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "EnableUser", p)
ret0, _ := ret[0].(*EnableUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// EnableUser indicates an expected call of EnableUser.
func (mr *MockUserServiceIfaceMockRecorder) EnableUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableUser", reflect.TypeOf((*MockUserServiceIface)(nil).EnableUser), p)
}
// GetUser mocks base method.
func (m *MockUserServiceIface) GetUser(p *GetUserParams) (*GetUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetUser", p)
ret0, _ := ret[0].(*GetUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetUser indicates an expected call of GetUser.
func (mr *MockUserServiceIfaceMockRecorder) GetUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUser", reflect.TypeOf((*MockUserServiceIface)(nil).GetUser), p)
}
// GetUserByID mocks base method.
func (m *MockUserServiceIface) GetUserByID(id string, opts ...OptionFunc) (*User, int, error) {
m.ctrl.T.Helper()
varargs := []any{id}
for _, a := range opts {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetUserByID", varargs...)
ret0, _ := ret[0].(*User)
ret1, _ := ret[1].(int)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// GetUserByID indicates an expected call of GetUserByID.
func (mr *MockUserServiceIfaceMockRecorder) GetUserByID(id any, opts ...any) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]any{id}, opts...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserByID", reflect.TypeOf((*MockUserServiceIface)(nil).GetUserByID), varargs...)
}
// GetUserDataByID mocks base method.
func (m *MockUserServiceIface) GetUserDataByID(id string, opts ...OptionFunc) (*UserData, int, error) {
m.ctrl.T.Helper()
varargs := []any{id}
for _, a := range opts {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetUserDataByID", varargs...)
ret0, _ := ret[0].(*UserData)
ret1, _ := ret[1].(int)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// GetUserDataByID indicates an expected call of GetUserDataByID.
func (mr *MockUserServiceIfaceMockRecorder) GetUserDataByID(id any, opts ...any) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]any{id}, opts...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserDataByID", reflect.TypeOf((*MockUserServiceIface)(nil).GetUserDataByID), varargs...)
}
// GetUserDataByName mocks base method.
func (m *MockUserServiceIface) GetUserDataByName(name string, opts ...OptionFunc) (*UserData, int, error) {
m.ctrl.T.Helper()
varargs := []any{name}
for _, a := range opts {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetUserDataByName", varargs...)
ret0, _ := ret[0].(*UserData)
ret1, _ := ret[1].(int)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// GetUserDataByName indicates an expected call of GetUserDataByName.
func (mr *MockUserServiceIfaceMockRecorder) GetUserDataByName(name any, opts ...any) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]any{name}, opts...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserDataByName", reflect.TypeOf((*MockUserServiceIface)(nil).GetUserDataByName), varargs...)
}
// GetUserDataID mocks base method.
func (m *MockUserServiceIface) GetUserDataID(name string, opts ...OptionFunc) (string, int, error) {
m.ctrl.T.Helper()
varargs := []any{name}
for _, a := range opts {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "GetUserDataID", varargs...)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(int)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// GetUserDataID indicates an expected call of GetUserDataID.
func (mr *MockUserServiceIfaceMockRecorder) GetUserDataID(name any, opts ...any) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]any{name}, opts...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserDataID", reflect.TypeOf((*MockUserServiceIface)(nil).GetUserDataID), varargs...)
}
// GetUserKeys mocks base method.
func (m *MockUserServiceIface) GetUserKeys(p *GetUserKeysParams) (*GetUserKeysResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetUserKeys", p)
ret0, _ := ret[0].(*GetUserKeysResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetUserKeys indicates an expected call of GetUserKeys.
func (mr *MockUserServiceIfaceMockRecorder) GetUserKeys(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetUserKeys", reflect.TypeOf((*MockUserServiceIface)(nil).GetUserKeys), p)
}
// GetVirtualMachineUserData mocks base method.
func (m *MockUserServiceIface) GetVirtualMachineUserData(p *GetVirtualMachineUserDataParams) (*GetVirtualMachineUserDataResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetVirtualMachineUserData", p)
ret0, _ := ret[0].(*GetVirtualMachineUserDataResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetVirtualMachineUserData indicates an expected call of GetVirtualMachineUserData.
func (mr *MockUserServiceIfaceMockRecorder) GetVirtualMachineUserData(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVirtualMachineUserData", reflect.TypeOf((*MockUserServiceIface)(nil).GetVirtualMachineUserData), p)
}
// ListUserData mocks base method.
func (m *MockUserServiceIface) ListUserData(p *ListUserDataParams) (*ListUserDataResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListUserData", p)
ret0, _ := ret[0].(*ListUserDataResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListUserData indicates an expected call of ListUserData.
func (mr *MockUserServiceIfaceMockRecorder) ListUserData(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUserData", reflect.TypeOf((*MockUserServiceIface)(nil).ListUserData), p)
}
// ListUserTwoFactorAuthenticatorProviders mocks base method.
func (m *MockUserServiceIface) ListUserTwoFactorAuthenticatorProviders(p *ListUserTwoFactorAuthenticatorProvidersParams) (*ListUserTwoFactorAuthenticatorProvidersResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListUserTwoFactorAuthenticatorProviders", p)
ret0, _ := ret[0].(*ListUserTwoFactorAuthenticatorProvidersResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListUserTwoFactorAuthenticatorProviders indicates an expected call of ListUserTwoFactorAuthenticatorProviders.
func (mr *MockUserServiceIfaceMockRecorder) ListUserTwoFactorAuthenticatorProviders(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUserTwoFactorAuthenticatorProviders", reflect.TypeOf((*MockUserServiceIface)(nil).ListUserTwoFactorAuthenticatorProviders), p)
}
// ListUsers mocks base method.
func (m *MockUserServiceIface) ListUsers(p *ListUsersParams) (*ListUsersResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListUsers", p)
ret0, _ := ret[0].(*ListUsersResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListUsers indicates an expected call of ListUsers.
func (mr *MockUserServiceIfaceMockRecorder) ListUsers(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUsers", reflect.TypeOf((*MockUserServiceIface)(nil).ListUsers), p)
}
// LockUser mocks base method.
func (m *MockUserServiceIface) LockUser(p *LockUserParams) (*LockUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "LockUser", p)
ret0, _ := ret[0].(*LockUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// LockUser indicates an expected call of LockUser.
func (mr *MockUserServiceIfaceMockRecorder) LockUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LockUser", reflect.TypeOf((*MockUserServiceIface)(nil).LockUser), p)
}
// MoveUser mocks base method.
func (m *MockUserServiceIface) MoveUser(p *MoveUserParams) (*MoveUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "MoveUser", p)
ret0, _ := ret[0].(*MoveUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// MoveUser indicates an expected call of MoveUser.
func (mr *MockUserServiceIfaceMockRecorder) MoveUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MoveUser", reflect.TypeOf((*MockUserServiceIface)(nil).MoveUser), p)
}
// NewCreateUserParams mocks base method.
func (m *MockUserServiceIface) NewCreateUserParams(account, email, firstname, lastname, password, username string) *CreateUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewCreateUserParams", account, email, firstname, lastname, password, username)
ret0, _ := ret[0].(*CreateUserParams)
return ret0
}
// NewCreateUserParams indicates an expected call of NewCreateUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewCreateUserParams(account, email, firstname, lastname, password, username any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewCreateUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewCreateUserParams), account, email, firstname, lastname, password, username)
}
// NewDeleteUserDataParams mocks base method.
func (m *MockUserServiceIface) NewDeleteUserDataParams(id string) *DeleteUserDataParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewDeleteUserDataParams", id)
ret0, _ := ret[0].(*DeleteUserDataParams)
return ret0
}
// NewDeleteUserDataParams indicates an expected call of NewDeleteUserDataParams.
func (mr *MockUserServiceIfaceMockRecorder) NewDeleteUserDataParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewDeleteUserDataParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewDeleteUserDataParams), id)
}
// NewDeleteUserParams mocks base method.
func (m *MockUserServiceIface) NewDeleteUserParams(id string) *DeleteUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewDeleteUserParams", id)
ret0, _ := ret[0].(*DeleteUserParams)
return ret0
}
// NewDeleteUserParams indicates an expected call of NewDeleteUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewDeleteUserParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewDeleteUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewDeleteUserParams), id)
}
// NewDisableUserParams mocks base method.
func (m *MockUserServiceIface) NewDisableUserParams(id string) *DisableUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewDisableUserParams", id)
ret0, _ := ret[0].(*DisableUserParams)
return ret0
}
// NewDisableUserParams indicates an expected call of NewDisableUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewDisableUserParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewDisableUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewDisableUserParams), id)
}
// NewEnableUserParams mocks base method.
func (m *MockUserServiceIface) NewEnableUserParams(id string) *EnableUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewEnableUserParams", id)
ret0, _ := ret[0].(*EnableUserParams)
return ret0
}
// NewEnableUserParams indicates an expected call of NewEnableUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewEnableUserParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewEnableUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewEnableUserParams), id)
}
// NewGetUserKeysParams mocks base method.
func (m *MockUserServiceIface) NewGetUserKeysParams(id string) *GetUserKeysParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewGetUserKeysParams", id)
ret0, _ := ret[0].(*GetUserKeysParams)
return ret0
}
// NewGetUserKeysParams indicates an expected call of NewGetUserKeysParams.
func (mr *MockUserServiceIfaceMockRecorder) NewGetUserKeysParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewGetUserKeysParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewGetUserKeysParams), id)
}
// NewGetUserParams mocks base method.
func (m *MockUserServiceIface) NewGetUserParams(userapikey string) *GetUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewGetUserParams", userapikey)
ret0, _ := ret[0].(*GetUserParams)
return ret0
}
// NewGetUserParams indicates an expected call of NewGetUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewGetUserParams(userapikey any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewGetUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewGetUserParams), userapikey)
}
// NewGetVirtualMachineUserDataParams mocks base method.
func (m *MockUserServiceIface) NewGetVirtualMachineUserDataParams(virtualmachineid string) *GetVirtualMachineUserDataParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewGetVirtualMachineUserDataParams", virtualmachineid)
ret0, _ := ret[0].(*GetVirtualMachineUserDataParams)
return ret0
}
// NewGetVirtualMachineUserDataParams indicates an expected call of NewGetVirtualMachineUserDataParams.
func (mr *MockUserServiceIfaceMockRecorder) NewGetVirtualMachineUserDataParams(virtualmachineid any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewGetVirtualMachineUserDataParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewGetVirtualMachineUserDataParams), virtualmachineid)
}
// NewListUserDataParams mocks base method.
func (m *MockUserServiceIface) NewListUserDataParams() *ListUserDataParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewListUserDataParams")
ret0, _ := ret[0].(*ListUserDataParams)
return ret0
}
// NewListUserDataParams indicates an expected call of NewListUserDataParams.
func (mr *MockUserServiceIfaceMockRecorder) NewListUserDataParams() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewListUserDataParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewListUserDataParams))
}
// NewListUserTwoFactorAuthenticatorProvidersParams mocks base method.
func (m *MockUserServiceIface) NewListUserTwoFactorAuthenticatorProvidersParams() *ListUserTwoFactorAuthenticatorProvidersParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewListUserTwoFactorAuthenticatorProvidersParams")
ret0, _ := ret[0].(*ListUserTwoFactorAuthenticatorProvidersParams)
return ret0
}
// NewListUserTwoFactorAuthenticatorProvidersParams indicates an expected call of NewListUserTwoFactorAuthenticatorProvidersParams.
func (mr *MockUserServiceIfaceMockRecorder) NewListUserTwoFactorAuthenticatorProvidersParams() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewListUserTwoFactorAuthenticatorProvidersParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewListUserTwoFactorAuthenticatorProvidersParams))
}
// NewListUsersParams mocks base method.
func (m *MockUserServiceIface) NewListUsersParams() *ListUsersParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewListUsersParams")
ret0, _ := ret[0].(*ListUsersParams)
return ret0
}
// NewListUsersParams indicates an expected call of NewListUsersParams.
func (mr *MockUserServiceIfaceMockRecorder) NewListUsersParams() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewListUsersParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewListUsersParams))
}
// NewLockUserParams mocks base method.
func (m *MockUserServiceIface) NewLockUserParams(id string) *LockUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewLockUserParams", id)
ret0, _ := ret[0].(*LockUserParams)
return ret0
}
// NewLockUserParams indicates an expected call of NewLockUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewLockUserParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewLockUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewLockUserParams), id)
}
// NewMoveUserParams mocks base method.
func (m *MockUserServiceIface) NewMoveUserParams(id string) *MoveUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewMoveUserParams", id)
ret0, _ := ret[0].(*MoveUserParams)
return ret0
}
// NewMoveUserParams indicates an expected call of NewMoveUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewMoveUserParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewMoveUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewMoveUserParams), id)
}
// NewRegisterUserDataParams mocks base method.
func (m *MockUserServiceIface) NewRegisterUserDataParams(name, userdata string) *RegisterUserDataParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewRegisterUserDataParams", name, userdata)
ret0, _ := ret[0].(*RegisterUserDataParams)
return ret0
}
// NewRegisterUserDataParams indicates an expected call of NewRegisterUserDataParams.
func (mr *MockUserServiceIfaceMockRecorder) NewRegisterUserDataParams(name, userdata any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewRegisterUserDataParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewRegisterUserDataParams), name, userdata)
}
// NewRegisterUserKeysParams mocks base method.
func (m *MockUserServiceIface) NewRegisterUserKeysParams(id string) *RegisterUserKeysParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewRegisterUserKeysParams", id)
ret0, _ := ret[0].(*RegisterUserKeysParams)
return ret0
}
// NewRegisterUserKeysParams indicates an expected call of NewRegisterUserKeysParams.
func (mr *MockUserServiceIfaceMockRecorder) NewRegisterUserKeysParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewRegisterUserKeysParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewRegisterUserKeysParams), id)
}
// NewSetupUserTwoFactorAuthenticationParams mocks base method.
func (m *MockUserServiceIface) NewSetupUserTwoFactorAuthenticationParams() *SetupUserTwoFactorAuthenticationParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewSetupUserTwoFactorAuthenticationParams")
ret0, _ := ret[0].(*SetupUserTwoFactorAuthenticationParams)
return ret0
}
// NewSetupUserTwoFactorAuthenticationParams indicates an expected call of NewSetupUserTwoFactorAuthenticationParams.
func (mr *MockUserServiceIfaceMockRecorder) NewSetupUserTwoFactorAuthenticationParams() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewSetupUserTwoFactorAuthenticationParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewSetupUserTwoFactorAuthenticationParams))
}
// NewUpdateUserParams mocks base method.
func (m *MockUserServiceIface) NewUpdateUserParams(id string) *UpdateUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewUpdateUserParams", id)
ret0, _ := ret[0].(*UpdateUserParams)
return ret0
}
// NewUpdateUserParams indicates an expected call of NewUpdateUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewUpdateUserParams(id any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewUpdateUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewUpdateUserParams), id)
}
// NewValidateUserTwoFactorAuthenticationCodeParams mocks base method.
func (m *MockUserServiceIface) NewValidateUserTwoFactorAuthenticationCodeParams(codefor2fa string) *ValidateUserTwoFactorAuthenticationCodeParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewValidateUserTwoFactorAuthenticationCodeParams", codefor2fa)
ret0, _ := ret[0].(*ValidateUserTwoFactorAuthenticationCodeParams)
return ret0
}
// NewValidateUserTwoFactorAuthenticationCodeParams indicates an expected call of NewValidateUserTwoFactorAuthenticationCodeParams.
func (mr *MockUserServiceIfaceMockRecorder) NewValidateUserTwoFactorAuthenticationCodeParams(codefor2fa any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewValidateUserTwoFactorAuthenticationCodeParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewValidateUserTwoFactorAuthenticationCodeParams), codefor2fa)
}
// NewVerifyOAuthCodeAndGetUserParams mocks base method.
func (m *MockUserServiceIface) NewVerifyOAuthCodeAndGetUserParams(provider string) *VerifyOAuthCodeAndGetUserParams {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NewVerifyOAuthCodeAndGetUserParams", provider)
ret0, _ := ret[0].(*VerifyOAuthCodeAndGetUserParams)
return ret0
}
// NewVerifyOAuthCodeAndGetUserParams indicates an expected call of NewVerifyOAuthCodeAndGetUserParams.
func (mr *MockUserServiceIfaceMockRecorder) NewVerifyOAuthCodeAndGetUserParams(provider any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NewVerifyOAuthCodeAndGetUserParams", reflect.TypeOf((*MockUserServiceIface)(nil).NewVerifyOAuthCodeAndGetUserParams), provider)
}
// RegisterUserData mocks base method.
func (m *MockUserServiceIface) RegisterUserData(p *RegisterUserDataParams) (*RegisterUserDataResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RegisterUserData", p)
ret0, _ := ret[0].(*RegisterUserDataResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// RegisterUserData indicates an expected call of RegisterUserData.
func (mr *MockUserServiceIfaceMockRecorder) RegisterUserData(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterUserData", reflect.TypeOf((*MockUserServiceIface)(nil).RegisterUserData), p)
}
// RegisterUserKeys mocks base method.
func (m *MockUserServiceIface) RegisterUserKeys(p *RegisterUserKeysParams) (*RegisterUserKeysResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RegisterUserKeys", p)
ret0, _ := ret[0].(*RegisterUserKeysResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// RegisterUserKeys indicates an expected call of RegisterUserKeys.
func (mr *MockUserServiceIfaceMockRecorder) RegisterUserKeys(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterUserKeys", reflect.TypeOf((*MockUserServiceIface)(nil).RegisterUserKeys), p)
}
// SetupUserTwoFactorAuthentication mocks base method.
func (m *MockUserServiceIface) SetupUserTwoFactorAuthentication(p *SetupUserTwoFactorAuthenticationParams) (*SetupUserTwoFactorAuthenticationResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SetupUserTwoFactorAuthentication", p)
ret0, _ := ret[0].(*SetupUserTwoFactorAuthenticationResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// SetupUserTwoFactorAuthentication indicates an expected call of SetupUserTwoFactorAuthentication.
func (mr *MockUserServiceIfaceMockRecorder) SetupUserTwoFactorAuthentication(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetupUserTwoFactorAuthentication", reflect.TypeOf((*MockUserServiceIface)(nil).SetupUserTwoFactorAuthentication), p)
}
// UpdateUser mocks base method.
func (m *MockUserServiceIface) UpdateUser(p *UpdateUserParams) (*UpdateUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateUser", p)
ret0, _ := ret[0].(*UpdateUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateUser indicates an expected call of UpdateUser.
func (mr *MockUserServiceIfaceMockRecorder) UpdateUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateUser", reflect.TypeOf((*MockUserServiceIface)(nil).UpdateUser), p)
}
// ValidateUserTwoFactorAuthenticationCode mocks base method.
func (m *MockUserServiceIface) ValidateUserTwoFactorAuthenticationCode(p *ValidateUserTwoFactorAuthenticationCodeParams) (*ValidateUserTwoFactorAuthenticationCodeResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ValidateUserTwoFactorAuthenticationCode", p)
ret0, _ := ret[0].(*ValidateUserTwoFactorAuthenticationCodeResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ValidateUserTwoFactorAuthenticationCode indicates an expected call of ValidateUserTwoFactorAuthenticationCode.
func (mr *MockUserServiceIfaceMockRecorder) ValidateUserTwoFactorAuthenticationCode(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ValidateUserTwoFactorAuthenticationCode", reflect.TypeOf((*MockUserServiceIface)(nil).ValidateUserTwoFactorAuthenticationCode), p)
}
// VerifyOAuthCodeAndGetUser mocks base method.
func (m *MockUserServiceIface) VerifyOAuthCodeAndGetUser(p *VerifyOAuthCodeAndGetUserParams) (*VerifyOAuthCodeAndGetUserResponse, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "VerifyOAuthCodeAndGetUser", p)
ret0, _ := ret[0].(*VerifyOAuthCodeAndGetUserResponse)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// VerifyOAuthCodeAndGetUser indicates an expected call of VerifyOAuthCodeAndGetUser.
func (mr *MockUserServiceIfaceMockRecorder) VerifyOAuthCodeAndGetUser(p any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "VerifyOAuthCodeAndGetUser", reflect.TypeOf((*MockUserServiceIface)(nil).VerifyOAuthCodeAndGetUser), p)
}