/
mocks.go
561 lines (482 loc) · 21.9 KB
/
mocks.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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/gardener/gardener/pkg/client/core/clientset/versioned/typed/core/v1beta1 (interfaces: CoreV1beta1Interface,ShootInterface,SeedInterface)
// Package mock is a generated GoMock package.
package mock
import (
context "context"
reflect "reflect"
v1alpha1 "github.com/gardener/gardener/pkg/apis/authentication/v1alpha1"
v1beta1 "github.com/gardener/gardener/pkg/apis/core/v1beta1"
v1beta10 "github.com/gardener/gardener/pkg/client/core/clientset/versioned/typed/core/v1beta1"
gomock "github.com/golang/mock/gomock"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pkg/watch"
rest "k8s.io/client-go/rest"
)
// MockCoreV1beta1Interface is a mock of CoreV1beta1Interface interface.
type MockCoreV1beta1Interface struct {
ctrl *gomock.Controller
recorder *MockCoreV1beta1InterfaceMockRecorder
}
// MockCoreV1beta1InterfaceMockRecorder is the mock recorder for MockCoreV1beta1Interface.
type MockCoreV1beta1InterfaceMockRecorder struct {
mock *MockCoreV1beta1Interface
}
// NewMockCoreV1beta1Interface creates a new mock instance.
func NewMockCoreV1beta1Interface(ctrl *gomock.Controller) *MockCoreV1beta1Interface {
mock := &MockCoreV1beta1Interface{ctrl: ctrl}
mock.recorder = &MockCoreV1beta1InterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockCoreV1beta1Interface) EXPECT() *MockCoreV1beta1InterfaceMockRecorder {
return m.recorder
}
// BackupBuckets mocks base method.
func (m *MockCoreV1beta1Interface) BackupBuckets() v1beta10.BackupBucketInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BackupBuckets")
ret0, _ := ret[0].(v1beta10.BackupBucketInterface)
return ret0
}
// BackupBuckets indicates an expected call of BackupBuckets.
func (mr *MockCoreV1beta1InterfaceMockRecorder) BackupBuckets() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackupBuckets", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).BackupBuckets))
}
// BackupEntries mocks base method.
func (m *MockCoreV1beta1Interface) BackupEntries(arg0 string) v1beta10.BackupEntryInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "BackupEntries", arg0)
ret0, _ := ret[0].(v1beta10.BackupEntryInterface)
return ret0
}
// BackupEntries indicates an expected call of BackupEntries.
func (mr *MockCoreV1beta1InterfaceMockRecorder) BackupEntries(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BackupEntries", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).BackupEntries), arg0)
}
// CloudProfiles mocks base method.
func (m *MockCoreV1beta1Interface) CloudProfiles() v1beta10.CloudProfileInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CloudProfiles")
ret0, _ := ret[0].(v1beta10.CloudProfileInterface)
return ret0
}
// CloudProfiles indicates an expected call of CloudProfiles.
func (mr *MockCoreV1beta1InterfaceMockRecorder) CloudProfiles() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloudProfiles", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).CloudProfiles))
}
// ControllerDeployments mocks base method.
func (m *MockCoreV1beta1Interface) ControllerDeployments() v1beta10.ControllerDeploymentInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ControllerDeployments")
ret0, _ := ret[0].(v1beta10.ControllerDeploymentInterface)
return ret0
}
// ControllerDeployments indicates an expected call of ControllerDeployments.
func (mr *MockCoreV1beta1InterfaceMockRecorder) ControllerDeployments() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ControllerDeployments", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).ControllerDeployments))
}
// ControllerInstallations mocks base method.
func (m *MockCoreV1beta1Interface) ControllerInstallations() v1beta10.ControllerInstallationInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ControllerInstallations")
ret0, _ := ret[0].(v1beta10.ControllerInstallationInterface)
return ret0
}
// ControllerInstallations indicates an expected call of ControllerInstallations.
func (mr *MockCoreV1beta1InterfaceMockRecorder) ControllerInstallations() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ControllerInstallations", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).ControllerInstallations))
}
// ControllerRegistrations mocks base method.
func (m *MockCoreV1beta1Interface) ControllerRegistrations() v1beta10.ControllerRegistrationInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ControllerRegistrations")
ret0, _ := ret[0].(v1beta10.ControllerRegistrationInterface)
return ret0
}
// ControllerRegistrations indicates an expected call of ControllerRegistrations.
func (mr *MockCoreV1beta1InterfaceMockRecorder) ControllerRegistrations() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ControllerRegistrations", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).ControllerRegistrations))
}
// Plants mocks base method.
func (m *MockCoreV1beta1Interface) Plants(arg0 string) v1beta10.PlantInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Plants", arg0)
ret0, _ := ret[0].(v1beta10.PlantInterface)
return ret0
}
// Plants indicates an expected call of Plants.
func (mr *MockCoreV1beta1InterfaceMockRecorder) Plants(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Plants", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).Plants), arg0)
}
// Projects mocks base method.
func (m *MockCoreV1beta1Interface) Projects() v1beta10.ProjectInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Projects")
ret0, _ := ret[0].(v1beta10.ProjectInterface)
return ret0
}
// Projects indicates an expected call of Projects.
func (mr *MockCoreV1beta1InterfaceMockRecorder) Projects() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Projects", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).Projects))
}
// Quotas mocks base method.
func (m *MockCoreV1beta1Interface) Quotas(arg0 string) v1beta10.QuotaInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Quotas", arg0)
ret0, _ := ret[0].(v1beta10.QuotaInterface)
return ret0
}
// Quotas indicates an expected call of Quotas.
func (mr *MockCoreV1beta1InterfaceMockRecorder) Quotas(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Quotas", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).Quotas), arg0)
}
// RESTClient mocks base method.
func (m *MockCoreV1beta1Interface) RESTClient() rest.Interface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RESTClient")
ret0, _ := ret[0].(rest.Interface)
return ret0
}
// RESTClient indicates an expected call of RESTClient.
func (mr *MockCoreV1beta1InterfaceMockRecorder) RESTClient() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RESTClient", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).RESTClient))
}
// SecretBindings mocks base method.
func (m *MockCoreV1beta1Interface) SecretBindings(arg0 string) v1beta10.SecretBindingInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SecretBindings", arg0)
ret0, _ := ret[0].(v1beta10.SecretBindingInterface)
return ret0
}
// SecretBindings indicates an expected call of SecretBindings.
func (mr *MockCoreV1beta1InterfaceMockRecorder) SecretBindings(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SecretBindings", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).SecretBindings), arg0)
}
// Seeds mocks base method.
func (m *MockCoreV1beta1Interface) Seeds() v1beta10.SeedInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Seeds")
ret0, _ := ret[0].(v1beta10.SeedInterface)
return ret0
}
// Seeds indicates an expected call of Seeds.
func (mr *MockCoreV1beta1InterfaceMockRecorder) Seeds() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Seeds", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).Seeds))
}
// Shoots mocks base method.
func (m *MockCoreV1beta1Interface) Shoots(arg0 string) v1beta10.ShootInterface {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Shoots", arg0)
ret0, _ := ret[0].(v1beta10.ShootInterface)
return ret0
}
// Shoots indicates an expected call of Shoots.
func (mr *MockCoreV1beta1InterfaceMockRecorder) Shoots(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Shoots", reflect.TypeOf((*MockCoreV1beta1Interface)(nil).Shoots), arg0)
}
// MockShootInterface is a mock of ShootInterface interface.
type MockShootInterface struct {
ctrl *gomock.Controller
recorder *MockShootInterfaceMockRecorder
}
// MockShootInterfaceMockRecorder is the mock recorder for MockShootInterface.
type MockShootInterfaceMockRecorder struct {
mock *MockShootInterface
}
// NewMockShootInterface creates a new mock instance.
func NewMockShootInterface(ctrl *gomock.Controller) *MockShootInterface {
mock := &MockShootInterface{ctrl: ctrl}
mock.recorder = &MockShootInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockShootInterface) EXPECT() *MockShootInterfaceMockRecorder {
return m.recorder
}
// Create mocks base method.
func (m *MockShootInterface) Create(arg0 context.Context, arg1 *v1beta1.Shoot, arg2 v1.CreateOptions) (*v1beta1.Shoot, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Shoot)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Create indicates an expected call of Create.
func (mr *MockShootInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockShootInterface)(nil).Create), arg0, arg1, arg2)
}
// CreateAdminKubeconfigRequest mocks base method.
func (m *MockShootInterface) CreateAdminKubeconfigRequest(arg0 context.Context, arg1 string, arg2 *v1alpha1.AdminKubeconfigRequest, arg3 v1.CreateOptions) (*v1alpha1.AdminKubeconfigRequest, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateAdminKubeconfigRequest", arg0, arg1, arg2, arg3)
ret0, _ := ret[0].(*v1alpha1.AdminKubeconfigRequest)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateAdminKubeconfigRequest indicates an expected call of CreateAdminKubeconfigRequest.
func (mr *MockShootInterfaceMockRecorder) CreateAdminKubeconfigRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAdminKubeconfigRequest", reflect.TypeOf((*MockShootInterface)(nil).CreateAdminKubeconfigRequest), arg0, arg1, arg2, arg3)
}
// Delete mocks base method.
func (m *MockShootInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// Delete indicates an expected call of Delete.
func (mr *MockShootInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockShootInterface)(nil).Delete), arg0, arg1, arg2)
}
// DeleteCollection mocks base method.
func (m *MockShootInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteCollection indicates an expected call of DeleteCollection.
func (mr *MockShootInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockShootInterface)(nil).DeleteCollection), arg0, arg1, arg2)
}
// Get mocks base method.
func (m *MockShootInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions) (*v1beta1.Shoot, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Shoot)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Get indicates an expected call of Get.
func (mr *MockShootInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockShootInterface)(nil).Get), arg0, arg1, arg2)
}
// List mocks base method.
func (m *MockShootInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*v1beta1.ShootList, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "List", arg0, arg1)
ret0, _ := ret[0].(*v1beta1.ShootList)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// List indicates an expected call of List.
func (mr *MockShootInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockShootInterface)(nil).List), arg0, arg1)
}
// Patch mocks base method.
func (m *MockShootInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v1.PatchOptions, arg5 ...string) (*v1beta1.Shoot, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2, arg3, arg4}
for _, a := range arg5 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "Patch", varargs...)
ret0, _ := ret[0].(*v1beta1.Shoot)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Patch indicates an expected call of Patch.
func (mr *MockShootInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2, arg3, arg4}, arg5...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockShootInterface)(nil).Patch), varargs...)
}
// Update mocks base method.
func (m *MockShootInterface) Update(arg0 context.Context, arg1 *v1beta1.Shoot, arg2 v1.UpdateOptions) (*v1beta1.Shoot, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Update", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Shoot)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Update indicates an expected call of Update.
func (mr *MockShootInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockShootInterface)(nil).Update), arg0, arg1, arg2)
}
// UpdateStatus mocks base method.
func (m *MockShootInterface) UpdateStatus(arg0 context.Context, arg1 *v1beta1.Shoot, arg2 v1.UpdateOptions) (*v1beta1.Shoot, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateStatus", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Shoot)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateStatus indicates an expected call of UpdateStatus.
func (mr *MockShootInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockShootInterface)(nil).UpdateStatus), arg0, arg1, arg2)
}
// Watch mocks base method.
func (m *MockShootInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Watch", arg0, arg1)
ret0, _ := ret[0].(watch.Interface)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Watch indicates an expected call of Watch.
func (mr *MockShootInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockShootInterface)(nil).Watch), arg0, arg1)
}
// MockSeedInterface is a mock of SeedInterface interface.
type MockSeedInterface struct {
ctrl *gomock.Controller
recorder *MockSeedInterfaceMockRecorder
}
// MockSeedInterfaceMockRecorder is the mock recorder for MockSeedInterface.
type MockSeedInterfaceMockRecorder struct {
mock *MockSeedInterface
}
// NewMockSeedInterface creates a new mock instance.
func NewMockSeedInterface(ctrl *gomock.Controller) *MockSeedInterface {
mock := &MockSeedInterface{ctrl: ctrl}
mock.recorder = &MockSeedInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockSeedInterface) EXPECT() *MockSeedInterfaceMockRecorder {
return m.recorder
}
// Create mocks base method.
func (m *MockSeedInterface) Create(arg0 context.Context, arg1 *v1beta1.Seed, arg2 v1.CreateOptions) (*v1beta1.Seed, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Seed)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Create indicates an expected call of Create.
func (mr *MockSeedInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockSeedInterface)(nil).Create), arg0, arg1, arg2)
}
// Delete mocks base method.
func (m *MockSeedInterface) Delete(arg0 context.Context, arg1 string, arg2 v1.DeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Delete", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// Delete indicates an expected call of Delete.
func (mr *MockSeedInterfaceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockSeedInterface)(nil).Delete), arg0, arg1, arg2)
}
// DeleteCollection mocks base method.
func (m *MockSeedInterface) DeleteCollection(arg0 context.Context, arg1 v1.DeleteOptions, arg2 v1.ListOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCollection", arg0, arg1, arg2)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteCollection indicates an expected call of DeleteCollection.
func (mr *MockSeedInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCollection", reflect.TypeOf((*MockSeedInterface)(nil).DeleteCollection), arg0, arg1, arg2)
}
// Get mocks base method.
func (m *MockSeedInterface) Get(arg0 context.Context, arg1 string, arg2 v1.GetOptions) (*v1beta1.Seed, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Get", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Seed)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Get indicates an expected call of Get.
func (mr *MockSeedInterfaceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockSeedInterface)(nil).Get), arg0, arg1, arg2)
}
// List mocks base method.
func (m *MockSeedInterface) List(arg0 context.Context, arg1 v1.ListOptions) (*v1beta1.SeedList, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "List", arg0, arg1)
ret0, _ := ret[0].(*v1beta1.SeedList)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// List indicates an expected call of List.
func (mr *MockSeedInterfaceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockSeedInterface)(nil).List), arg0, arg1)
}
// Patch mocks base method.
func (m *MockSeedInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v1.PatchOptions, arg5 ...string) (*v1beta1.Seed, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2, arg3, arg4}
for _, a := range arg5 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "Patch", varargs...)
ret0, _ := ret[0].(*v1beta1.Seed)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Patch indicates an expected call of Patch.
func (mr *MockSeedInterfaceMockRecorder) Patch(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2, arg3, arg4}, arg5...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Patch", reflect.TypeOf((*MockSeedInterface)(nil).Patch), varargs...)
}
// Update mocks base method.
func (m *MockSeedInterface) Update(arg0 context.Context, arg1 *v1beta1.Seed, arg2 v1.UpdateOptions) (*v1beta1.Seed, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Update", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Seed)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Update indicates an expected call of Update.
func (mr *MockSeedInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockSeedInterface)(nil).Update), arg0, arg1, arg2)
}
// UpdateStatus mocks base method.
func (m *MockSeedInterface) UpdateStatus(arg0 context.Context, arg1 *v1beta1.Seed, arg2 v1.UpdateOptions) (*v1beta1.Seed, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateStatus", arg0, arg1, arg2)
ret0, _ := ret[0].(*v1beta1.Seed)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateStatus indicates an expected call of UpdateStatus.
func (mr *MockSeedInterfaceMockRecorder) UpdateStatus(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStatus", reflect.TypeOf((*MockSeedInterface)(nil).UpdateStatus), arg0, arg1, arg2)
}
// Watch mocks base method.
func (m *MockSeedInterface) Watch(arg0 context.Context, arg1 v1.ListOptions) (watch.Interface, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Watch", arg0, arg1)
ret0, _ := ret[0].(watch.Interface)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Watch indicates an expected call of Watch.
func (mr *MockSeedInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Watch", reflect.TypeOf((*MockSeedInterface)(nil).Watch), arg0, arg1)
}