/
zz_kms_api.go
2785 lines (2449 loc) · 123 KB
/
zz_kms_api.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
// /*
// Copyright 2021 The Crossplane Authors.
//
// Licensed 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: github.com/aws/aws-sdk-go/service/kms/kmsiface (interfaces: KMSAPI)
// Package kmsiface is a generated GoMock package.
package kmsiface
import (
context "context"
reflect "reflect"
request "github.com/aws/aws-sdk-go/aws/request"
kms "github.com/aws/aws-sdk-go/service/kms"
gomock "github.com/golang/mock/gomock"
)
// MockKMSAPI is a mock of KMSAPI interface.
type MockKMSAPI struct {
ctrl *gomock.Controller
recorder *MockKMSAPIMockRecorder
}
// MockKMSAPIMockRecorder is the mock recorder for MockKMSAPI.
type MockKMSAPIMockRecorder struct {
mock *MockKMSAPI
}
// NewMockKMSAPI creates a new mock instance.
func NewMockKMSAPI(ctrl *gomock.Controller) *MockKMSAPI {
mock := &MockKMSAPI{ctrl: ctrl}
mock.recorder = &MockKMSAPIMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockKMSAPI) EXPECT() *MockKMSAPIMockRecorder {
return m.recorder
}
// CancelKeyDeletion mocks base method.
func (m *MockKMSAPI) CancelKeyDeletion(arg0 *kms.CancelKeyDeletionInput) (*kms.CancelKeyDeletionOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CancelKeyDeletion", arg0)
ret0, _ := ret[0].(*kms.CancelKeyDeletionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CancelKeyDeletion indicates an expected call of CancelKeyDeletion.
func (mr *MockKMSAPIMockRecorder) CancelKeyDeletion(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelKeyDeletion", reflect.TypeOf((*MockKMSAPI)(nil).CancelKeyDeletion), arg0)
}
// CancelKeyDeletionRequest mocks base method.
func (m *MockKMSAPI) CancelKeyDeletionRequest(arg0 *kms.CancelKeyDeletionInput) (*request.Request, *kms.CancelKeyDeletionOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CancelKeyDeletionRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.CancelKeyDeletionOutput)
return ret0, ret1
}
// CancelKeyDeletionRequest indicates an expected call of CancelKeyDeletionRequest.
func (mr *MockKMSAPIMockRecorder) CancelKeyDeletionRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelKeyDeletionRequest", reflect.TypeOf((*MockKMSAPI)(nil).CancelKeyDeletionRequest), arg0)
}
// CancelKeyDeletionWithContext mocks base method.
func (m *MockKMSAPI) CancelKeyDeletionWithContext(arg0 context.Context, arg1 *kms.CancelKeyDeletionInput, arg2 ...request.Option) (*kms.CancelKeyDeletionOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CancelKeyDeletionWithContext", varargs...)
ret0, _ := ret[0].(*kms.CancelKeyDeletionOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CancelKeyDeletionWithContext indicates an expected call of CancelKeyDeletionWithContext.
func (mr *MockKMSAPIMockRecorder) CancelKeyDeletionWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelKeyDeletionWithContext", reflect.TypeOf((*MockKMSAPI)(nil).CancelKeyDeletionWithContext), varargs...)
}
// ConnectCustomKeyStore mocks base method.
func (m *MockKMSAPI) ConnectCustomKeyStore(arg0 *kms.ConnectCustomKeyStoreInput) (*kms.ConnectCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ConnectCustomKeyStore", arg0)
ret0, _ := ret[0].(*kms.ConnectCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ConnectCustomKeyStore indicates an expected call of ConnectCustomKeyStore.
func (mr *MockKMSAPIMockRecorder) ConnectCustomKeyStore(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectCustomKeyStore", reflect.TypeOf((*MockKMSAPI)(nil).ConnectCustomKeyStore), arg0)
}
// ConnectCustomKeyStoreRequest mocks base method.
func (m *MockKMSAPI) ConnectCustomKeyStoreRequest(arg0 *kms.ConnectCustomKeyStoreInput) (*request.Request, *kms.ConnectCustomKeyStoreOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ConnectCustomKeyStoreRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.ConnectCustomKeyStoreOutput)
return ret0, ret1
}
// ConnectCustomKeyStoreRequest indicates an expected call of ConnectCustomKeyStoreRequest.
func (mr *MockKMSAPIMockRecorder) ConnectCustomKeyStoreRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectCustomKeyStoreRequest", reflect.TypeOf((*MockKMSAPI)(nil).ConnectCustomKeyStoreRequest), arg0)
}
// ConnectCustomKeyStoreWithContext mocks base method.
func (m *MockKMSAPI) ConnectCustomKeyStoreWithContext(arg0 context.Context, arg1 *kms.ConnectCustomKeyStoreInput, arg2 ...request.Option) (*kms.ConnectCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ConnectCustomKeyStoreWithContext", varargs...)
ret0, _ := ret[0].(*kms.ConnectCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ConnectCustomKeyStoreWithContext indicates an expected call of ConnectCustomKeyStoreWithContext.
func (mr *MockKMSAPIMockRecorder) ConnectCustomKeyStoreWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ConnectCustomKeyStoreWithContext", reflect.TypeOf((*MockKMSAPI)(nil).ConnectCustomKeyStoreWithContext), varargs...)
}
// CreateAlias mocks base method.
func (m *MockKMSAPI) CreateAlias(arg0 *kms.CreateAliasInput) (*kms.CreateAliasOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateAlias", arg0)
ret0, _ := ret[0].(*kms.CreateAliasOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateAlias indicates an expected call of CreateAlias.
func (mr *MockKMSAPIMockRecorder) CreateAlias(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAlias", reflect.TypeOf((*MockKMSAPI)(nil).CreateAlias), arg0)
}
// CreateAliasRequest mocks base method.
func (m *MockKMSAPI) CreateAliasRequest(arg0 *kms.CreateAliasInput) (*request.Request, *kms.CreateAliasOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateAliasRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.CreateAliasOutput)
return ret0, ret1
}
// CreateAliasRequest indicates an expected call of CreateAliasRequest.
func (mr *MockKMSAPIMockRecorder) CreateAliasRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAliasRequest", reflect.TypeOf((*MockKMSAPI)(nil).CreateAliasRequest), arg0)
}
// CreateAliasWithContext mocks base method.
func (m *MockKMSAPI) CreateAliasWithContext(arg0 context.Context, arg1 *kms.CreateAliasInput, arg2 ...request.Option) (*kms.CreateAliasOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateAliasWithContext", varargs...)
ret0, _ := ret[0].(*kms.CreateAliasOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateAliasWithContext indicates an expected call of CreateAliasWithContext.
func (mr *MockKMSAPIMockRecorder) CreateAliasWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAliasWithContext", reflect.TypeOf((*MockKMSAPI)(nil).CreateAliasWithContext), varargs...)
}
// CreateCustomKeyStore mocks base method.
func (m *MockKMSAPI) CreateCustomKeyStore(arg0 *kms.CreateCustomKeyStoreInput) (*kms.CreateCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateCustomKeyStore", arg0)
ret0, _ := ret[0].(*kms.CreateCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateCustomKeyStore indicates an expected call of CreateCustomKeyStore.
func (mr *MockKMSAPIMockRecorder) CreateCustomKeyStore(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomKeyStore", reflect.TypeOf((*MockKMSAPI)(nil).CreateCustomKeyStore), arg0)
}
// CreateCustomKeyStoreRequest mocks base method.
func (m *MockKMSAPI) CreateCustomKeyStoreRequest(arg0 *kms.CreateCustomKeyStoreInput) (*request.Request, *kms.CreateCustomKeyStoreOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateCustomKeyStoreRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.CreateCustomKeyStoreOutput)
return ret0, ret1
}
// CreateCustomKeyStoreRequest indicates an expected call of CreateCustomKeyStoreRequest.
func (mr *MockKMSAPIMockRecorder) CreateCustomKeyStoreRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomKeyStoreRequest", reflect.TypeOf((*MockKMSAPI)(nil).CreateCustomKeyStoreRequest), arg0)
}
// CreateCustomKeyStoreWithContext mocks base method.
func (m *MockKMSAPI) CreateCustomKeyStoreWithContext(arg0 context.Context, arg1 *kms.CreateCustomKeyStoreInput, arg2 ...request.Option) (*kms.CreateCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateCustomKeyStoreWithContext", varargs...)
ret0, _ := ret[0].(*kms.CreateCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateCustomKeyStoreWithContext indicates an expected call of CreateCustomKeyStoreWithContext.
func (mr *MockKMSAPIMockRecorder) CreateCustomKeyStoreWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomKeyStoreWithContext", reflect.TypeOf((*MockKMSAPI)(nil).CreateCustomKeyStoreWithContext), varargs...)
}
// CreateGrant mocks base method.
func (m *MockKMSAPI) CreateGrant(arg0 *kms.CreateGrantInput) (*kms.CreateGrantOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateGrant", arg0)
ret0, _ := ret[0].(*kms.CreateGrantOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateGrant indicates an expected call of CreateGrant.
func (mr *MockKMSAPIMockRecorder) CreateGrant(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGrant", reflect.TypeOf((*MockKMSAPI)(nil).CreateGrant), arg0)
}
// CreateGrantRequest mocks base method.
func (m *MockKMSAPI) CreateGrantRequest(arg0 *kms.CreateGrantInput) (*request.Request, *kms.CreateGrantOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateGrantRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.CreateGrantOutput)
return ret0, ret1
}
// CreateGrantRequest indicates an expected call of CreateGrantRequest.
func (mr *MockKMSAPIMockRecorder) CreateGrantRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGrantRequest", reflect.TypeOf((*MockKMSAPI)(nil).CreateGrantRequest), arg0)
}
// CreateGrantWithContext mocks base method.
func (m *MockKMSAPI) CreateGrantWithContext(arg0 context.Context, arg1 *kms.CreateGrantInput, arg2 ...request.Option) (*kms.CreateGrantOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateGrantWithContext", varargs...)
ret0, _ := ret[0].(*kms.CreateGrantOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateGrantWithContext indicates an expected call of CreateGrantWithContext.
func (mr *MockKMSAPIMockRecorder) CreateGrantWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGrantWithContext", reflect.TypeOf((*MockKMSAPI)(nil).CreateGrantWithContext), varargs...)
}
// CreateKey mocks base method.
func (m *MockKMSAPI) CreateKey(arg0 *kms.CreateKeyInput) (*kms.CreateKeyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateKey", arg0)
ret0, _ := ret[0].(*kms.CreateKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateKey indicates an expected call of CreateKey.
func (mr *MockKMSAPIMockRecorder) CreateKey(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateKey", reflect.TypeOf((*MockKMSAPI)(nil).CreateKey), arg0)
}
// CreateKeyRequest mocks base method.
func (m *MockKMSAPI) CreateKeyRequest(arg0 *kms.CreateKeyInput) (*request.Request, *kms.CreateKeyOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateKeyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.CreateKeyOutput)
return ret0, ret1
}
// CreateKeyRequest indicates an expected call of CreateKeyRequest.
func (mr *MockKMSAPIMockRecorder) CreateKeyRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateKeyRequest", reflect.TypeOf((*MockKMSAPI)(nil).CreateKeyRequest), arg0)
}
// CreateKeyWithContext mocks base method.
func (m *MockKMSAPI) CreateKeyWithContext(arg0 context.Context, arg1 *kms.CreateKeyInput, arg2 ...request.Option) (*kms.CreateKeyOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateKeyWithContext", varargs...)
ret0, _ := ret[0].(*kms.CreateKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateKeyWithContext indicates an expected call of CreateKeyWithContext.
func (mr *MockKMSAPIMockRecorder) CreateKeyWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateKeyWithContext", reflect.TypeOf((*MockKMSAPI)(nil).CreateKeyWithContext), varargs...)
}
// Decrypt mocks base method.
func (m *MockKMSAPI) Decrypt(arg0 *kms.DecryptInput) (*kms.DecryptOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Decrypt", arg0)
ret0, _ := ret[0].(*kms.DecryptOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Decrypt indicates an expected call of Decrypt.
func (mr *MockKMSAPIMockRecorder) Decrypt(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Decrypt", reflect.TypeOf((*MockKMSAPI)(nil).Decrypt), arg0)
}
// DecryptRequest mocks base method.
func (m *MockKMSAPI) DecryptRequest(arg0 *kms.DecryptInput) (*request.Request, *kms.DecryptOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DecryptRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DecryptOutput)
return ret0, ret1
}
// DecryptRequest indicates an expected call of DecryptRequest.
func (mr *MockKMSAPIMockRecorder) DecryptRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptRequest", reflect.TypeOf((*MockKMSAPI)(nil).DecryptRequest), arg0)
}
// DecryptWithContext mocks base method.
func (m *MockKMSAPI) DecryptWithContext(arg0 context.Context, arg1 *kms.DecryptInput, arg2 ...request.Option) (*kms.DecryptOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DecryptWithContext", varargs...)
ret0, _ := ret[0].(*kms.DecryptOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DecryptWithContext indicates an expected call of DecryptWithContext.
func (mr *MockKMSAPIMockRecorder) DecryptWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DecryptWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DecryptWithContext), varargs...)
}
// DeleteAlias mocks base method.
func (m *MockKMSAPI) DeleteAlias(arg0 *kms.DeleteAliasInput) (*kms.DeleteAliasOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteAlias", arg0)
ret0, _ := ret[0].(*kms.DeleteAliasOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteAlias indicates an expected call of DeleteAlias.
func (mr *MockKMSAPIMockRecorder) DeleteAlias(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAlias", reflect.TypeOf((*MockKMSAPI)(nil).DeleteAlias), arg0)
}
// DeleteAliasRequest mocks base method.
func (m *MockKMSAPI) DeleteAliasRequest(arg0 *kms.DeleteAliasInput) (*request.Request, *kms.DeleteAliasOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteAliasRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DeleteAliasOutput)
return ret0, ret1
}
// DeleteAliasRequest indicates an expected call of DeleteAliasRequest.
func (mr *MockKMSAPIMockRecorder) DeleteAliasRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAliasRequest", reflect.TypeOf((*MockKMSAPI)(nil).DeleteAliasRequest), arg0)
}
// DeleteAliasWithContext mocks base method.
func (m *MockKMSAPI) DeleteAliasWithContext(arg0 context.Context, arg1 *kms.DeleteAliasInput, arg2 ...request.Option) (*kms.DeleteAliasOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteAliasWithContext", varargs...)
ret0, _ := ret[0].(*kms.DeleteAliasOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteAliasWithContext indicates an expected call of DeleteAliasWithContext.
func (mr *MockKMSAPIMockRecorder) DeleteAliasWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAliasWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DeleteAliasWithContext), varargs...)
}
// DeleteCustomKeyStore mocks base method.
func (m *MockKMSAPI) DeleteCustomKeyStore(arg0 *kms.DeleteCustomKeyStoreInput) (*kms.DeleteCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCustomKeyStore", arg0)
ret0, _ := ret[0].(*kms.DeleteCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteCustomKeyStore indicates an expected call of DeleteCustomKeyStore.
func (mr *MockKMSAPIMockRecorder) DeleteCustomKeyStore(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomKeyStore", reflect.TypeOf((*MockKMSAPI)(nil).DeleteCustomKeyStore), arg0)
}
// DeleteCustomKeyStoreRequest mocks base method.
func (m *MockKMSAPI) DeleteCustomKeyStoreRequest(arg0 *kms.DeleteCustomKeyStoreInput) (*request.Request, *kms.DeleteCustomKeyStoreOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCustomKeyStoreRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DeleteCustomKeyStoreOutput)
return ret0, ret1
}
// DeleteCustomKeyStoreRequest indicates an expected call of DeleteCustomKeyStoreRequest.
func (mr *MockKMSAPIMockRecorder) DeleteCustomKeyStoreRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomKeyStoreRequest", reflect.TypeOf((*MockKMSAPI)(nil).DeleteCustomKeyStoreRequest), arg0)
}
// DeleteCustomKeyStoreWithContext mocks base method.
func (m *MockKMSAPI) DeleteCustomKeyStoreWithContext(arg0 context.Context, arg1 *kms.DeleteCustomKeyStoreInput, arg2 ...request.Option) (*kms.DeleteCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteCustomKeyStoreWithContext", varargs...)
ret0, _ := ret[0].(*kms.DeleteCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteCustomKeyStoreWithContext indicates an expected call of DeleteCustomKeyStoreWithContext.
func (mr *MockKMSAPIMockRecorder) DeleteCustomKeyStoreWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomKeyStoreWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DeleteCustomKeyStoreWithContext), varargs...)
}
// DeleteImportedKeyMaterial mocks base method.
func (m *MockKMSAPI) DeleteImportedKeyMaterial(arg0 *kms.DeleteImportedKeyMaterialInput) (*kms.DeleteImportedKeyMaterialOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteImportedKeyMaterial", arg0)
ret0, _ := ret[0].(*kms.DeleteImportedKeyMaterialOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteImportedKeyMaterial indicates an expected call of DeleteImportedKeyMaterial.
func (mr *MockKMSAPIMockRecorder) DeleteImportedKeyMaterial(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteImportedKeyMaterial", reflect.TypeOf((*MockKMSAPI)(nil).DeleteImportedKeyMaterial), arg0)
}
// DeleteImportedKeyMaterialRequest mocks base method.
func (m *MockKMSAPI) DeleteImportedKeyMaterialRequest(arg0 *kms.DeleteImportedKeyMaterialInput) (*request.Request, *kms.DeleteImportedKeyMaterialOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteImportedKeyMaterialRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DeleteImportedKeyMaterialOutput)
return ret0, ret1
}
// DeleteImportedKeyMaterialRequest indicates an expected call of DeleteImportedKeyMaterialRequest.
func (mr *MockKMSAPIMockRecorder) DeleteImportedKeyMaterialRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteImportedKeyMaterialRequest", reflect.TypeOf((*MockKMSAPI)(nil).DeleteImportedKeyMaterialRequest), arg0)
}
// DeleteImportedKeyMaterialWithContext mocks base method.
func (m *MockKMSAPI) DeleteImportedKeyMaterialWithContext(arg0 context.Context, arg1 *kms.DeleteImportedKeyMaterialInput, arg2 ...request.Option) (*kms.DeleteImportedKeyMaterialOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteImportedKeyMaterialWithContext", varargs...)
ret0, _ := ret[0].(*kms.DeleteImportedKeyMaterialOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteImportedKeyMaterialWithContext indicates an expected call of DeleteImportedKeyMaterialWithContext.
func (mr *MockKMSAPIMockRecorder) DeleteImportedKeyMaterialWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteImportedKeyMaterialWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DeleteImportedKeyMaterialWithContext), varargs...)
}
// DescribeCustomKeyStores mocks base method.
func (m *MockKMSAPI) DescribeCustomKeyStores(arg0 *kms.DescribeCustomKeyStoresInput) (*kms.DescribeCustomKeyStoresOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeCustomKeyStores", arg0)
ret0, _ := ret[0].(*kms.DescribeCustomKeyStoresOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeCustomKeyStores indicates an expected call of DescribeCustomKeyStores.
func (mr *MockKMSAPIMockRecorder) DescribeCustomKeyStores(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCustomKeyStores", reflect.TypeOf((*MockKMSAPI)(nil).DescribeCustomKeyStores), arg0)
}
// DescribeCustomKeyStoresPages mocks base method.
func (m *MockKMSAPI) DescribeCustomKeyStoresPages(arg0 *kms.DescribeCustomKeyStoresInput, arg1 func(*kms.DescribeCustomKeyStoresOutput, bool) bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeCustomKeyStoresPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// DescribeCustomKeyStoresPages indicates an expected call of DescribeCustomKeyStoresPages.
func (mr *MockKMSAPIMockRecorder) DescribeCustomKeyStoresPages(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCustomKeyStoresPages", reflect.TypeOf((*MockKMSAPI)(nil).DescribeCustomKeyStoresPages), arg0, arg1)
}
// DescribeCustomKeyStoresPagesWithContext mocks base method.
func (m *MockKMSAPI) DescribeCustomKeyStoresPagesWithContext(arg0 context.Context, arg1 *kms.DescribeCustomKeyStoresInput, arg2 func(*kms.DescribeCustomKeyStoresOutput, bool) bool, arg3 ...request.Option) error {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DescribeCustomKeyStoresPagesWithContext", varargs...)
ret0, _ := ret[0].(error)
return ret0
}
// DescribeCustomKeyStoresPagesWithContext indicates an expected call of DescribeCustomKeyStoresPagesWithContext.
func (mr *MockKMSAPIMockRecorder) DescribeCustomKeyStoresPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCustomKeyStoresPagesWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DescribeCustomKeyStoresPagesWithContext), varargs...)
}
// DescribeCustomKeyStoresRequest mocks base method.
func (m *MockKMSAPI) DescribeCustomKeyStoresRequest(arg0 *kms.DescribeCustomKeyStoresInput) (*request.Request, *kms.DescribeCustomKeyStoresOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeCustomKeyStoresRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DescribeCustomKeyStoresOutput)
return ret0, ret1
}
// DescribeCustomKeyStoresRequest indicates an expected call of DescribeCustomKeyStoresRequest.
func (mr *MockKMSAPIMockRecorder) DescribeCustomKeyStoresRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCustomKeyStoresRequest", reflect.TypeOf((*MockKMSAPI)(nil).DescribeCustomKeyStoresRequest), arg0)
}
// DescribeCustomKeyStoresWithContext mocks base method.
func (m *MockKMSAPI) DescribeCustomKeyStoresWithContext(arg0 context.Context, arg1 *kms.DescribeCustomKeyStoresInput, arg2 ...request.Option) (*kms.DescribeCustomKeyStoresOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DescribeCustomKeyStoresWithContext", varargs...)
ret0, _ := ret[0].(*kms.DescribeCustomKeyStoresOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeCustomKeyStoresWithContext indicates an expected call of DescribeCustomKeyStoresWithContext.
func (mr *MockKMSAPIMockRecorder) DescribeCustomKeyStoresWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCustomKeyStoresWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DescribeCustomKeyStoresWithContext), varargs...)
}
// DescribeKey mocks base method.
func (m *MockKMSAPI) DescribeKey(arg0 *kms.DescribeKeyInput) (*kms.DescribeKeyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeKey", arg0)
ret0, _ := ret[0].(*kms.DescribeKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeKey indicates an expected call of DescribeKey.
func (mr *MockKMSAPIMockRecorder) DescribeKey(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKey", reflect.TypeOf((*MockKMSAPI)(nil).DescribeKey), arg0)
}
// DescribeKeyRequest mocks base method.
func (m *MockKMSAPI) DescribeKeyRequest(arg0 *kms.DescribeKeyInput) (*request.Request, *kms.DescribeKeyOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeKeyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DescribeKeyOutput)
return ret0, ret1
}
// DescribeKeyRequest indicates an expected call of DescribeKeyRequest.
func (mr *MockKMSAPIMockRecorder) DescribeKeyRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKeyRequest", reflect.TypeOf((*MockKMSAPI)(nil).DescribeKeyRequest), arg0)
}
// DescribeKeyWithContext mocks base method.
func (m *MockKMSAPI) DescribeKeyWithContext(arg0 context.Context, arg1 *kms.DescribeKeyInput, arg2 ...request.Option) (*kms.DescribeKeyOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DescribeKeyWithContext", varargs...)
ret0, _ := ret[0].(*kms.DescribeKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeKeyWithContext indicates an expected call of DescribeKeyWithContext.
func (mr *MockKMSAPIMockRecorder) DescribeKeyWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKeyWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DescribeKeyWithContext), varargs...)
}
// DisableKey mocks base method.
func (m *MockKMSAPI) DisableKey(arg0 *kms.DisableKeyInput) (*kms.DisableKeyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DisableKey", arg0)
ret0, _ := ret[0].(*kms.DisableKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DisableKey indicates an expected call of DisableKey.
func (mr *MockKMSAPIMockRecorder) DisableKey(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableKey", reflect.TypeOf((*MockKMSAPI)(nil).DisableKey), arg0)
}
// DisableKeyRequest mocks base method.
func (m *MockKMSAPI) DisableKeyRequest(arg0 *kms.DisableKeyInput) (*request.Request, *kms.DisableKeyOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DisableKeyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DisableKeyOutput)
return ret0, ret1
}
// DisableKeyRequest indicates an expected call of DisableKeyRequest.
func (mr *MockKMSAPIMockRecorder) DisableKeyRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableKeyRequest", reflect.TypeOf((*MockKMSAPI)(nil).DisableKeyRequest), arg0)
}
// DisableKeyRotation mocks base method.
func (m *MockKMSAPI) DisableKeyRotation(arg0 *kms.DisableKeyRotationInput) (*kms.DisableKeyRotationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DisableKeyRotation", arg0)
ret0, _ := ret[0].(*kms.DisableKeyRotationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DisableKeyRotation indicates an expected call of DisableKeyRotation.
func (mr *MockKMSAPIMockRecorder) DisableKeyRotation(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableKeyRotation", reflect.TypeOf((*MockKMSAPI)(nil).DisableKeyRotation), arg0)
}
// DisableKeyRotationRequest mocks base method.
func (m *MockKMSAPI) DisableKeyRotationRequest(arg0 *kms.DisableKeyRotationInput) (*request.Request, *kms.DisableKeyRotationOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DisableKeyRotationRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DisableKeyRotationOutput)
return ret0, ret1
}
// DisableKeyRotationRequest indicates an expected call of DisableKeyRotationRequest.
func (mr *MockKMSAPIMockRecorder) DisableKeyRotationRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableKeyRotationRequest", reflect.TypeOf((*MockKMSAPI)(nil).DisableKeyRotationRequest), arg0)
}
// DisableKeyRotationWithContext mocks base method.
func (m *MockKMSAPI) DisableKeyRotationWithContext(arg0 context.Context, arg1 *kms.DisableKeyRotationInput, arg2 ...request.Option) (*kms.DisableKeyRotationOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DisableKeyRotationWithContext", varargs...)
ret0, _ := ret[0].(*kms.DisableKeyRotationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DisableKeyRotationWithContext indicates an expected call of DisableKeyRotationWithContext.
func (mr *MockKMSAPIMockRecorder) DisableKeyRotationWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableKeyRotationWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DisableKeyRotationWithContext), varargs...)
}
// DisableKeyWithContext mocks base method.
func (m *MockKMSAPI) DisableKeyWithContext(arg0 context.Context, arg1 *kms.DisableKeyInput, arg2 ...request.Option) (*kms.DisableKeyOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DisableKeyWithContext", varargs...)
ret0, _ := ret[0].(*kms.DisableKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DisableKeyWithContext indicates an expected call of DisableKeyWithContext.
func (mr *MockKMSAPIMockRecorder) DisableKeyWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableKeyWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DisableKeyWithContext), varargs...)
}
// DisconnectCustomKeyStore mocks base method.
func (m *MockKMSAPI) DisconnectCustomKeyStore(arg0 *kms.DisconnectCustomKeyStoreInput) (*kms.DisconnectCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DisconnectCustomKeyStore", arg0)
ret0, _ := ret[0].(*kms.DisconnectCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DisconnectCustomKeyStore indicates an expected call of DisconnectCustomKeyStore.
func (mr *MockKMSAPIMockRecorder) DisconnectCustomKeyStore(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisconnectCustomKeyStore", reflect.TypeOf((*MockKMSAPI)(nil).DisconnectCustomKeyStore), arg0)
}
// DisconnectCustomKeyStoreRequest mocks base method.
func (m *MockKMSAPI) DisconnectCustomKeyStoreRequest(arg0 *kms.DisconnectCustomKeyStoreInput) (*request.Request, *kms.DisconnectCustomKeyStoreOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DisconnectCustomKeyStoreRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.DisconnectCustomKeyStoreOutput)
return ret0, ret1
}
// DisconnectCustomKeyStoreRequest indicates an expected call of DisconnectCustomKeyStoreRequest.
func (mr *MockKMSAPIMockRecorder) DisconnectCustomKeyStoreRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisconnectCustomKeyStoreRequest", reflect.TypeOf((*MockKMSAPI)(nil).DisconnectCustomKeyStoreRequest), arg0)
}
// DisconnectCustomKeyStoreWithContext mocks base method.
func (m *MockKMSAPI) DisconnectCustomKeyStoreWithContext(arg0 context.Context, arg1 *kms.DisconnectCustomKeyStoreInput, arg2 ...request.Option) (*kms.DisconnectCustomKeyStoreOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DisconnectCustomKeyStoreWithContext", varargs...)
ret0, _ := ret[0].(*kms.DisconnectCustomKeyStoreOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DisconnectCustomKeyStoreWithContext indicates an expected call of DisconnectCustomKeyStoreWithContext.
func (mr *MockKMSAPIMockRecorder) DisconnectCustomKeyStoreWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisconnectCustomKeyStoreWithContext", reflect.TypeOf((*MockKMSAPI)(nil).DisconnectCustomKeyStoreWithContext), varargs...)
}
// EnableKey mocks base method.
func (m *MockKMSAPI) EnableKey(arg0 *kms.EnableKeyInput) (*kms.EnableKeyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "EnableKey", arg0)
ret0, _ := ret[0].(*kms.EnableKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// EnableKey indicates an expected call of EnableKey.
func (mr *MockKMSAPIMockRecorder) EnableKey(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableKey", reflect.TypeOf((*MockKMSAPI)(nil).EnableKey), arg0)
}
// EnableKeyRequest mocks base method.
func (m *MockKMSAPI) EnableKeyRequest(arg0 *kms.EnableKeyInput) (*request.Request, *kms.EnableKeyOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "EnableKeyRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.EnableKeyOutput)
return ret0, ret1
}
// EnableKeyRequest indicates an expected call of EnableKeyRequest.
func (mr *MockKMSAPIMockRecorder) EnableKeyRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableKeyRequest", reflect.TypeOf((*MockKMSAPI)(nil).EnableKeyRequest), arg0)
}
// EnableKeyRotation mocks base method.
func (m *MockKMSAPI) EnableKeyRotation(arg0 *kms.EnableKeyRotationInput) (*kms.EnableKeyRotationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "EnableKeyRotation", arg0)
ret0, _ := ret[0].(*kms.EnableKeyRotationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// EnableKeyRotation indicates an expected call of EnableKeyRotation.
func (mr *MockKMSAPIMockRecorder) EnableKeyRotation(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableKeyRotation", reflect.TypeOf((*MockKMSAPI)(nil).EnableKeyRotation), arg0)
}
// EnableKeyRotationRequest mocks base method.
func (m *MockKMSAPI) EnableKeyRotationRequest(arg0 *kms.EnableKeyRotationInput) (*request.Request, *kms.EnableKeyRotationOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "EnableKeyRotationRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.EnableKeyRotationOutput)
return ret0, ret1
}
// EnableKeyRotationRequest indicates an expected call of EnableKeyRotationRequest.
func (mr *MockKMSAPIMockRecorder) EnableKeyRotationRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableKeyRotationRequest", reflect.TypeOf((*MockKMSAPI)(nil).EnableKeyRotationRequest), arg0)
}
// EnableKeyRotationWithContext mocks base method.
func (m *MockKMSAPI) EnableKeyRotationWithContext(arg0 context.Context, arg1 *kms.EnableKeyRotationInput, arg2 ...request.Option) (*kms.EnableKeyRotationOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "EnableKeyRotationWithContext", varargs...)
ret0, _ := ret[0].(*kms.EnableKeyRotationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// EnableKeyRotationWithContext indicates an expected call of EnableKeyRotationWithContext.
func (mr *MockKMSAPIMockRecorder) EnableKeyRotationWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableKeyRotationWithContext", reflect.TypeOf((*MockKMSAPI)(nil).EnableKeyRotationWithContext), varargs...)
}
// EnableKeyWithContext mocks base method.
func (m *MockKMSAPI) EnableKeyWithContext(arg0 context.Context, arg1 *kms.EnableKeyInput, arg2 ...request.Option) (*kms.EnableKeyOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "EnableKeyWithContext", varargs...)
ret0, _ := ret[0].(*kms.EnableKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// EnableKeyWithContext indicates an expected call of EnableKeyWithContext.
func (mr *MockKMSAPIMockRecorder) EnableKeyWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableKeyWithContext", reflect.TypeOf((*MockKMSAPI)(nil).EnableKeyWithContext), varargs...)
}
// Encrypt mocks base method.
func (m *MockKMSAPI) Encrypt(arg0 *kms.EncryptInput) (*kms.EncryptOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Encrypt", arg0)
ret0, _ := ret[0].(*kms.EncryptOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Encrypt indicates an expected call of Encrypt.
func (mr *MockKMSAPIMockRecorder) Encrypt(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Encrypt", reflect.TypeOf((*MockKMSAPI)(nil).Encrypt), arg0)
}
// EncryptRequest mocks base method.
func (m *MockKMSAPI) EncryptRequest(arg0 *kms.EncryptInput) (*request.Request, *kms.EncryptOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "EncryptRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*kms.EncryptOutput)
return ret0, ret1
}
// EncryptRequest indicates an expected call of EncryptRequest.
func (mr *MockKMSAPIMockRecorder) EncryptRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptRequest", reflect.TypeOf((*MockKMSAPI)(nil).EncryptRequest), arg0)
}
// EncryptWithContext mocks base method.
func (m *MockKMSAPI) EncryptWithContext(arg0 context.Context, arg1 *kms.EncryptInput, arg2 ...request.Option) (*kms.EncryptOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "EncryptWithContext", varargs...)
ret0, _ := ret[0].(*kms.EncryptOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// EncryptWithContext indicates an expected call of EncryptWithContext.
func (mr *MockKMSAPIMockRecorder) EncryptWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EncryptWithContext", reflect.TypeOf((*MockKMSAPI)(nil).EncryptWithContext), varargs...)
}
// GenerateDataKey mocks base method.
func (m *MockKMSAPI) GenerateDataKey(arg0 *kms.GenerateDataKeyInput) (*kms.GenerateDataKeyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GenerateDataKey", arg0)
ret0, _ := ret[0].(*kms.GenerateDataKeyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GenerateDataKey indicates an expected call of GenerateDataKey.
func (mr *MockKMSAPIMockRecorder) GenerateDataKey(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()