-
Notifications
You must be signed in to change notification settings - Fork 0
/
types_mock.go
1124 lines (969 loc) · 48.4 KB
/
types_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
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by MockGen. DO NOT EDIT.
// Source: ./types.go
package cloud
import (
context "context"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockInterface is a mock of Interface interface.
type MockInterface struct {
ctrl *gomock.Controller
recorder *MockInterfaceMockRecorder
}
// MockInterfaceMockRecorder is the mock recorder for MockInterface.
type MockInterfaceMockRecorder struct {
mock *MockInterface
}
// NewMockInterface creates a new mock instance.
func NewMockInterface(ctrl *gomock.Controller) *MockInterface {
mock := &MockInterface{ctrl: ctrl}
mock.recorder = &MockInterfaceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder {
return m.recorder
}
// CreateAPI mocks base method.
func (m *MockInterface) CreateAPI(ctx context.Context, api *API, opts *ResourceCreateOptions) (*API, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateAPI", ctx, api, opts)
ret0, _ := ret[0].(*API)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateAPI indicates an expected call of CreateAPI.
func (mr *MockInterfaceMockRecorder) CreateAPI(ctx, api, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAPI", reflect.TypeOf((*MockInterface)(nil).CreateAPI), ctx, api, opts)
}
// CreateAccessToken mocks base method.
func (m *MockInterface) CreateAccessToken(ctx context.Context, token *AccessToken) (*AccessToken, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateAccessToken", ctx, token)
ret0, _ := ret[0].(*AccessToken)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateAccessToken indicates an expected call of CreateAccessToken.
func (mr *MockInterfaceMockRecorder) CreateAccessToken(ctx, token interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAccessToken", reflect.TypeOf((*MockInterface)(nil).CreateAccessToken), ctx, token)
}
// CreateApplication mocks base method.
func (m *MockInterface) CreateApplication(ctx context.Context, app *Application, opts *ResourceCreateOptions) (*Application, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateApplication", ctx, app, opts)
ret0, _ := ret[0].(*Application)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateApplication indicates an expected call of CreateApplication.
func (mr *MockInterfaceMockRecorder) CreateApplication(ctx, app, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateApplication", reflect.TypeOf((*MockInterface)(nil).CreateApplication), ctx, app, opts)
}
// CreateCanaryRelease mocks base method.
func (m *MockInterface) CreateCanaryRelease(ctx context.Context, cr *CanaryRelease, opts *ResourceCreateOptions) (*CanaryRelease, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateCanaryRelease", ctx, cr, opts)
ret0, _ := ret[0].(*CanaryRelease)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateCanaryRelease indicates an expected call of CreateCanaryRelease.
func (mr *MockInterfaceMockRecorder) CreateCanaryRelease(ctx, cr, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCanaryRelease", reflect.TypeOf((*MockInterface)(nil).CreateCanaryRelease), ctx, cr, opts)
}
// CreateCertificate mocks base method.
func (m *MockInterface) CreateCertificate(ctx context.Context, cert *Certificate, opts *ResourceCreateOptions) (*CertificateDetails, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateCertificate", ctx, cert, opts)
ret0, _ := ret[0].(*CertificateDetails)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateCertificate indicates an expected call of CreateCertificate.
func (mr *MockInterfaceMockRecorder) CreateCertificate(ctx, cert, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCertificate", reflect.TypeOf((*MockInterface)(nil).CreateCertificate), ctx, cert, opts)
}
// CreateConsumer mocks base method.
func (m *MockInterface) CreateConsumer(ctx context.Context, consumer *Consumer, opts *ResourceCreateOptions) (*Consumer, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateConsumer", ctx, consumer, opts)
ret0, _ := ret[0].(*Consumer)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateConsumer indicates an expected call of CreateConsumer.
func (mr *MockInterfaceMockRecorder) CreateConsumer(ctx, consumer, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateConsumer", reflect.TypeOf((*MockInterface)(nil).CreateConsumer), ctx, consumer, opts)
}
// CreateLogCollection mocks base method.
func (m *MockInterface) CreateLogCollection(ctx context.Context, lc *LogCollection, opts *ResourceCreateOptions) (*LogCollection, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateLogCollection", ctx, lc, opts)
ret0, _ := ret[0].(*LogCollection)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateLogCollection indicates an expected call of CreateLogCollection.
func (mr *MockInterfaceMockRecorder) CreateLogCollection(ctx, lc, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogCollection", reflect.TypeOf((*MockInterface)(nil).CreateLogCollection), ctx, lc, opts)
}
// CreateServiceRegistry mocks base method.
func (m *MockInterface) CreateServiceRegistry(ctx context.Context, registry *ServiceRegistry, opts *ResourceCreateOptions) (*ServiceRegistry, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateServiceRegistry", ctx, registry, opts)
ret0, _ := ret[0].(*ServiceRegistry)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateServiceRegistry indicates an expected call of CreateServiceRegistry.
func (mr *MockInterfaceMockRecorder) CreateServiceRegistry(ctx, registry, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServiceRegistry", reflect.TypeOf((*MockInterface)(nil).CreateServiceRegistry), ctx, registry, opts)
}
// DebugAPIResources mocks base method.
func (m *MockInterface) DebugAPIResources(ctx context.Context, apiID ID, opts *ResourceGetOptions) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DebugAPIResources", ctx, apiID, opts)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DebugAPIResources indicates an expected call of DebugAPIResources.
func (mr *MockInterfaceMockRecorder) DebugAPIResources(ctx, apiID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DebugAPIResources", reflect.TypeOf((*MockInterface)(nil).DebugAPIResources), ctx, apiID, opts)
}
// DebugApplicationResources mocks base method.
func (m *MockInterface) DebugApplicationResources(ctx context.Context, appID ID, opts *ResourceGetOptions) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DebugApplicationResources", ctx, appID, opts)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DebugApplicationResources indicates an expected call of DebugApplicationResources.
func (mr *MockInterfaceMockRecorder) DebugApplicationResources(ctx, appID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DebugApplicationResources", reflect.TypeOf((*MockInterface)(nil).DebugApplicationResources), ctx, appID, opts)
}
// DebugCertificateResources mocks base method.
func (m *MockInterface) DebugCertificateResources(ctx context.Context, appID ID, opts *ResourceGetOptions) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DebugCertificateResources", ctx, appID, opts)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DebugCertificateResources indicates an expected call of DebugCertificateResources.
func (mr *MockInterfaceMockRecorder) DebugCertificateResources(ctx, appID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DebugCertificateResources", reflect.TypeOf((*MockInterface)(nil).DebugCertificateResources), ctx, appID, opts)
}
// DebugClusterSettings mocks base method.
func (m *MockInterface) DebugClusterSettings(ctx context.Context, opts *ResourceGetOptions) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DebugClusterSettings", ctx, opts)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DebugClusterSettings indicates an expected call of DebugClusterSettings.
func (mr *MockInterfaceMockRecorder) DebugClusterSettings(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DebugClusterSettings", reflect.TypeOf((*MockInterface)(nil).DebugClusterSettings), ctx, opts)
}
// DebugConsumerResources mocks base method.
func (m *MockInterface) DebugConsumerResources(ctx context.Context, consumerID ID, opts *ResourceGetOptions) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DebugConsumerResources", ctx, consumerID, opts)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DebugConsumerResources indicates an expected call of DebugConsumerResources.
func (mr *MockInterfaceMockRecorder) DebugConsumerResources(ctx, consumerID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DebugConsumerResources", reflect.TypeOf((*MockInterface)(nil).DebugConsumerResources), ctx, consumerID, opts)
}
// DeleteAPI mocks base method.
func (m *MockInterface) DeleteAPI(ctx context.Context, apiID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteAPI", ctx, apiID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteAPI indicates an expected call of DeleteAPI.
func (mr *MockInterfaceMockRecorder) DeleteAPI(ctx, apiID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAPI", reflect.TypeOf((*MockInterface)(nil).DeleteAPI), ctx, apiID, opts)
}
// DeleteAccessToken mocks base method.
func (m *MockInterface) DeleteAccessToken(ctx context.Context, token *AccessToken) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteAccessToken", ctx, token)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteAccessToken indicates an expected call of DeleteAccessToken.
func (mr *MockInterfaceMockRecorder) DeleteAccessToken(ctx, token interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAccessToken", reflect.TypeOf((*MockInterface)(nil).DeleteAccessToken), ctx, token)
}
// DeleteApplication mocks base method.
func (m *MockInterface) DeleteApplication(ctx context.Context, appID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteApplication", ctx, appID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteApplication indicates an expected call of DeleteApplication.
func (mr *MockInterfaceMockRecorder) DeleteApplication(ctx, appID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteApplication", reflect.TypeOf((*MockInterface)(nil).DeleteApplication), ctx, appID, opts)
}
// DeleteCanaryRelease mocks base method.
func (m *MockInterface) DeleteCanaryRelease(ctx context.Context, crID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCanaryRelease", ctx, crID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteCanaryRelease indicates an expected call of DeleteCanaryRelease.
func (mr *MockInterfaceMockRecorder) DeleteCanaryRelease(ctx, crID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCanaryRelease", reflect.TypeOf((*MockInterface)(nil).DeleteCanaryRelease), ctx, crID, opts)
}
// DeleteCertificate mocks base method.
func (m *MockInterface) DeleteCertificate(ctx context.Context, certID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCertificate", ctx, certID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteCertificate indicates an expected call of DeleteCertificate.
func (mr *MockInterfaceMockRecorder) DeleteCertificate(ctx, certID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCertificate", reflect.TypeOf((*MockInterface)(nil).DeleteCertificate), ctx, certID, opts)
}
// DeleteConsumer mocks base method.
func (m *MockInterface) DeleteConsumer(ctx context.Context, consumerID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteConsumer", ctx, consumerID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteConsumer indicates an expected call of DeleteConsumer.
func (mr *MockInterfaceMockRecorder) DeleteConsumer(ctx, consumerID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteConsumer", reflect.TypeOf((*MockInterface)(nil).DeleteConsumer), ctx, consumerID, opts)
}
// DeleteLogCollection mocks base method.
func (m *MockInterface) DeleteLogCollection(ctx context.Context, lcID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteLogCollection", ctx, lcID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteLogCollection indicates an expected call of DeleteLogCollection.
func (mr *MockInterfaceMockRecorder) DeleteLogCollection(ctx, lcID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogCollection", reflect.TypeOf((*MockInterface)(nil).DeleteLogCollection), ctx, lcID, opts)
}
// DeleteServiceRegistry mocks base method.
func (m *MockInterface) DeleteServiceRegistry(ctx context.Context, registryID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteServiceRegistry", ctx, registryID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// DeleteServiceRegistry indicates an expected call of DeleteServiceRegistry.
func (mr *MockInterfaceMockRecorder) DeleteServiceRegistry(ctx, registryID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteServiceRegistry", reflect.TypeOf((*MockInterface)(nil).DeleteServiceRegistry), ctx, registryID, opts)
}
// FinishCanaryRelease mocks base method.
func (m *MockInterface) FinishCanaryRelease(ctx context.Context, cr *CanaryRelease, opts *ResourceUpdateOptions) (*CanaryRelease, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "FinishCanaryRelease", ctx, cr, opts)
ret0, _ := ret[0].(*CanaryRelease)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// FinishCanaryRelease indicates an expected call of FinishCanaryRelease.
func (mr *MockInterfaceMockRecorder) FinishCanaryRelease(ctx, cr, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FinishCanaryRelease", reflect.TypeOf((*MockInterface)(nil).FinishCanaryRelease), ctx, cr, opts)
}
// GenerateGatewaySideCertificate mocks base method.
func (m *MockInterface) GenerateGatewaySideCertificate(ctx context.Context, clusterID ID, opts *ResourceCreateOptions) (*TLSBundle, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GenerateGatewaySideCertificate", ctx, clusterID, opts)
ret0, _ := ret[0].(*TLSBundle)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GenerateGatewaySideCertificate indicates an expected call of GenerateGatewaySideCertificate.
func (mr *MockInterfaceMockRecorder) GenerateGatewaySideCertificate(ctx, clusterID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenerateGatewaySideCertificate", reflect.TypeOf((*MockInterface)(nil).GenerateGatewaySideCertificate), ctx, clusterID, opts)
}
// GetAPI mocks base method.
func (m *MockInterface) GetAPI(ctx context.Context, apiID ID, opts *ResourceGetOptions) (*API, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetAPI", ctx, apiID, opts)
ret0, _ := ret[0].(*API)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetAPI indicates an expected call of GetAPI.
func (mr *MockInterfaceMockRecorder) GetAPI(ctx, apiID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAPI", reflect.TypeOf((*MockInterface)(nil).GetAPI), ctx, apiID, opts)
}
// GetApplication mocks base method.
func (m *MockInterface) GetApplication(ctx context.Context, appID ID, opts *ResourceGetOptions) (*Application, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetApplication", ctx, appID, opts)
ret0, _ := ret[0].(*Application)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetApplication indicates an expected call of GetApplication.
func (mr *MockInterfaceMockRecorder) GetApplication(ctx, appID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetApplication", reflect.TypeOf((*MockInterface)(nil).GetApplication), ctx, appID, opts)
}
// GetCanaryRelease mocks base method.
func (m *MockInterface) GetCanaryRelease(ctx context.Context, crID ID, opts *ResourceGetOptions) (*CanaryRelease, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCanaryRelease", ctx, crID, opts)
ret0, _ := ret[0].(*CanaryRelease)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCanaryRelease indicates an expected call of GetCanaryRelease.
func (mr *MockInterfaceMockRecorder) GetCanaryRelease(ctx, crID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCanaryRelease", reflect.TypeOf((*MockInterface)(nil).GetCanaryRelease), ctx, crID, opts)
}
// GetCertificate mocks base method.
func (m *MockInterface) GetCertificate(ctx context.Context, certID ID, opts *ResourceGetOptions) (*CertificateDetails, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCertificate", ctx, certID, opts)
ret0, _ := ret[0].(*CertificateDetails)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCertificate indicates an expected call of GetCertificate.
func (mr *MockInterfaceMockRecorder) GetCertificate(ctx, certID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCertificate", reflect.TypeOf((*MockInterface)(nil).GetCertificate), ctx, certID, opts)
}
// GetCluster mocks base method.
func (m *MockInterface) GetCluster(ctx context.Context, clusterID ID, opts *ResourceGetOptions) (*Cluster, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCluster", ctx, clusterID, opts)
ret0, _ := ret[0].(*Cluster)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCluster indicates an expected call of GetCluster.
func (mr *MockInterfaceMockRecorder) GetCluster(ctx, clusterID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCluster", reflect.TypeOf((*MockInterface)(nil).GetCluster), ctx, clusterID, opts)
}
// GetConsumer mocks base method.
func (m *MockInterface) GetConsumer(ctx context.Context, consumerID ID, opts *ResourceGetOptions) (*Consumer, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetConsumer", ctx, consumerID, opts)
ret0, _ := ret[0].(*Consumer)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetConsumer indicates an expected call of GetConsumer.
func (mr *MockInterfaceMockRecorder) GetConsumer(ctx, consumerID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConsumer", reflect.TypeOf((*MockInterface)(nil).GetConsumer), ctx, consumerID, opts)
}
// GetGatewayInstanceStartupConfigTemplate mocks base method.
func (m *MockInterface) GetGatewayInstanceStartupConfigTemplate(ctx context.Context, clusterID ID, configType string, opts *ResourceGetOptions) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetGatewayInstanceStartupConfigTemplate", ctx, clusterID, configType, opts)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetGatewayInstanceStartupConfigTemplate indicates an expected call of GetGatewayInstanceStartupConfigTemplate.
func (mr *MockInterfaceMockRecorder) GetGatewayInstanceStartupConfigTemplate(ctx, clusterID, configType, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGatewayInstanceStartupConfigTemplate", reflect.TypeOf((*MockInterface)(nil).GetGatewayInstanceStartupConfigTemplate), ctx, clusterID, configType, opts)
}
// GetLogCollection mocks base method.
func (m *MockInterface) GetLogCollection(ctx context.Context, lcID ID, opts *ResourceGetOptions) (*LogCollection, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetLogCollection", ctx, lcID, opts)
ret0, _ := ret[0].(*LogCollection)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetLogCollection indicates an expected call of GetLogCollection.
func (mr *MockInterfaceMockRecorder) GetLogCollection(ctx, lcID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogCollection", reflect.TypeOf((*MockInterface)(nil).GetLogCollection), ctx, lcID, opts)
}
// GetMember mocks base method.
func (m *MockInterface) GetMember(ctx context.Context, memberID ID, opts *ResourceGetOptions) (*Member, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetMember", ctx, memberID, opts)
ret0, _ := ret[0].(*Member)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetMember indicates an expected call of GetMember.
func (mr *MockInterfaceMockRecorder) GetMember(ctx, memberID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMember", reflect.TypeOf((*MockInterface)(nil).GetMember), ctx, memberID, opts)
}
// GetOrganization mocks base method.
func (m *MockInterface) GetOrganization(ctx context.Context, orgID ID, opts *ResourceGetOptions) (*Organization, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetOrganization", ctx, orgID, opts)
ret0, _ := ret[0].(*Organization)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetOrganization indicates an expected call of GetOrganization.
func (mr *MockInterfaceMockRecorder) GetOrganization(ctx, orgID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOrganization", reflect.TypeOf((*MockInterface)(nil).GetOrganization), ctx, orgID, opts)
}
// GetServiceRegistry mocks base method.
func (m *MockInterface) GetServiceRegistry(ctx context.Context, registryID ID, opts *ResourceGetOptions) (*ServiceRegistry, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetServiceRegistry", ctx, registryID, opts)
ret0, _ := ret[0].(*ServiceRegistry)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetServiceRegistry indicates an expected call of GetServiceRegistry.
func (mr *MockInterfaceMockRecorder) GetServiceRegistry(ctx, registryID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceRegistry", reflect.TypeOf((*MockInterface)(nil).GetServiceRegistry), ctx, registryID, opts)
}
// InviteMember mocks base method.
func (m *MockInterface) InviteMember(ctx context.Context, email string, role *Role, opts *ResourceCreateOptions) (*Member, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "InviteMember", ctx, email, role, opts)
ret0, _ := ret[0].(*Member)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// InviteMember indicates an expected call of InviteMember.
func (mr *MockInterfaceMockRecorder) InviteMember(ctx, email, role, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InviteMember", reflect.TypeOf((*MockInterface)(nil).InviteMember), ctx, email, role, opts)
}
// ListAPIs mocks base method.
func (m *MockInterface) ListAPIs(ctx context.Context, opts *ResourceListOptions) (APIListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListAPIs", ctx, opts)
ret0, _ := ret[0].(APIListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListAPIs indicates an expected call of ListAPIs.
func (mr *MockInterfaceMockRecorder) ListAPIs(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAPIs", reflect.TypeOf((*MockInterface)(nil).ListAPIs), ctx, opts)
}
// ListAllAPILabels mocks base method.
func (m *MockInterface) ListAllAPILabels(ctx context.Context, clusterID ID, opts *ResourceListOptions) ([]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListAllAPILabels", ctx, clusterID, opts)
ret0, _ := ret[0].([]string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListAllAPILabels indicates an expected call of ListAllAPILabels.
func (mr *MockInterfaceMockRecorder) ListAllAPILabels(ctx, clusterID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAllAPILabels", reflect.TypeOf((*MockInterface)(nil).ListAllAPILabels), ctx, clusterID, opts)
}
// ListAllApplicationLabels mocks base method.
func (m *MockInterface) ListAllApplicationLabels(ctx context.Context, clusterID ID, opts *ResourceListOptions) ([]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListAllApplicationLabels", ctx, clusterID, opts)
ret0, _ := ret[0].([]string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListAllApplicationLabels indicates an expected call of ListAllApplicationLabels.
func (mr *MockInterfaceMockRecorder) ListAllApplicationLabels(ctx, clusterID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAllApplicationLabels", reflect.TypeOf((*MockInterface)(nil).ListAllApplicationLabels), ctx, clusterID, opts)
}
// ListAllCertificateLabels mocks base method.
func (m *MockInterface) ListAllCertificateLabels(ctx context.Context, clusterID ID, opts *ResourceListOptions) ([]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListAllCertificateLabels", ctx, clusterID, opts)
ret0, _ := ret[0].([]string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListAllCertificateLabels indicates an expected call of ListAllCertificateLabels.
func (mr *MockInterfaceMockRecorder) ListAllCertificateLabels(ctx, clusterID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAllCertificateLabels", reflect.TypeOf((*MockInterface)(nil).ListAllCertificateLabels), ctx, clusterID, opts)
}
// ListAllConsumerLabels mocks base method.
func (m *MockInterface) ListAllConsumerLabels(ctx context.Context, clusterID ID, opts *ResourceListOptions) ([]string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListAllConsumerLabels", ctx, clusterID, opts)
ret0, _ := ret[0].([]string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListAllConsumerLabels indicates an expected call of ListAllConsumerLabels.
func (mr *MockInterfaceMockRecorder) ListAllConsumerLabels(ctx, clusterID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAllConsumerLabels", reflect.TypeOf((*MockInterface)(nil).ListAllConsumerLabels), ctx, clusterID, opts)
}
// ListAllGatewayInstances mocks base method.
func (m *MockInterface) ListAllGatewayInstances(ctx context.Context, clusterID ID, opts *ResourceListOptions) ([]GatewayInstance, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListAllGatewayInstances", ctx, clusterID, opts)
ret0, _ := ret[0].([]GatewayInstance)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListAllGatewayInstances indicates an expected call of ListAllGatewayInstances.
func (mr *MockInterfaceMockRecorder) ListAllGatewayInstances(ctx, clusterID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAllGatewayInstances", reflect.TypeOf((*MockInterface)(nil).ListAllGatewayInstances), ctx, clusterID, opts)
}
// ListApplications mocks base method.
func (m *MockInterface) ListApplications(ctx context.Context, opts *ResourceListOptions) (ApplicationListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListApplications", ctx, opts)
ret0, _ := ret[0].(ApplicationListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListApplications indicates an expected call of ListApplications.
func (mr *MockInterfaceMockRecorder) ListApplications(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListApplications", reflect.TypeOf((*MockInterface)(nil).ListApplications), ctx, opts)
}
// ListCanaryReleases mocks base method.
func (m *MockInterface) ListCanaryReleases(ctx context.Context, opts *ResourceListOptions) (CanaryReleaseListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListCanaryReleases", ctx, opts)
ret0, _ := ret[0].(CanaryReleaseListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListCanaryReleases indicates an expected call of ListCanaryReleases.
func (mr *MockInterfaceMockRecorder) ListCanaryReleases(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCanaryReleases", reflect.TypeOf((*MockInterface)(nil).ListCanaryReleases), ctx, opts)
}
// ListCertificates mocks base method.
func (m *MockInterface) ListCertificates(ctx context.Context, opts *ResourceListOptions) (CertificateListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListCertificates", ctx, opts)
ret0, _ := ret[0].(CertificateListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListCertificates indicates an expected call of ListCertificates.
func (mr *MockInterfaceMockRecorder) ListCertificates(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCertificates", reflect.TypeOf((*MockInterface)(nil).ListCertificates), ctx, opts)
}
// ListClusters mocks base method.
func (m *MockInterface) ListClusters(ctx context.Context, opts *ResourceListOptions) (ClusterListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListClusters", ctx, opts)
ret0, _ := ret[0].(ClusterListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListClusters indicates an expected call of ListClusters.
func (mr *MockInterfaceMockRecorder) ListClusters(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListClusters", reflect.TypeOf((*MockInterface)(nil).ListClusters), ctx, opts)
}
// ListConsumers mocks base method.
func (m *MockInterface) ListConsumers(ctx context.Context, opts *ResourceListOptions) (ConsumerListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListConsumers", ctx, opts)
ret0, _ := ret[0].(ConsumerListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListConsumers indicates an expected call of ListConsumers.
func (mr *MockInterfaceMockRecorder) ListConsumers(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListConsumers", reflect.TypeOf((*MockInterface)(nil).ListConsumers), ctx, opts)
}
// ListLogCollections mocks base method.
func (m *MockInterface) ListLogCollections(ctx context.Context, opts *ResourceListOptions) (LogCollectionIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListLogCollections", ctx, opts)
ret0, _ := ret[0].(LogCollectionIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListLogCollections indicates an expected call of ListLogCollections.
func (mr *MockInterfaceMockRecorder) ListLogCollections(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogCollections", reflect.TypeOf((*MockInterface)(nil).ListLogCollections), ctx, opts)
}
// ListMembers mocks base method.
func (m *MockInterface) ListMembers(ctx context.Context, opts *ResourceListOptions) (MemberListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListMembers", ctx, opts)
ret0, _ := ret[0].(MemberListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListMembers indicates an expected call of ListMembers.
func (mr *MockInterfaceMockRecorder) ListMembers(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListMembers", reflect.TypeOf((*MockInterface)(nil).ListMembers), ctx, opts)
}
// ListRegions mocks base method.
func (m *MockInterface) ListRegions(ctx context.Context, opts *ResourceListOptions) (RegionListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListRegions", ctx, opts)
ret0, _ := ret[0].(RegionListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListRegions indicates an expected call of ListRegions.
func (mr *MockInterfaceMockRecorder) ListRegions(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRegions", reflect.TypeOf((*MockInterface)(nil).ListRegions), ctx, opts)
}
// ListRoles mocks base method.
func (m *MockInterface) ListRoles(ctx context.Context, opts *ResourceListOptions) (RoleListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListRoles", ctx, opts)
ret0, _ := ret[0].(RoleListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListRoles indicates an expected call of ListRoles.
func (mr *MockInterfaceMockRecorder) ListRoles(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRoles", reflect.TypeOf((*MockInterface)(nil).ListRoles), ctx, opts)
}
// ListServiceRegistries mocks base method.
func (m *MockInterface) ListServiceRegistries(ctx context.Context, opts *ResourceListOptions) (ServiceRegistryListIterator, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListServiceRegistries", ctx, opts)
ret0, _ := ret[0].(ServiceRegistryListIterator)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListServiceRegistries indicates an expected call of ListServiceRegistries.
func (mr *MockInterfaceMockRecorder) ListServiceRegistries(ctx, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListServiceRegistries", reflect.TypeOf((*MockInterface)(nil).ListServiceRegistries), ctx, opts)
}
// Me mocks base method.
func (m *MockInterface) Me(ctx context.Context) (*User, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Me", ctx)
ret0, _ := ret[0].(*User)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Me indicates an expected call of Me.
func (mr *MockInterfaceMockRecorder) Me(ctx interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Me", reflect.TypeOf((*MockInterface)(nil).Me), ctx)
}
// PauseCanaryRelease mocks base method.
func (m *MockInterface) PauseCanaryRelease(ctx context.Context, cr *CanaryRelease, opts *ResourceUpdateOptions) (*CanaryRelease, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PauseCanaryRelease", ctx, cr, opts)
ret0, _ := ret[0].(*CanaryRelease)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PauseCanaryRelease indicates an expected call of PauseCanaryRelease.
func (mr *MockInterfaceMockRecorder) PauseCanaryRelease(ctx, cr, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PauseCanaryRelease", reflect.TypeOf((*MockInterface)(nil).PauseCanaryRelease), ctx, cr, opts)
}
// PublishAPI mocks base method.
func (m *MockInterface) PublishAPI(ctx context.Context, apiID ID, opts *ResourceUpdateOptions) (*API, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PublishAPI", ctx, apiID, opts)
ret0, _ := ret[0].(*API)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PublishAPI indicates an expected call of PublishAPI.
func (mr *MockInterfaceMockRecorder) PublishAPI(ctx, apiID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishAPI", reflect.TypeOf((*MockInterface)(nil).PublishAPI), ctx, apiID, opts)
}
// PublishApplication mocks base method.
func (m *MockInterface) PublishApplication(ctx context.Context, appID ID, opts *ResourceUpdateOptions) (*Application, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "PublishApplication", ctx, appID, opts)
ret0, _ := ret[0].(*Application)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// PublishApplication indicates an expected call of PublishApplication.
func (mr *MockInterfaceMockRecorder) PublishApplication(ctx, appID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PublishApplication", reflect.TypeOf((*MockInterface)(nil).PublishApplication), ctx, appID, opts)
}
// ReInviteMember mocks base method.
func (m *MockInterface) ReInviteMember(ctx context.Context, memberID ID, opts *ResourceUpdateOptions) (*Member, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ReInviteMember", ctx, memberID, opts)
ret0, _ := ret[0].(*Member)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ReInviteMember indicates an expected call of ReInviteMember.
func (mr *MockInterfaceMockRecorder) ReInviteMember(ctx, memberID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReInviteMember", reflect.TypeOf((*MockInterface)(nil).ReInviteMember), ctx, memberID, opts)
}
// RemoveMember mocks base method.
func (m *MockInterface) RemoveMember(ctx context.Context, memberID ID, opts *ResourceDeleteOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "RemoveMember", ctx, memberID, opts)
ret0, _ := ret[0].(error)
return ret0
}
// RemoveMember indicates an expected call of RemoveMember.
func (mr *MockInterfaceMockRecorder) RemoveMember(ctx, memberID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveMember", reflect.TypeOf((*MockInterface)(nil).RemoveMember), ctx, memberID, opts)
}
// SetGlobalClusterID mocks base method.
func (m *MockInterface) SetGlobalClusterID(id ID) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "SetGlobalClusterID", id)
}
// SetGlobalClusterID indicates an expected call of SetGlobalClusterID.
func (mr *MockInterfaceMockRecorder) SetGlobalClusterID(id interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetGlobalClusterID", reflect.TypeOf((*MockInterface)(nil).SetGlobalClusterID), id)
}
// StartCanaryRelease mocks base method.
func (m *MockInterface) StartCanaryRelease(ctx context.Context, cr *CanaryRelease, opts *ResourceUpdateOptions) (*CanaryRelease, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "StartCanaryRelease", ctx, cr, opts)
ret0, _ := ret[0].(*CanaryRelease)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// StartCanaryRelease indicates an expected call of StartCanaryRelease.
func (mr *MockInterfaceMockRecorder) StartCanaryRelease(ctx, cr, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartCanaryRelease", reflect.TypeOf((*MockInterface)(nil).StartCanaryRelease), ctx, cr, opts)
}
// TraceChan mocks base method.
func (m *MockInterface) TraceChan() <-chan *TraceSeries {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "TraceChan")
ret0, _ := ret[0].(<-chan *TraceSeries)
return ret0
}
// TraceChan indicates an expected call of TraceChan.
func (mr *MockInterfaceMockRecorder) TraceChan() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TraceChan", reflect.TypeOf((*MockInterface)(nil).TraceChan))
}
// TransferOwnership mocks base method.
func (m *MockInterface) TransferOwnership(ctx context.Context, toMember ID, opts *ResourceUpdateOptions) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "TransferOwnership", ctx, toMember, opts)
ret0, _ := ret[0].(error)
return ret0
}
// TransferOwnership indicates an expected call of TransferOwnership.
func (mr *MockInterfaceMockRecorder) TransferOwnership(ctx, toMember, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TransferOwnership", reflect.TypeOf((*MockInterface)(nil).TransferOwnership), ctx, toMember, opts)
}
// UnpublishAPI mocks base method.
func (m *MockInterface) UnpublishAPI(ctx context.Context, apiID ID, opts *ResourceUpdateOptions) (*API, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UnpublishAPI", ctx, apiID, opts)
ret0, _ := ret[0].(*API)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UnpublishAPI indicates an expected call of UnpublishAPI.
func (mr *MockInterfaceMockRecorder) UnpublishAPI(ctx, apiID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnpublishAPI", reflect.TypeOf((*MockInterface)(nil).UnpublishAPI), ctx, apiID, opts)
}
// UnpublishApplication mocks base method.
func (m *MockInterface) UnpublishApplication(ctx context.Context, appID ID, opts *ResourceUpdateOptions) (*Application, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UnpublishApplication", ctx, appID, opts)
ret0, _ := ret[0].(*Application)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UnpublishApplication indicates an expected call of UnpublishApplication.
func (mr *MockInterfaceMockRecorder) UnpublishApplication(ctx, appID, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnpublishApplication", reflect.TypeOf((*MockInterface)(nil).UnpublishApplication), ctx, appID, opts)
}
// UpdateAPI mocks base method.
func (m *MockInterface) UpdateAPI(ctx context.Context, api *API, opts *ResourceUpdateOptions) (*API, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateAPI", ctx, api, opts)
ret0, _ := ret[0].(*API)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateAPI indicates an expected call of UpdateAPI.
func (mr *MockInterfaceMockRecorder) UpdateAPI(ctx, api, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateAPI", reflect.TypeOf((*MockInterface)(nil).UpdateAPI), ctx, api, opts)
}
// UpdateApplication mocks base method.
func (m *MockInterface) UpdateApplication(ctx context.Context, app *Application, opts *ResourceUpdateOptions) (*Application, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateApplication", ctx, app, opts)
ret0, _ := ret[0].(*Application)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateApplication indicates an expected call of UpdateApplication.
func (mr *MockInterfaceMockRecorder) UpdateApplication(ctx, app, opts interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateApplication", reflect.TypeOf((*MockInterface)(nil).UpdateApplication), ctx, app, opts)
}
// UpdateCanaryRelease mocks base method.
func (m *MockInterface) UpdateCanaryRelease(ctx context.Context, cr *CanaryRelease, opts *ResourceUpdateOptions) (*CanaryRelease, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateCanaryRelease", ctx, cr, opts)