-
Notifications
You must be signed in to change notification settings - Fork 37
/
client.mock.go
1061 lines (987 loc) · 51.4 KB
/
client.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 moq; DO NOT EDIT.
// github.com/matryer/moq
package mocks
import (
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/acmpca"
"github.com/aws/aws-sdk-go-v2/service/acmpca/acmpcaiface"
"sync"
)
var (
lockACMPCAAPIMockCreateCertificateAuthorityAuditReportRequest sync.RWMutex
lockACMPCAAPIMockCreateCertificateAuthorityRequest sync.RWMutex
lockACMPCAAPIMockDeleteCertificateAuthorityRequest sync.RWMutex
lockACMPCAAPIMockDescribeCertificateAuthorityAuditReportRequest sync.RWMutex
lockACMPCAAPIMockDescribeCertificateAuthorityRequest sync.RWMutex
lockACMPCAAPIMockGetCertificateAuthorityCertificateRequest sync.RWMutex
lockACMPCAAPIMockGetCertificateAuthorityCsrRequest sync.RWMutex
lockACMPCAAPIMockGetCertificateRequest sync.RWMutex
lockACMPCAAPIMockImportCertificateAuthorityCertificateRequest sync.RWMutex
lockACMPCAAPIMockIssueCertificateRequest sync.RWMutex
lockACMPCAAPIMockListCertificateAuthoritiesRequest sync.RWMutex
lockACMPCAAPIMockListTagsRequest sync.RWMutex
lockACMPCAAPIMockRestoreCertificateAuthorityRequest sync.RWMutex
lockACMPCAAPIMockRevokeCertificateRequest sync.RWMutex
lockACMPCAAPIMockTagCertificateAuthorityRequest sync.RWMutex
lockACMPCAAPIMockUntagCertificateAuthorityRequest sync.RWMutex
lockACMPCAAPIMockUpdateCertificateAuthorityRequest sync.RWMutex
lockACMPCAAPIMockWaitUntilAuditReportCreated sync.RWMutex
lockACMPCAAPIMockWaitUntilAuditReportCreatedWithContext sync.RWMutex
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreated sync.RWMutex
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreatedWithContext sync.RWMutex
lockACMPCAAPIMockWaitUntilCertificateIssued sync.RWMutex
lockACMPCAAPIMockWaitUntilCertificateIssuedWithContext sync.RWMutex
)
// Ensure, that ACMPCAAPIMock does implement ACMPCAAPI.
// If this is not the case, regenerate this file with moq.
var _ acmpcaiface.ACMPCAAPI = &ACMPCAAPIMock{}
// ACMPCAAPIMock is a mock implementation of ACMPCAAPI.
//
// func TestSomethingThatUsesACMPCAAPI(t *testing.T) {
//
// // make and configure a mocked ACMPCAAPI
// mockedACMPCAAPI := &ACMPCAAPIMock{
// CreateCertificateAuthorityAuditReportRequestFunc: func(in1 *acmpca.CreateCertificateAuthorityAuditReportInput) acmpca.CreateCertificateAuthorityAuditReportRequest {
// panic("mock out the CreateCertificateAuthorityAuditReportRequest method")
// },
// CreateCertificateAuthorityRequestFunc: func(in1 *acmpca.CreateCertificateAuthorityInput) acmpca.CreateCertificateAuthorityRequest {
// panic("mock out the CreateCertificateAuthorityRequest method")
// },
// DeleteCertificateAuthorityRequestFunc: func(in1 *acmpca.DeleteCertificateAuthorityInput) acmpca.DeleteCertificateAuthorityRequest {
// panic("mock out the DeleteCertificateAuthorityRequest method")
// },
// DescribeCertificateAuthorityAuditReportRequestFunc: func(in1 *acmpca.DescribeCertificateAuthorityAuditReportInput) acmpca.DescribeCertificateAuthorityAuditReportRequest {
// panic("mock out the DescribeCertificateAuthorityAuditReportRequest method")
// },
// DescribeCertificateAuthorityRequestFunc: func(in1 *acmpca.DescribeCertificateAuthorityInput) acmpca.DescribeCertificateAuthorityRequest {
// panic("mock out the DescribeCertificateAuthorityRequest method")
// },
// GetCertificateAuthorityCertificateRequestFunc: func(in1 *acmpca.GetCertificateAuthorityCertificateInput) acmpca.GetCertificateAuthorityCertificateRequest {
// panic("mock out the GetCertificateAuthorityCertificateRequest method")
// },
// GetCertificateAuthorityCsrRequestFunc: func(in1 *acmpca.GetCertificateAuthorityCsrInput) acmpca.GetCertificateAuthorityCsrRequest {
// panic("mock out the GetCertificateAuthorityCsrRequest method")
// },
// GetCertificateRequestFunc: func(in1 *acmpca.GetCertificateInput) acmpca.GetCertificateRequest {
// panic("mock out the GetCertificateRequest method")
// },
// ImportCertificateAuthorityCertificateRequestFunc: func(in1 *acmpca.ImportCertificateAuthorityCertificateInput) acmpca.ImportCertificateAuthorityCertificateRequest {
// panic("mock out the ImportCertificateAuthorityCertificateRequest method")
// },
// IssueCertificateRequestFunc: func(in1 *acmpca.IssueCertificateInput) acmpca.IssueCertificateRequest {
// panic("mock out the IssueCertificateRequest method")
// },
// ListCertificateAuthoritiesRequestFunc: func(in1 *acmpca.ListCertificateAuthoritiesInput) acmpca.ListCertificateAuthoritiesRequest {
// panic("mock out the ListCertificateAuthoritiesRequest method")
// },
// ListTagsRequestFunc: func(in1 *acmpca.ListTagsInput) acmpca.ListTagsRequest {
// panic("mock out the ListTagsRequest method")
// },
// RestoreCertificateAuthorityRequestFunc: func(in1 *acmpca.RestoreCertificateAuthorityInput) acmpca.RestoreCertificateAuthorityRequest {
// panic("mock out the RestoreCertificateAuthorityRequest method")
// },
// RevokeCertificateRequestFunc: func(in1 *acmpca.RevokeCertificateInput) acmpca.RevokeCertificateRequest {
// panic("mock out the RevokeCertificateRequest method")
// },
// TagCertificateAuthorityRequestFunc: func(in1 *acmpca.TagCertificateAuthorityInput) acmpca.TagCertificateAuthorityRequest {
// panic("mock out the TagCertificateAuthorityRequest method")
// },
// UntagCertificateAuthorityRequestFunc: func(in1 *acmpca.UntagCertificateAuthorityInput) acmpca.UntagCertificateAuthorityRequest {
// panic("mock out the UntagCertificateAuthorityRequest method")
// },
// UpdateCertificateAuthorityRequestFunc: func(in1 *acmpca.UpdateCertificateAuthorityInput) acmpca.UpdateCertificateAuthorityRequest {
// panic("mock out the UpdateCertificateAuthorityRequest method")
// },
// WaitUntilAuditReportCreatedFunc: func(in1 *acmpca.DescribeCertificateAuthorityAuditReportInput) error {
// panic("mock out the WaitUntilAuditReportCreated method")
// },
// WaitUntilAuditReportCreatedWithContextFunc: func(in1 aws.Context, in2 *acmpca.DescribeCertificateAuthorityAuditReportInput, in3 ...aws.WaiterOption) error {
// panic("mock out the WaitUntilAuditReportCreatedWithContext method")
// },
// WaitUntilCertificateAuthorityCSRCreatedFunc: func(in1 *acmpca.GetCertificateAuthorityCsrInput) error {
// panic("mock out the WaitUntilCertificateAuthorityCSRCreated method")
// },
// WaitUntilCertificateAuthorityCSRCreatedWithContextFunc: func(in1 aws.Context, in2 *acmpca.GetCertificateAuthorityCsrInput, in3 ...aws.WaiterOption) error {
// panic("mock out the WaitUntilCertificateAuthorityCSRCreatedWithContext method")
// },
// WaitUntilCertificateIssuedFunc: func(in1 *acmpca.GetCertificateInput) error {
// panic("mock out the WaitUntilCertificateIssued method")
// },
// WaitUntilCertificateIssuedWithContextFunc: func(in1 aws.Context, in2 *acmpca.GetCertificateInput, in3 ...aws.WaiterOption) error {
// panic("mock out the WaitUntilCertificateIssuedWithContext method")
// },
// }
//
// // use mockedACMPCAAPI in code that requires ACMPCAAPI
// // and then make assertions.
//
// }
type ACMPCAAPIMock struct {
// CreateCertificateAuthorityAuditReportRequestFunc mocks the CreateCertificateAuthorityAuditReportRequest method.
CreateCertificateAuthorityAuditReportRequestFunc func(in1 *acmpca.CreateCertificateAuthorityAuditReportInput) acmpca.CreateCertificateAuthorityAuditReportRequest
// CreateCertificateAuthorityRequestFunc mocks the CreateCertificateAuthorityRequest method.
CreateCertificateAuthorityRequestFunc func(in1 *acmpca.CreateCertificateAuthorityInput) acmpca.CreateCertificateAuthorityRequest
// DeleteCertificateAuthorityRequestFunc mocks the DeleteCertificateAuthorityRequest method.
DeleteCertificateAuthorityRequestFunc func(in1 *acmpca.DeleteCertificateAuthorityInput) acmpca.DeleteCertificateAuthorityRequest
// DescribeCertificateAuthorityAuditReportRequestFunc mocks the DescribeCertificateAuthorityAuditReportRequest method.
DescribeCertificateAuthorityAuditReportRequestFunc func(in1 *acmpca.DescribeCertificateAuthorityAuditReportInput) acmpca.DescribeCertificateAuthorityAuditReportRequest
// DescribeCertificateAuthorityRequestFunc mocks the DescribeCertificateAuthorityRequest method.
DescribeCertificateAuthorityRequestFunc func(in1 *acmpca.DescribeCertificateAuthorityInput) acmpca.DescribeCertificateAuthorityRequest
// GetCertificateAuthorityCertificateRequestFunc mocks the GetCertificateAuthorityCertificateRequest method.
GetCertificateAuthorityCertificateRequestFunc func(in1 *acmpca.GetCertificateAuthorityCertificateInput) acmpca.GetCertificateAuthorityCertificateRequest
// GetCertificateAuthorityCsrRequestFunc mocks the GetCertificateAuthorityCsrRequest method.
GetCertificateAuthorityCsrRequestFunc func(in1 *acmpca.GetCertificateAuthorityCsrInput) acmpca.GetCertificateAuthorityCsrRequest
// GetCertificateRequestFunc mocks the GetCertificateRequest method.
GetCertificateRequestFunc func(in1 *acmpca.GetCertificateInput) acmpca.GetCertificateRequest
// ImportCertificateAuthorityCertificateRequestFunc mocks the ImportCertificateAuthorityCertificateRequest method.
ImportCertificateAuthorityCertificateRequestFunc func(in1 *acmpca.ImportCertificateAuthorityCertificateInput) acmpca.ImportCertificateAuthorityCertificateRequest
// IssueCertificateRequestFunc mocks the IssueCertificateRequest method.
IssueCertificateRequestFunc func(in1 *acmpca.IssueCertificateInput) acmpca.IssueCertificateRequest
// ListCertificateAuthoritiesRequestFunc mocks the ListCertificateAuthoritiesRequest method.
ListCertificateAuthoritiesRequestFunc func(in1 *acmpca.ListCertificateAuthoritiesInput) acmpca.ListCertificateAuthoritiesRequest
// ListTagsRequestFunc mocks the ListTagsRequest method.
ListTagsRequestFunc func(in1 *acmpca.ListTagsInput) acmpca.ListTagsRequest
// RestoreCertificateAuthorityRequestFunc mocks the RestoreCertificateAuthorityRequest method.
RestoreCertificateAuthorityRequestFunc func(in1 *acmpca.RestoreCertificateAuthorityInput) acmpca.RestoreCertificateAuthorityRequest
// RevokeCertificateRequestFunc mocks the RevokeCertificateRequest method.
RevokeCertificateRequestFunc func(in1 *acmpca.RevokeCertificateInput) acmpca.RevokeCertificateRequest
// TagCertificateAuthorityRequestFunc mocks the TagCertificateAuthorityRequest method.
TagCertificateAuthorityRequestFunc func(in1 *acmpca.TagCertificateAuthorityInput) acmpca.TagCertificateAuthorityRequest
// UntagCertificateAuthorityRequestFunc mocks the UntagCertificateAuthorityRequest method.
UntagCertificateAuthorityRequestFunc func(in1 *acmpca.UntagCertificateAuthorityInput) acmpca.UntagCertificateAuthorityRequest
// UpdateCertificateAuthorityRequestFunc mocks the UpdateCertificateAuthorityRequest method.
UpdateCertificateAuthorityRequestFunc func(in1 *acmpca.UpdateCertificateAuthorityInput) acmpca.UpdateCertificateAuthorityRequest
// WaitUntilAuditReportCreatedFunc mocks the WaitUntilAuditReportCreated method.
WaitUntilAuditReportCreatedFunc func(in1 *acmpca.DescribeCertificateAuthorityAuditReportInput) error
// WaitUntilAuditReportCreatedWithContextFunc mocks the WaitUntilAuditReportCreatedWithContext method.
WaitUntilAuditReportCreatedWithContextFunc func(in1 aws.Context, in2 *acmpca.DescribeCertificateAuthorityAuditReportInput, in3 ...aws.WaiterOption) error
// WaitUntilCertificateAuthorityCSRCreatedFunc mocks the WaitUntilCertificateAuthorityCSRCreated method.
WaitUntilCertificateAuthorityCSRCreatedFunc func(in1 *acmpca.GetCertificateAuthorityCsrInput) error
// WaitUntilCertificateAuthorityCSRCreatedWithContextFunc mocks the WaitUntilCertificateAuthorityCSRCreatedWithContext method.
WaitUntilCertificateAuthorityCSRCreatedWithContextFunc func(in1 aws.Context, in2 *acmpca.GetCertificateAuthorityCsrInput, in3 ...aws.WaiterOption) error
// WaitUntilCertificateIssuedFunc mocks the WaitUntilCertificateIssued method.
WaitUntilCertificateIssuedFunc func(in1 *acmpca.GetCertificateInput) error
// WaitUntilCertificateIssuedWithContextFunc mocks the WaitUntilCertificateIssuedWithContext method.
WaitUntilCertificateIssuedWithContextFunc func(in1 aws.Context, in2 *acmpca.GetCertificateInput, in3 ...aws.WaiterOption) error
// calls tracks calls to the methods.
calls struct {
// CreateCertificateAuthorityAuditReportRequest holds details about calls to the CreateCertificateAuthorityAuditReportRequest method.
CreateCertificateAuthorityAuditReportRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.CreateCertificateAuthorityAuditReportInput
}
// CreateCertificateAuthorityRequest holds details about calls to the CreateCertificateAuthorityRequest method.
CreateCertificateAuthorityRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.CreateCertificateAuthorityInput
}
// DeleteCertificateAuthorityRequest holds details about calls to the DeleteCertificateAuthorityRequest method.
DeleteCertificateAuthorityRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.DeleteCertificateAuthorityInput
}
// DescribeCertificateAuthorityAuditReportRequest holds details about calls to the DescribeCertificateAuthorityAuditReportRequest method.
DescribeCertificateAuthorityAuditReportRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
}
// DescribeCertificateAuthorityRequest holds details about calls to the DescribeCertificateAuthorityRequest method.
DescribeCertificateAuthorityRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.DescribeCertificateAuthorityInput
}
// GetCertificateAuthorityCertificateRequest holds details about calls to the GetCertificateAuthorityCertificateRequest method.
GetCertificateAuthorityCertificateRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.GetCertificateAuthorityCertificateInput
}
// GetCertificateAuthorityCsrRequest holds details about calls to the GetCertificateAuthorityCsrRequest method.
GetCertificateAuthorityCsrRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.GetCertificateAuthorityCsrInput
}
// GetCertificateRequest holds details about calls to the GetCertificateRequest method.
GetCertificateRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.GetCertificateInput
}
// ImportCertificateAuthorityCertificateRequest holds details about calls to the ImportCertificateAuthorityCertificateRequest method.
ImportCertificateAuthorityCertificateRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.ImportCertificateAuthorityCertificateInput
}
// IssueCertificateRequest holds details about calls to the IssueCertificateRequest method.
IssueCertificateRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.IssueCertificateInput
}
// ListCertificateAuthoritiesRequest holds details about calls to the ListCertificateAuthoritiesRequest method.
ListCertificateAuthoritiesRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.ListCertificateAuthoritiesInput
}
// ListTagsRequest holds details about calls to the ListTagsRequest method.
ListTagsRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.ListTagsInput
}
// RestoreCertificateAuthorityRequest holds details about calls to the RestoreCertificateAuthorityRequest method.
RestoreCertificateAuthorityRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.RestoreCertificateAuthorityInput
}
// RevokeCertificateRequest holds details about calls to the RevokeCertificateRequest method.
RevokeCertificateRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.RevokeCertificateInput
}
// TagCertificateAuthorityRequest holds details about calls to the TagCertificateAuthorityRequest method.
TagCertificateAuthorityRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.TagCertificateAuthorityInput
}
// UntagCertificateAuthorityRequest holds details about calls to the UntagCertificateAuthorityRequest method.
UntagCertificateAuthorityRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.UntagCertificateAuthorityInput
}
// UpdateCertificateAuthorityRequest holds details about calls to the UpdateCertificateAuthorityRequest method.
UpdateCertificateAuthorityRequest []struct {
// In1 is the in1 argument value.
In1 *acmpca.UpdateCertificateAuthorityInput
}
// WaitUntilAuditReportCreated holds details about calls to the WaitUntilAuditReportCreated method.
WaitUntilAuditReportCreated []struct {
// In1 is the in1 argument value.
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
}
// WaitUntilAuditReportCreatedWithContext holds details about calls to the WaitUntilAuditReportCreatedWithContext method.
WaitUntilAuditReportCreatedWithContext []struct {
// In1 is the in1 argument value.
In1 aws.Context
// In2 is the in2 argument value.
In2 *acmpca.DescribeCertificateAuthorityAuditReportInput
// In3 is the in3 argument value.
In3 []aws.WaiterOption
}
// WaitUntilCertificateAuthorityCSRCreated holds details about calls to the WaitUntilCertificateAuthorityCSRCreated method.
WaitUntilCertificateAuthorityCSRCreated []struct {
// In1 is the in1 argument value.
In1 *acmpca.GetCertificateAuthorityCsrInput
}
// WaitUntilCertificateAuthorityCSRCreatedWithContext holds details about calls to the WaitUntilCertificateAuthorityCSRCreatedWithContext method.
WaitUntilCertificateAuthorityCSRCreatedWithContext []struct {
// In1 is the in1 argument value.
In1 aws.Context
// In2 is the in2 argument value.
In2 *acmpca.GetCertificateAuthorityCsrInput
// In3 is the in3 argument value.
In3 []aws.WaiterOption
}
// WaitUntilCertificateIssued holds details about calls to the WaitUntilCertificateIssued method.
WaitUntilCertificateIssued []struct {
// In1 is the in1 argument value.
In1 *acmpca.GetCertificateInput
}
// WaitUntilCertificateIssuedWithContext holds details about calls to the WaitUntilCertificateIssuedWithContext method.
WaitUntilCertificateIssuedWithContext []struct {
// In1 is the in1 argument value.
In1 aws.Context
// In2 is the in2 argument value.
In2 *acmpca.GetCertificateInput
// In3 is the in3 argument value.
In3 []aws.WaiterOption
}
}
}
// CreateCertificateAuthorityAuditReportRequest calls CreateCertificateAuthorityAuditReportRequestFunc.
func (mock *ACMPCAAPIMock) CreateCertificateAuthorityAuditReportRequest(in1 *acmpca.CreateCertificateAuthorityAuditReportInput) acmpca.CreateCertificateAuthorityAuditReportRequest {
if mock.CreateCertificateAuthorityAuditReportRequestFunc == nil {
panic("ACMPCAAPIMock.CreateCertificateAuthorityAuditReportRequestFunc: method is nil but ACMPCAAPI.CreateCertificateAuthorityAuditReportRequest was just called")
}
callInfo := struct {
In1 *acmpca.CreateCertificateAuthorityAuditReportInput
}{
In1: in1,
}
lockACMPCAAPIMockCreateCertificateAuthorityAuditReportRequest.Lock()
mock.calls.CreateCertificateAuthorityAuditReportRequest = append(mock.calls.CreateCertificateAuthorityAuditReportRequest, callInfo)
lockACMPCAAPIMockCreateCertificateAuthorityAuditReportRequest.Unlock()
return mock.CreateCertificateAuthorityAuditReportRequestFunc(in1)
}
// CreateCertificateAuthorityAuditReportRequestCalls gets all the calls that were made to CreateCertificateAuthorityAuditReportRequest.
// Check the length with:
// len(mockedACMPCAAPI.CreateCertificateAuthorityAuditReportRequestCalls())
func (mock *ACMPCAAPIMock) CreateCertificateAuthorityAuditReportRequestCalls() []struct {
In1 *acmpca.CreateCertificateAuthorityAuditReportInput
} {
var calls []struct {
In1 *acmpca.CreateCertificateAuthorityAuditReportInput
}
lockACMPCAAPIMockCreateCertificateAuthorityAuditReportRequest.RLock()
calls = mock.calls.CreateCertificateAuthorityAuditReportRequest
lockACMPCAAPIMockCreateCertificateAuthorityAuditReportRequest.RUnlock()
return calls
}
// CreateCertificateAuthorityRequest calls CreateCertificateAuthorityRequestFunc.
func (mock *ACMPCAAPIMock) CreateCertificateAuthorityRequest(in1 *acmpca.CreateCertificateAuthorityInput) acmpca.CreateCertificateAuthorityRequest {
if mock.CreateCertificateAuthorityRequestFunc == nil {
panic("ACMPCAAPIMock.CreateCertificateAuthorityRequestFunc: method is nil but ACMPCAAPI.CreateCertificateAuthorityRequest was just called")
}
callInfo := struct {
In1 *acmpca.CreateCertificateAuthorityInput
}{
In1: in1,
}
lockACMPCAAPIMockCreateCertificateAuthorityRequest.Lock()
mock.calls.CreateCertificateAuthorityRequest = append(mock.calls.CreateCertificateAuthorityRequest, callInfo)
lockACMPCAAPIMockCreateCertificateAuthorityRequest.Unlock()
return mock.CreateCertificateAuthorityRequestFunc(in1)
}
// CreateCertificateAuthorityRequestCalls gets all the calls that were made to CreateCertificateAuthorityRequest.
// Check the length with:
// len(mockedACMPCAAPI.CreateCertificateAuthorityRequestCalls())
func (mock *ACMPCAAPIMock) CreateCertificateAuthorityRequestCalls() []struct {
In1 *acmpca.CreateCertificateAuthorityInput
} {
var calls []struct {
In1 *acmpca.CreateCertificateAuthorityInput
}
lockACMPCAAPIMockCreateCertificateAuthorityRequest.RLock()
calls = mock.calls.CreateCertificateAuthorityRequest
lockACMPCAAPIMockCreateCertificateAuthorityRequest.RUnlock()
return calls
}
// DeleteCertificateAuthorityRequest calls DeleteCertificateAuthorityRequestFunc.
func (mock *ACMPCAAPIMock) DeleteCertificateAuthorityRequest(in1 *acmpca.DeleteCertificateAuthorityInput) acmpca.DeleteCertificateAuthorityRequest {
if mock.DeleteCertificateAuthorityRequestFunc == nil {
panic("ACMPCAAPIMock.DeleteCertificateAuthorityRequestFunc: method is nil but ACMPCAAPI.DeleteCertificateAuthorityRequest was just called")
}
callInfo := struct {
In1 *acmpca.DeleteCertificateAuthorityInput
}{
In1: in1,
}
lockACMPCAAPIMockDeleteCertificateAuthorityRequest.Lock()
mock.calls.DeleteCertificateAuthorityRequest = append(mock.calls.DeleteCertificateAuthorityRequest, callInfo)
lockACMPCAAPIMockDeleteCertificateAuthorityRequest.Unlock()
return mock.DeleteCertificateAuthorityRequestFunc(in1)
}
// DeleteCertificateAuthorityRequestCalls gets all the calls that were made to DeleteCertificateAuthorityRequest.
// Check the length with:
// len(mockedACMPCAAPI.DeleteCertificateAuthorityRequestCalls())
func (mock *ACMPCAAPIMock) DeleteCertificateAuthorityRequestCalls() []struct {
In1 *acmpca.DeleteCertificateAuthorityInput
} {
var calls []struct {
In1 *acmpca.DeleteCertificateAuthorityInput
}
lockACMPCAAPIMockDeleteCertificateAuthorityRequest.RLock()
calls = mock.calls.DeleteCertificateAuthorityRequest
lockACMPCAAPIMockDeleteCertificateAuthorityRequest.RUnlock()
return calls
}
// DescribeCertificateAuthorityAuditReportRequest calls DescribeCertificateAuthorityAuditReportRequestFunc.
func (mock *ACMPCAAPIMock) DescribeCertificateAuthorityAuditReportRequest(in1 *acmpca.DescribeCertificateAuthorityAuditReportInput) acmpca.DescribeCertificateAuthorityAuditReportRequest {
if mock.DescribeCertificateAuthorityAuditReportRequestFunc == nil {
panic("ACMPCAAPIMock.DescribeCertificateAuthorityAuditReportRequestFunc: method is nil but ACMPCAAPI.DescribeCertificateAuthorityAuditReportRequest was just called")
}
callInfo := struct {
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
}{
In1: in1,
}
lockACMPCAAPIMockDescribeCertificateAuthorityAuditReportRequest.Lock()
mock.calls.DescribeCertificateAuthorityAuditReportRequest = append(mock.calls.DescribeCertificateAuthorityAuditReportRequest, callInfo)
lockACMPCAAPIMockDescribeCertificateAuthorityAuditReportRequest.Unlock()
return mock.DescribeCertificateAuthorityAuditReportRequestFunc(in1)
}
// DescribeCertificateAuthorityAuditReportRequestCalls gets all the calls that were made to DescribeCertificateAuthorityAuditReportRequest.
// Check the length with:
// len(mockedACMPCAAPI.DescribeCertificateAuthorityAuditReportRequestCalls())
func (mock *ACMPCAAPIMock) DescribeCertificateAuthorityAuditReportRequestCalls() []struct {
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
} {
var calls []struct {
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
}
lockACMPCAAPIMockDescribeCertificateAuthorityAuditReportRequest.RLock()
calls = mock.calls.DescribeCertificateAuthorityAuditReportRequest
lockACMPCAAPIMockDescribeCertificateAuthorityAuditReportRequest.RUnlock()
return calls
}
// DescribeCertificateAuthorityRequest calls DescribeCertificateAuthorityRequestFunc.
func (mock *ACMPCAAPIMock) DescribeCertificateAuthorityRequest(in1 *acmpca.DescribeCertificateAuthorityInput) acmpca.DescribeCertificateAuthorityRequest {
if mock.DescribeCertificateAuthorityRequestFunc == nil {
panic("ACMPCAAPIMock.DescribeCertificateAuthorityRequestFunc: method is nil but ACMPCAAPI.DescribeCertificateAuthorityRequest was just called")
}
callInfo := struct {
In1 *acmpca.DescribeCertificateAuthorityInput
}{
In1: in1,
}
lockACMPCAAPIMockDescribeCertificateAuthorityRequest.Lock()
mock.calls.DescribeCertificateAuthorityRequest = append(mock.calls.DescribeCertificateAuthorityRequest, callInfo)
lockACMPCAAPIMockDescribeCertificateAuthorityRequest.Unlock()
return mock.DescribeCertificateAuthorityRequestFunc(in1)
}
// DescribeCertificateAuthorityRequestCalls gets all the calls that were made to DescribeCertificateAuthorityRequest.
// Check the length with:
// len(mockedACMPCAAPI.DescribeCertificateAuthorityRequestCalls())
func (mock *ACMPCAAPIMock) DescribeCertificateAuthorityRequestCalls() []struct {
In1 *acmpca.DescribeCertificateAuthorityInput
} {
var calls []struct {
In1 *acmpca.DescribeCertificateAuthorityInput
}
lockACMPCAAPIMockDescribeCertificateAuthorityRequest.RLock()
calls = mock.calls.DescribeCertificateAuthorityRequest
lockACMPCAAPIMockDescribeCertificateAuthorityRequest.RUnlock()
return calls
}
// GetCertificateAuthorityCertificateRequest calls GetCertificateAuthorityCertificateRequestFunc.
func (mock *ACMPCAAPIMock) GetCertificateAuthorityCertificateRequest(in1 *acmpca.GetCertificateAuthorityCertificateInput) acmpca.GetCertificateAuthorityCertificateRequest {
if mock.GetCertificateAuthorityCertificateRequestFunc == nil {
panic("ACMPCAAPIMock.GetCertificateAuthorityCertificateRequestFunc: method is nil but ACMPCAAPI.GetCertificateAuthorityCertificateRequest was just called")
}
callInfo := struct {
In1 *acmpca.GetCertificateAuthorityCertificateInput
}{
In1: in1,
}
lockACMPCAAPIMockGetCertificateAuthorityCertificateRequest.Lock()
mock.calls.GetCertificateAuthorityCertificateRequest = append(mock.calls.GetCertificateAuthorityCertificateRequest, callInfo)
lockACMPCAAPIMockGetCertificateAuthorityCertificateRequest.Unlock()
return mock.GetCertificateAuthorityCertificateRequestFunc(in1)
}
// GetCertificateAuthorityCertificateRequestCalls gets all the calls that were made to GetCertificateAuthorityCertificateRequest.
// Check the length with:
// len(mockedACMPCAAPI.GetCertificateAuthorityCertificateRequestCalls())
func (mock *ACMPCAAPIMock) GetCertificateAuthorityCertificateRequestCalls() []struct {
In1 *acmpca.GetCertificateAuthorityCertificateInput
} {
var calls []struct {
In1 *acmpca.GetCertificateAuthorityCertificateInput
}
lockACMPCAAPIMockGetCertificateAuthorityCertificateRequest.RLock()
calls = mock.calls.GetCertificateAuthorityCertificateRequest
lockACMPCAAPIMockGetCertificateAuthorityCertificateRequest.RUnlock()
return calls
}
// GetCertificateAuthorityCsrRequest calls GetCertificateAuthorityCsrRequestFunc.
func (mock *ACMPCAAPIMock) GetCertificateAuthorityCsrRequest(in1 *acmpca.GetCertificateAuthorityCsrInput) acmpca.GetCertificateAuthorityCsrRequest {
if mock.GetCertificateAuthorityCsrRequestFunc == nil {
panic("ACMPCAAPIMock.GetCertificateAuthorityCsrRequestFunc: method is nil but ACMPCAAPI.GetCertificateAuthorityCsrRequest was just called")
}
callInfo := struct {
In1 *acmpca.GetCertificateAuthorityCsrInput
}{
In1: in1,
}
lockACMPCAAPIMockGetCertificateAuthorityCsrRequest.Lock()
mock.calls.GetCertificateAuthorityCsrRequest = append(mock.calls.GetCertificateAuthorityCsrRequest, callInfo)
lockACMPCAAPIMockGetCertificateAuthorityCsrRequest.Unlock()
return mock.GetCertificateAuthorityCsrRequestFunc(in1)
}
// GetCertificateAuthorityCsrRequestCalls gets all the calls that were made to GetCertificateAuthorityCsrRequest.
// Check the length with:
// len(mockedACMPCAAPI.GetCertificateAuthorityCsrRequestCalls())
func (mock *ACMPCAAPIMock) GetCertificateAuthorityCsrRequestCalls() []struct {
In1 *acmpca.GetCertificateAuthorityCsrInput
} {
var calls []struct {
In1 *acmpca.GetCertificateAuthorityCsrInput
}
lockACMPCAAPIMockGetCertificateAuthorityCsrRequest.RLock()
calls = mock.calls.GetCertificateAuthorityCsrRequest
lockACMPCAAPIMockGetCertificateAuthorityCsrRequest.RUnlock()
return calls
}
// GetCertificateRequest calls GetCertificateRequestFunc.
func (mock *ACMPCAAPIMock) GetCertificateRequest(in1 *acmpca.GetCertificateInput) acmpca.GetCertificateRequest {
if mock.GetCertificateRequestFunc == nil {
panic("ACMPCAAPIMock.GetCertificateRequestFunc: method is nil but ACMPCAAPI.GetCertificateRequest was just called")
}
callInfo := struct {
In1 *acmpca.GetCertificateInput
}{
In1: in1,
}
lockACMPCAAPIMockGetCertificateRequest.Lock()
mock.calls.GetCertificateRequest = append(mock.calls.GetCertificateRequest, callInfo)
lockACMPCAAPIMockGetCertificateRequest.Unlock()
return mock.GetCertificateRequestFunc(in1)
}
// GetCertificateRequestCalls gets all the calls that were made to GetCertificateRequest.
// Check the length with:
// len(mockedACMPCAAPI.GetCertificateRequestCalls())
func (mock *ACMPCAAPIMock) GetCertificateRequestCalls() []struct {
In1 *acmpca.GetCertificateInput
} {
var calls []struct {
In1 *acmpca.GetCertificateInput
}
lockACMPCAAPIMockGetCertificateRequest.RLock()
calls = mock.calls.GetCertificateRequest
lockACMPCAAPIMockGetCertificateRequest.RUnlock()
return calls
}
// ImportCertificateAuthorityCertificateRequest calls ImportCertificateAuthorityCertificateRequestFunc.
func (mock *ACMPCAAPIMock) ImportCertificateAuthorityCertificateRequest(in1 *acmpca.ImportCertificateAuthorityCertificateInput) acmpca.ImportCertificateAuthorityCertificateRequest {
if mock.ImportCertificateAuthorityCertificateRequestFunc == nil {
panic("ACMPCAAPIMock.ImportCertificateAuthorityCertificateRequestFunc: method is nil but ACMPCAAPI.ImportCertificateAuthorityCertificateRequest was just called")
}
callInfo := struct {
In1 *acmpca.ImportCertificateAuthorityCertificateInput
}{
In1: in1,
}
lockACMPCAAPIMockImportCertificateAuthorityCertificateRequest.Lock()
mock.calls.ImportCertificateAuthorityCertificateRequest = append(mock.calls.ImportCertificateAuthorityCertificateRequest, callInfo)
lockACMPCAAPIMockImportCertificateAuthorityCertificateRequest.Unlock()
return mock.ImportCertificateAuthorityCertificateRequestFunc(in1)
}
// ImportCertificateAuthorityCertificateRequestCalls gets all the calls that were made to ImportCertificateAuthorityCertificateRequest.
// Check the length with:
// len(mockedACMPCAAPI.ImportCertificateAuthorityCertificateRequestCalls())
func (mock *ACMPCAAPIMock) ImportCertificateAuthorityCertificateRequestCalls() []struct {
In1 *acmpca.ImportCertificateAuthorityCertificateInput
} {
var calls []struct {
In1 *acmpca.ImportCertificateAuthorityCertificateInput
}
lockACMPCAAPIMockImportCertificateAuthorityCertificateRequest.RLock()
calls = mock.calls.ImportCertificateAuthorityCertificateRequest
lockACMPCAAPIMockImportCertificateAuthorityCertificateRequest.RUnlock()
return calls
}
// IssueCertificateRequest calls IssueCertificateRequestFunc.
func (mock *ACMPCAAPIMock) IssueCertificateRequest(in1 *acmpca.IssueCertificateInput) acmpca.IssueCertificateRequest {
if mock.IssueCertificateRequestFunc == nil {
panic("ACMPCAAPIMock.IssueCertificateRequestFunc: method is nil but ACMPCAAPI.IssueCertificateRequest was just called")
}
callInfo := struct {
In1 *acmpca.IssueCertificateInput
}{
In1: in1,
}
lockACMPCAAPIMockIssueCertificateRequest.Lock()
mock.calls.IssueCertificateRequest = append(mock.calls.IssueCertificateRequest, callInfo)
lockACMPCAAPIMockIssueCertificateRequest.Unlock()
return mock.IssueCertificateRequestFunc(in1)
}
// IssueCertificateRequestCalls gets all the calls that were made to IssueCertificateRequest.
// Check the length with:
// len(mockedACMPCAAPI.IssueCertificateRequestCalls())
func (mock *ACMPCAAPIMock) IssueCertificateRequestCalls() []struct {
In1 *acmpca.IssueCertificateInput
} {
var calls []struct {
In1 *acmpca.IssueCertificateInput
}
lockACMPCAAPIMockIssueCertificateRequest.RLock()
calls = mock.calls.IssueCertificateRequest
lockACMPCAAPIMockIssueCertificateRequest.RUnlock()
return calls
}
// ListCertificateAuthoritiesRequest calls ListCertificateAuthoritiesRequestFunc.
func (mock *ACMPCAAPIMock) ListCertificateAuthoritiesRequest(in1 *acmpca.ListCertificateAuthoritiesInput) acmpca.ListCertificateAuthoritiesRequest {
if mock.ListCertificateAuthoritiesRequestFunc == nil {
panic("ACMPCAAPIMock.ListCertificateAuthoritiesRequestFunc: method is nil but ACMPCAAPI.ListCertificateAuthoritiesRequest was just called")
}
callInfo := struct {
In1 *acmpca.ListCertificateAuthoritiesInput
}{
In1: in1,
}
lockACMPCAAPIMockListCertificateAuthoritiesRequest.Lock()
mock.calls.ListCertificateAuthoritiesRequest = append(mock.calls.ListCertificateAuthoritiesRequest, callInfo)
lockACMPCAAPIMockListCertificateAuthoritiesRequest.Unlock()
return mock.ListCertificateAuthoritiesRequestFunc(in1)
}
// ListCertificateAuthoritiesRequestCalls gets all the calls that were made to ListCertificateAuthoritiesRequest.
// Check the length with:
// len(mockedACMPCAAPI.ListCertificateAuthoritiesRequestCalls())
func (mock *ACMPCAAPIMock) ListCertificateAuthoritiesRequestCalls() []struct {
In1 *acmpca.ListCertificateAuthoritiesInput
} {
var calls []struct {
In1 *acmpca.ListCertificateAuthoritiesInput
}
lockACMPCAAPIMockListCertificateAuthoritiesRequest.RLock()
calls = mock.calls.ListCertificateAuthoritiesRequest
lockACMPCAAPIMockListCertificateAuthoritiesRequest.RUnlock()
return calls
}
// ListTagsRequest calls ListTagsRequestFunc.
func (mock *ACMPCAAPIMock) ListTagsRequest(in1 *acmpca.ListTagsInput) acmpca.ListTagsRequest {
if mock.ListTagsRequestFunc == nil {
panic("ACMPCAAPIMock.ListTagsRequestFunc: method is nil but ACMPCAAPI.ListTagsRequest was just called")
}
callInfo := struct {
In1 *acmpca.ListTagsInput
}{
In1: in1,
}
lockACMPCAAPIMockListTagsRequest.Lock()
mock.calls.ListTagsRequest = append(mock.calls.ListTagsRequest, callInfo)
lockACMPCAAPIMockListTagsRequest.Unlock()
return mock.ListTagsRequestFunc(in1)
}
// ListTagsRequestCalls gets all the calls that were made to ListTagsRequest.
// Check the length with:
// len(mockedACMPCAAPI.ListTagsRequestCalls())
func (mock *ACMPCAAPIMock) ListTagsRequestCalls() []struct {
In1 *acmpca.ListTagsInput
} {
var calls []struct {
In1 *acmpca.ListTagsInput
}
lockACMPCAAPIMockListTagsRequest.RLock()
calls = mock.calls.ListTagsRequest
lockACMPCAAPIMockListTagsRequest.RUnlock()
return calls
}
// RestoreCertificateAuthorityRequest calls RestoreCertificateAuthorityRequestFunc.
func (mock *ACMPCAAPIMock) RestoreCertificateAuthorityRequest(in1 *acmpca.RestoreCertificateAuthorityInput) acmpca.RestoreCertificateAuthorityRequest {
if mock.RestoreCertificateAuthorityRequestFunc == nil {
panic("ACMPCAAPIMock.RestoreCertificateAuthorityRequestFunc: method is nil but ACMPCAAPI.RestoreCertificateAuthorityRequest was just called")
}
callInfo := struct {
In1 *acmpca.RestoreCertificateAuthorityInput
}{
In1: in1,
}
lockACMPCAAPIMockRestoreCertificateAuthorityRequest.Lock()
mock.calls.RestoreCertificateAuthorityRequest = append(mock.calls.RestoreCertificateAuthorityRequest, callInfo)
lockACMPCAAPIMockRestoreCertificateAuthorityRequest.Unlock()
return mock.RestoreCertificateAuthorityRequestFunc(in1)
}
// RestoreCertificateAuthorityRequestCalls gets all the calls that were made to RestoreCertificateAuthorityRequest.
// Check the length with:
// len(mockedACMPCAAPI.RestoreCertificateAuthorityRequestCalls())
func (mock *ACMPCAAPIMock) RestoreCertificateAuthorityRequestCalls() []struct {
In1 *acmpca.RestoreCertificateAuthorityInput
} {
var calls []struct {
In1 *acmpca.RestoreCertificateAuthorityInput
}
lockACMPCAAPIMockRestoreCertificateAuthorityRequest.RLock()
calls = mock.calls.RestoreCertificateAuthorityRequest
lockACMPCAAPIMockRestoreCertificateAuthorityRequest.RUnlock()
return calls
}
// RevokeCertificateRequest calls RevokeCertificateRequestFunc.
func (mock *ACMPCAAPIMock) RevokeCertificateRequest(in1 *acmpca.RevokeCertificateInput) acmpca.RevokeCertificateRequest {
if mock.RevokeCertificateRequestFunc == nil {
panic("ACMPCAAPIMock.RevokeCertificateRequestFunc: method is nil but ACMPCAAPI.RevokeCertificateRequest was just called")
}
callInfo := struct {
In1 *acmpca.RevokeCertificateInput
}{
In1: in1,
}
lockACMPCAAPIMockRevokeCertificateRequest.Lock()
mock.calls.RevokeCertificateRequest = append(mock.calls.RevokeCertificateRequest, callInfo)
lockACMPCAAPIMockRevokeCertificateRequest.Unlock()
return mock.RevokeCertificateRequestFunc(in1)
}
// RevokeCertificateRequestCalls gets all the calls that were made to RevokeCertificateRequest.
// Check the length with:
// len(mockedACMPCAAPI.RevokeCertificateRequestCalls())
func (mock *ACMPCAAPIMock) RevokeCertificateRequestCalls() []struct {
In1 *acmpca.RevokeCertificateInput
} {
var calls []struct {
In1 *acmpca.RevokeCertificateInput
}
lockACMPCAAPIMockRevokeCertificateRequest.RLock()
calls = mock.calls.RevokeCertificateRequest
lockACMPCAAPIMockRevokeCertificateRequest.RUnlock()
return calls
}
// TagCertificateAuthorityRequest calls TagCertificateAuthorityRequestFunc.
func (mock *ACMPCAAPIMock) TagCertificateAuthorityRequest(in1 *acmpca.TagCertificateAuthorityInput) acmpca.TagCertificateAuthorityRequest {
if mock.TagCertificateAuthorityRequestFunc == nil {
panic("ACMPCAAPIMock.TagCertificateAuthorityRequestFunc: method is nil but ACMPCAAPI.TagCertificateAuthorityRequest was just called")
}
callInfo := struct {
In1 *acmpca.TagCertificateAuthorityInput
}{
In1: in1,
}
lockACMPCAAPIMockTagCertificateAuthorityRequest.Lock()
mock.calls.TagCertificateAuthorityRequest = append(mock.calls.TagCertificateAuthorityRequest, callInfo)
lockACMPCAAPIMockTagCertificateAuthorityRequest.Unlock()
return mock.TagCertificateAuthorityRequestFunc(in1)
}
// TagCertificateAuthorityRequestCalls gets all the calls that were made to TagCertificateAuthorityRequest.
// Check the length with:
// len(mockedACMPCAAPI.TagCertificateAuthorityRequestCalls())
func (mock *ACMPCAAPIMock) TagCertificateAuthorityRequestCalls() []struct {
In1 *acmpca.TagCertificateAuthorityInput
} {
var calls []struct {
In1 *acmpca.TagCertificateAuthorityInput
}
lockACMPCAAPIMockTagCertificateAuthorityRequest.RLock()
calls = mock.calls.TagCertificateAuthorityRequest
lockACMPCAAPIMockTagCertificateAuthorityRequest.RUnlock()
return calls
}
// UntagCertificateAuthorityRequest calls UntagCertificateAuthorityRequestFunc.
func (mock *ACMPCAAPIMock) UntagCertificateAuthorityRequest(in1 *acmpca.UntagCertificateAuthorityInput) acmpca.UntagCertificateAuthorityRequest {
if mock.UntagCertificateAuthorityRequestFunc == nil {
panic("ACMPCAAPIMock.UntagCertificateAuthorityRequestFunc: method is nil but ACMPCAAPI.UntagCertificateAuthorityRequest was just called")
}
callInfo := struct {
In1 *acmpca.UntagCertificateAuthorityInput
}{
In1: in1,
}
lockACMPCAAPIMockUntagCertificateAuthorityRequest.Lock()
mock.calls.UntagCertificateAuthorityRequest = append(mock.calls.UntagCertificateAuthorityRequest, callInfo)
lockACMPCAAPIMockUntagCertificateAuthorityRequest.Unlock()
return mock.UntagCertificateAuthorityRequestFunc(in1)
}
// UntagCertificateAuthorityRequestCalls gets all the calls that were made to UntagCertificateAuthorityRequest.
// Check the length with:
// len(mockedACMPCAAPI.UntagCertificateAuthorityRequestCalls())
func (mock *ACMPCAAPIMock) UntagCertificateAuthorityRequestCalls() []struct {
In1 *acmpca.UntagCertificateAuthorityInput
} {
var calls []struct {
In1 *acmpca.UntagCertificateAuthorityInput
}
lockACMPCAAPIMockUntagCertificateAuthorityRequest.RLock()
calls = mock.calls.UntagCertificateAuthorityRequest
lockACMPCAAPIMockUntagCertificateAuthorityRequest.RUnlock()
return calls
}
// UpdateCertificateAuthorityRequest calls UpdateCertificateAuthorityRequestFunc.
func (mock *ACMPCAAPIMock) UpdateCertificateAuthorityRequest(in1 *acmpca.UpdateCertificateAuthorityInput) acmpca.UpdateCertificateAuthorityRequest {
if mock.UpdateCertificateAuthorityRequestFunc == nil {
panic("ACMPCAAPIMock.UpdateCertificateAuthorityRequestFunc: method is nil but ACMPCAAPI.UpdateCertificateAuthorityRequest was just called")
}
callInfo := struct {
In1 *acmpca.UpdateCertificateAuthorityInput
}{
In1: in1,
}
lockACMPCAAPIMockUpdateCertificateAuthorityRequest.Lock()
mock.calls.UpdateCertificateAuthorityRequest = append(mock.calls.UpdateCertificateAuthorityRequest, callInfo)
lockACMPCAAPIMockUpdateCertificateAuthorityRequest.Unlock()
return mock.UpdateCertificateAuthorityRequestFunc(in1)
}
// UpdateCertificateAuthorityRequestCalls gets all the calls that were made to UpdateCertificateAuthorityRequest.
// Check the length with:
// len(mockedACMPCAAPI.UpdateCertificateAuthorityRequestCalls())
func (mock *ACMPCAAPIMock) UpdateCertificateAuthorityRequestCalls() []struct {
In1 *acmpca.UpdateCertificateAuthorityInput
} {
var calls []struct {
In1 *acmpca.UpdateCertificateAuthorityInput
}
lockACMPCAAPIMockUpdateCertificateAuthorityRequest.RLock()
calls = mock.calls.UpdateCertificateAuthorityRequest
lockACMPCAAPIMockUpdateCertificateAuthorityRequest.RUnlock()
return calls
}
// WaitUntilAuditReportCreated calls WaitUntilAuditReportCreatedFunc.
func (mock *ACMPCAAPIMock) WaitUntilAuditReportCreated(in1 *acmpca.DescribeCertificateAuthorityAuditReportInput) error {
if mock.WaitUntilAuditReportCreatedFunc == nil {
panic("ACMPCAAPIMock.WaitUntilAuditReportCreatedFunc: method is nil but ACMPCAAPI.WaitUntilAuditReportCreated was just called")
}
callInfo := struct {
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
}{
In1: in1,
}
lockACMPCAAPIMockWaitUntilAuditReportCreated.Lock()
mock.calls.WaitUntilAuditReportCreated = append(mock.calls.WaitUntilAuditReportCreated, callInfo)
lockACMPCAAPIMockWaitUntilAuditReportCreated.Unlock()
return mock.WaitUntilAuditReportCreatedFunc(in1)
}
// WaitUntilAuditReportCreatedCalls gets all the calls that were made to WaitUntilAuditReportCreated.
// Check the length with:
// len(mockedACMPCAAPI.WaitUntilAuditReportCreatedCalls())
func (mock *ACMPCAAPIMock) WaitUntilAuditReportCreatedCalls() []struct {
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
} {
var calls []struct {
In1 *acmpca.DescribeCertificateAuthorityAuditReportInput
}
lockACMPCAAPIMockWaitUntilAuditReportCreated.RLock()
calls = mock.calls.WaitUntilAuditReportCreated
lockACMPCAAPIMockWaitUntilAuditReportCreated.RUnlock()
return calls
}
// WaitUntilAuditReportCreatedWithContext calls WaitUntilAuditReportCreatedWithContextFunc.
func (mock *ACMPCAAPIMock) WaitUntilAuditReportCreatedWithContext(in1 aws.Context, in2 *acmpca.DescribeCertificateAuthorityAuditReportInput, in3 ...aws.WaiterOption) error {
if mock.WaitUntilAuditReportCreatedWithContextFunc == nil {
panic("ACMPCAAPIMock.WaitUntilAuditReportCreatedWithContextFunc: method is nil but ACMPCAAPI.WaitUntilAuditReportCreatedWithContext was just called")
}
callInfo := struct {
In1 aws.Context
In2 *acmpca.DescribeCertificateAuthorityAuditReportInput
In3 []aws.WaiterOption
}{
In1: in1,
In2: in2,
In3: in3,
}
lockACMPCAAPIMockWaitUntilAuditReportCreatedWithContext.Lock()
mock.calls.WaitUntilAuditReportCreatedWithContext = append(mock.calls.WaitUntilAuditReportCreatedWithContext, callInfo)
lockACMPCAAPIMockWaitUntilAuditReportCreatedWithContext.Unlock()
return mock.WaitUntilAuditReportCreatedWithContextFunc(in1, in2, in3...)
}
// WaitUntilAuditReportCreatedWithContextCalls gets all the calls that were made to WaitUntilAuditReportCreatedWithContext.
// Check the length with:
// len(mockedACMPCAAPI.WaitUntilAuditReportCreatedWithContextCalls())
func (mock *ACMPCAAPIMock) WaitUntilAuditReportCreatedWithContextCalls() []struct {
In1 aws.Context
In2 *acmpca.DescribeCertificateAuthorityAuditReportInput
In3 []aws.WaiterOption
} {
var calls []struct {
In1 aws.Context
In2 *acmpca.DescribeCertificateAuthorityAuditReportInput
In3 []aws.WaiterOption
}
lockACMPCAAPIMockWaitUntilAuditReportCreatedWithContext.RLock()
calls = mock.calls.WaitUntilAuditReportCreatedWithContext
lockACMPCAAPIMockWaitUntilAuditReportCreatedWithContext.RUnlock()
return calls
}
// WaitUntilCertificateAuthorityCSRCreated calls WaitUntilCertificateAuthorityCSRCreatedFunc.
func (mock *ACMPCAAPIMock) WaitUntilCertificateAuthorityCSRCreated(in1 *acmpca.GetCertificateAuthorityCsrInput) error {
if mock.WaitUntilCertificateAuthorityCSRCreatedFunc == nil {
panic("ACMPCAAPIMock.WaitUntilCertificateAuthorityCSRCreatedFunc: method is nil but ACMPCAAPI.WaitUntilCertificateAuthorityCSRCreated was just called")
}
callInfo := struct {
In1 *acmpca.GetCertificateAuthorityCsrInput
}{
In1: in1,
}
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreated.Lock()
mock.calls.WaitUntilCertificateAuthorityCSRCreated = append(mock.calls.WaitUntilCertificateAuthorityCSRCreated, callInfo)
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreated.Unlock()
return mock.WaitUntilCertificateAuthorityCSRCreatedFunc(in1)
}
// WaitUntilCertificateAuthorityCSRCreatedCalls gets all the calls that were made to WaitUntilCertificateAuthorityCSRCreated.
// Check the length with:
// len(mockedACMPCAAPI.WaitUntilCertificateAuthorityCSRCreatedCalls())
func (mock *ACMPCAAPIMock) WaitUntilCertificateAuthorityCSRCreatedCalls() []struct {
In1 *acmpca.GetCertificateAuthorityCsrInput
} {
var calls []struct {
In1 *acmpca.GetCertificateAuthorityCsrInput
}
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreated.RLock()
calls = mock.calls.WaitUntilCertificateAuthorityCSRCreated
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreated.RUnlock()
return calls
}
// WaitUntilCertificateAuthorityCSRCreatedWithContext calls WaitUntilCertificateAuthorityCSRCreatedWithContextFunc.
func (mock *ACMPCAAPIMock) WaitUntilCertificateAuthorityCSRCreatedWithContext(in1 aws.Context, in2 *acmpca.GetCertificateAuthorityCsrInput, in3 ...aws.WaiterOption) error {
if mock.WaitUntilCertificateAuthorityCSRCreatedWithContextFunc == nil {
panic("ACMPCAAPIMock.WaitUntilCertificateAuthorityCSRCreatedWithContextFunc: method is nil but ACMPCAAPI.WaitUntilCertificateAuthorityCSRCreatedWithContext was just called")
}
callInfo := struct {
In1 aws.Context
In2 *acmpca.GetCertificateAuthorityCsrInput
In3 []aws.WaiterOption
}{
In1: in1,
In2: in2,
In3: in3,
}
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreatedWithContext.Lock()
mock.calls.WaitUntilCertificateAuthorityCSRCreatedWithContext = append(mock.calls.WaitUntilCertificateAuthorityCSRCreatedWithContext, callInfo)
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreatedWithContext.Unlock()
return mock.WaitUntilCertificateAuthorityCSRCreatedWithContextFunc(in1, in2, in3...)
}
// WaitUntilCertificateAuthorityCSRCreatedWithContextCalls gets all the calls that were made to WaitUntilCertificateAuthorityCSRCreatedWithContext.
// Check the length with:
// len(mockedACMPCAAPI.WaitUntilCertificateAuthorityCSRCreatedWithContextCalls())
func (mock *ACMPCAAPIMock) WaitUntilCertificateAuthorityCSRCreatedWithContextCalls() []struct {
In1 aws.Context
In2 *acmpca.GetCertificateAuthorityCsrInput
In3 []aws.WaiterOption
} {
var calls []struct {
In1 aws.Context
In2 *acmpca.GetCertificateAuthorityCsrInput
In3 []aws.WaiterOption
}
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreatedWithContext.RLock()
calls = mock.calls.WaitUntilCertificateAuthorityCSRCreatedWithContext
lockACMPCAAPIMockWaitUntilCertificateAuthorityCSRCreatedWithContext.RUnlock()
return calls
}
// WaitUntilCertificateIssued calls WaitUntilCertificateIssuedFunc.
func (mock *ACMPCAAPIMock) WaitUntilCertificateIssued(in1 *acmpca.GetCertificateInput) error {
if mock.WaitUntilCertificateIssuedFunc == nil {
panic("ACMPCAAPIMock.WaitUntilCertificateIssuedFunc: method is nil but ACMPCAAPI.WaitUntilCertificateIssued was just called")
}
callInfo := struct {
In1 *acmpca.GetCertificateInput
}{