generated from beyondstorage/go-service-example
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mock_test.go
1454 lines (1257 loc) · 61.3 KB
/
mock_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/qingstor/qingstor-sdk-go/v4/interface (interfaces: Service,Bucket)
// Package qingstor is a generated GoMock package.
package qingstor
import (
context "context"
reflect "reflect"
gomock "github.com/golang/mock/gomock"
service "github.com/qingstor/qingstor-sdk-go/v4/service"
)
// MockService is a mock of Service interface.
type MockService struct {
ctrl *gomock.Controller
recorder *MockServiceMockRecorder
}
// MockServiceMockRecorder is the mock recorder for MockService.
type MockServiceMockRecorder struct {
mock *MockService
}
// NewMockService creates a new mock instance.
func NewMockService(ctrl *gomock.Controller) *MockService {
mock := &MockService{ctrl: ctrl}
mock.recorder = &MockServiceMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockService) EXPECT() *MockServiceMockRecorder {
return m.recorder
}
// Bucket mocks base method.
func (m *MockService) Bucket(arg0, arg1 string) (*service.Bucket, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Bucket", arg0, arg1)
ret0, _ := ret[0].(*service.Bucket)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Bucket indicates an expected call of Bucket.
func (mr *MockServiceMockRecorder) Bucket(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bucket", reflect.TypeOf((*MockService)(nil).Bucket), arg0, arg1)
}
// ListBuckets mocks base method.
func (m *MockService) ListBuckets(arg0 *service.ListBucketsInput) (*service.ListBucketsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListBuckets", arg0)
ret0, _ := ret[0].(*service.ListBucketsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListBuckets indicates an expected call of ListBuckets.
func (mr *MockServiceMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBuckets", reflect.TypeOf((*MockService)(nil).ListBuckets), arg0)
}
// ListBucketsWithContext mocks base method.
func (m *MockService) ListBucketsWithContext(arg0 context.Context, arg1 *service.ListBucketsInput) (*service.ListBucketsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListBucketsWithContext", arg0, arg1)
ret0, _ := ret[0].(*service.ListBucketsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListBucketsWithContext indicates an expected call of ListBucketsWithContext.
func (mr *MockServiceMockRecorder) ListBucketsWithContext(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBucketsWithContext", reflect.TypeOf((*MockService)(nil).ListBucketsWithContext), arg0, arg1)
}
// MockBucket is a mock of Bucket interface.
type MockBucket struct {
ctrl *gomock.Controller
recorder *MockBucketMockRecorder
}
// MockBucketMockRecorder is the mock recorder for MockBucket.
type MockBucketMockRecorder struct {
mock *MockBucket
}
// NewMockBucket creates a new mock instance.
func NewMockBucket(ctrl *gomock.Controller) *MockBucket {
mock := &MockBucket{ctrl: ctrl}
mock.recorder = &MockBucketMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockBucket) EXPECT() *MockBucketMockRecorder {
return m.recorder
}
// AbortMultipartUpload mocks base method.
func (m *MockBucket) AbortMultipartUpload(arg0 string, arg1 *service.AbortMultipartUploadInput) (*service.AbortMultipartUploadOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AbortMultipartUpload", arg0, arg1)
ret0, _ := ret[0].(*service.AbortMultipartUploadOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// AbortMultipartUpload indicates an expected call of AbortMultipartUpload.
func (mr *MockBucketMockRecorder) AbortMultipartUpload(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortMultipartUpload", reflect.TypeOf((*MockBucket)(nil).AbortMultipartUpload), arg0, arg1)
}
// AbortMultipartUploadWithContext mocks base method.
func (m *MockBucket) AbortMultipartUploadWithContext(arg0 context.Context, arg1 string, arg2 *service.AbortMultipartUploadInput) (*service.AbortMultipartUploadOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AbortMultipartUploadWithContext", arg0, arg1, arg2)
ret0, _ := ret[0].(*service.AbortMultipartUploadOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// AbortMultipartUploadWithContext indicates an expected call of AbortMultipartUploadWithContext.
func (mr *MockBucketMockRecorder) AbortMultipartUploadWithContext(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortMultipartUploadWithContext", reflect.TypeOf((*MockBucket)(nil).AbortMultipartUploadWithContext), arg0, arg1, arg2)
}
// AppendObject mocks base method.
func (m *MockBucket) AppendObject(arg0 string, arg1 *service.AppendObjectInput) (*service.AppendObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AppendObject", arg0, arg1)
ret0, _ := ret[0].(*service.AppendObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// AppendObject indicates an expected call of AppendObject.
func (mr *MockBucketMockRecorder) AppendObject(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendObject", reflect.TypeOf((*MockBucket)(nil).AppendObject), arg0, arg1)
}
// AppendObjectWithContext mocks base method.
func (m *MockBucket) AppendObjectWithContext(arg0 context.Context, arg1 string, arg2 *service.AppendObjectInput) (*service.AppendObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "AppendObjectWithContext", arg0, arg1, arg2)
ret0, _ := ret[0].(*service.AppendObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// AppendObjectWithContext indicates an expected call of AppendObjectWithContext.
func (mr *MockBucketMockRecorder) AppendObjectWithContext(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AppendObjectWithContext", reflect.TypeOf((*MockBucket)(nil).AppendObjectWithContext), arg0, arg1, arg2)
}
// CompleteMultipartUpload mocks base method.
func (m *MockBucket) CompleteMultipartUpload(arg0 string, arg1 *service.CompleteMultipartUploadInput) (*service.CompleteMultipartUploadOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CompleteMultipartUpload", arg0, arg1)
ret0, _ := ret[0].(*service.CompleteMultipartUploadOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CompleteMultipartUpload indicates an expected call of CompleteMultipartUpload.
func (mr *MockBucketMockRecorder) CompleteMultipartUpload(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CompleteMultipartUpload", reflect.TypeOf((*MockBucket)(nil).CompleteMultipartUpload), arg0, arg1)
}
// CompleteMultipartUploadWithContext mocks base method.
func (m *MockBucket) CompleteMultipartUploadWithContext(arg0 context.Context, arg1 string, arg2 *service.CompleteMultipartUploadInput) (*service.CompleteMultipartUploadOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CompleteMultipartUploadWithContext", arg0, arg1, arg2)
ret0, _ := ret[0].(*service.CompleteMultipartUploadOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CompleteMultipartUploadWithContext indicates an expected call of CompleteMultipartUploadWithContext.
func (mr *MockBucketMockRecorder) CompleteMultipartUploadWithContext(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CompleteMultipartUploadWithContext", reflect.TypeOf((*MockBucket)(nil).CompleteMultipartUploadWithContext), arg0, arg1, arg2)
}
// Delete mocks base method.
func (m *MockBucket) Delete() (*service.DeleteBucketOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Delete")
ret0, _ := ret[0].(*service.DeleteBucketOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Delete indicates an expected call of Delete.
func (mr *MockBucketMockRecorder) Delete() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Delete", reflect.TypeOf((*MockBucket)(nil).Delete))
}
// DeleteCNAME mocks base method.
func (m *MockBucket) DeleteCNAME(arg0 *service.DeleteBucketCNAMEInput) (*service.DeleteBucketCNAMEOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCNAME", arg0)
ret0, _ := ret[0].(*service.DeleteBucketCNAMEOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteCNAME indicates an expected call of DeleteCNAME.
func (mr *MockBucketMockRecorder) DeleteCNAME(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCNAME", reflect.TypeOf((*MockBucket)(nil).DeleteCNAME), arg0)
}
// DeleteCNAMEWithContext mocks base method.
func (m *MockBucket) DeleteCNAMEWithContext(arg0 context.Context, arg1 *service.DeleteBucketCNAMEInput) (*service.DeleteBucketCNAMEOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCNAMEWithContext", arg0, arg1)
ret0, _ := ret[0].(*service.DeleteBucketCNAMEOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteCNAMEWithContext indicates an expected call of DeleteCNAMEWithContext.
func (mr *MockBucketMockRecorder) DeleteCNAMEWithContext(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCNAMEWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteCNAMEWithContext), arg0, arg1)
}
// DeleteCORS mocks base method.
func (m *MockBucket) DeleteCORS() (*service.DeleteBucketCORSOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCORS")
ret0, _ := ret[0].(*service.DeleteBucketCORSOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteCORS indicates an expected call of DeleteCORS.
func (mr *MockBucketMockRecorder) DeleteCORS() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCORS", reflect.TypeOf((*MockBucket)(nil).DeleteCORS))
}
// DeleteCORSWithContext mocks base method.
func (m *MockBucket) DeleteCORSWithContext(arg0 context.Context) (*service.DeleteBucketCORSOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteCORSWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketCORSOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteCORSWithContext indicates an expected call of DeleteCORSWithContext.
func (mr *MockBucketMockRecorder) DeleteCORSWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCORSWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteCORSWithContext), arg0)
}
// DeleteExternalMirror mocks base method.
func (m *MockBucket) DeleteExternalMirror() (*service.DeleteBucketExternalMirrorOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteExternalMirror")
ret0, _ := ret[0].(*service.DeleteBucketExternalMirrorOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteExternalMirror indicates an expected call of DeleteExternalMirror.
func (mr *MockBucketMockRecorder) DeleteExternalMirror() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteExternalMirror", reflect.TypeOf((*MockBucket)(nil).DeleteExternalMirror))
}
// DeleteExternalMirrorWithContext mocks base method.
func (m *MockBucket) DeleteExternalMirrorWithContext(arg0 context.Context) (*service.DeleteBucketExternalMirrorOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteExternalMirrorWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketExternalMirrorOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteExternalMirrorWithContext indicates an expected call of DeleteExternalMirrorWithContext.
func (mr *MockBucketMockRecorder) DeleteExternalMirrorWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteExternalMirrorWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteExternalMirrorWithContext), arg0)
}
// DeleteLifecycle mocks base method.
func (m *MockBucket) DeleteLifecycle() (*service.DeleteBucketLifecycleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteLifecycle")
ret0, _ := ret[0].(*service.DeleteBucketLifecycleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteLifecycle indicates an expected call of DeleteLifecycle.
func (mr *MockBucketMockRecorder) DeleteLifecycle() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLifecycle", reflect.TypeOf((*MockBucket)(nil).DeleteLifecycle))
}
// DeleteLifecycleWithContext mocks base method.
func (m *MockBucket) DeleteLifecycleWithContext(arg0 context.Context) (*service.DeleteBucketLifecycleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteLifecycleWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketLifecycleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteLifecycleWithContext indicates an expected call of DeleteLifecycleWithContext.
func (mr *MockBucketMockRecorder) DeleteLifecycleWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLifecycleWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteLifecycleWithContext), arg0)
}
// DeleteLogging mocks base method.
func (m *MockBucket) DeleteLogging() (*service.DeleteBucketLoggingOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteLogging")
ret0, _ := ret[0].(*service.DeleteBucketLoggingOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteLogging indicates an expected call of DeleteLogging.
func (mr *MockBucketMockRecorder) DeleteLogging() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogging", reflect.TypeOf((*MockBucket)(nil).DeleteLogging))
}
// DeleteLoggingWithContext mocks base method.
func (m *MockBucket) DeleteLoggingWithContext(arg0 context.Context) (*service.DeleteBucketLoggingOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteLoggingWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketLoggingOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteLoggingWithContext indicates an expected call of DeleteLoggingWithContext.
func (mr *MockBucketMockRecorder) DeleteLoggingWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoggingWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteLoggingWithContext), arg0)
}
// DeleteMultipleObjects mocks base method.
func (m *MockBucket) DeleteMultipleObjects(arg0 *service.DeleteMultipleObjectsInput) (*service.DeleteMultipleObjectsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteMultipleObjects", arg0)
ret0, _ := ret[0].(*service.DeleteMultipleObjectsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteMultipleObjects indicates an expected call of DeleteMultipleObjects.
func (mr *MockBucketMockRecorder) DeleteMultipleObjects(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteMultipleObjects", reflect.TypeOf((*MockBucket)(nil).DeleteMultipleObjects), arg0)
}
// DeleteMultipleObjectsWithContext mocks base method.
func (m *MockBucket) DeleteMultipleObjectsWithContext(arg0 context.Context, arg1 *service.DeleteMultipleObjectsInput) (*service.DeleteMultipleObjectsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteMultipleObjectsWithContext", arg0, arg1)
ret0, _ := ret[0].(*service.DeleteMultipleObjectsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteMultipleObjectsWithContext indicates an expected call of DeleteMultipleObjectsWithContext.
func (mr *MockBucketMockRecorder) DeleteMultipleObjectsWithContext(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteMultipleObjectsWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteMultipleObjectsWithContext), arg0, arg1)
}
// DeleteNotification mocks base method.
func (m *MockBucket) DeleteNotification() (*service.DeleteBucketNotificationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteNotification")
ret0, _ := ret[0].(*service.DeleteBucketNotificationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteNotification indicates an expected call of DeleteNotification.
func (mr *MockBucketMockRecorder) DeleteNotification() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNotification", reflect.TypeOf((*MockBucket)(nil).DeleteNotification))
}
// DeleteNotificationWithContext mocks base method.
func (m *MockBucket) DeleteNotificationWithContext(arg0 context.Context) (*service.DeleteBucketNotificationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteNotificationWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketNotificationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteNotificationWithContext indicates an expected call of DeleteNotificationWithContext.
func (mr *MockBucketMockRecorder) DeleteNotificationWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNotificationWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteNotificationWithContext), arg0)
}
// DeleteObject mocks base method.
func (m *MockBucket) DeleteObject(arg0 string) (*service.DeleteObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteObject", arg0)
ret0, _ := ret[0].(*service.DeleteObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteObject indicates an expected call of DeleteObject.
func (mr *MockBucketMockRecorder) DeleteObject(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObject", reflect.TypeOf((*MockBucket)(nil).DeleteObject), arg0)
}
// DeleteObjectWithContext mocks base method.
func (m *MockBucket) DeleteObjectWithContext(arg0 context.Context, arg1 string) (*service.DeleteObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteObjectWithContext", arg0, arg1)
ret0, _ := ret[0].(*service.DeleteObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteObjectWithContext indicates an expected call of DeleteObjectWithContext.
func (mr *MockBucketMockRecorder) DeleteObjectWithContext(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteObjectWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteObjectWithContext), arg0, arg1)
}
// DeletePolicy mocks base method.
func (m *MockBucket) DeletePolicy() (*service.DeleteBucketPolicyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeletePolicy")
ret0, _ := ret[0].(*service.DeleteBucketPolicyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeletePolicy indicates an expected call of DeletePolicy.
func (mr *MockBucketMockRecorder) DeletePolicy() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePolicy", reflect.TypeOf((*MockBucket)(nil).DeletePolicy))
}
// DeletePolicyWithContext mocks base method.
func (m *MockBucket) DeletePolicyWithContext(arg0 context.Context) (*service.DeleteBucketPolicyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeletePolicyWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketPolicyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeletePolicyWithContext indicates an expected call of DeletePolicyWithContext.
func (mr *MockBucketMockRecorder) DeletePolicyWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePolicyWithContext", reflect.TypeOf((*MockBucket)(nil).DeletePolicyWithContext), arg0)
}
// DeleteReplication mocks base method.
func (m *MockBucket) DeleteReplication() (*service.DeleteBucketReplicationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteReplication")
ret0, _ := ret[0].(*service.DeleteBucketReplicationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteReplication indicates an expected call of DeleteReplication.
func (mr *MockBucketMockRecorder) DeleteReplication() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteReplication", reflect.TypeOf((*MockBucket)(nil).DeleteReplication))
}
// DeleteReplicationWithContext mocks base method.
func (m *MockBucket) DeleteReplicationWithContext(arg0 context.Context) (*service.DeleteBucketReplicationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteReplicationWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketReplicationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteReplicationWithContext indicates an expected call of DeleteReplicationWithContext.
func (mr *MockBucketMockRecorder) DeleteReplicationWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteReplicationWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteReplicationWithContext), arg0)
}
// DeleteWithContext mocks base method.
func (m *MockBucket) DeleteWithContext(arg0 context.Context) (*service.DeleteBucketOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteWithContext", arg0)
ret0, _ := ret[0].(*service.DeleteBucketOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteWithContext indicates an expected call of DeleteWithContext.
func (mr *MockBucketMockRecorder) DeleteWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteWithContext", reflect.TypeOf((*MockBucket)(nil).DeleteWithContext), arg0)
}
// GetACL mocks base method.
func (m *MockBucket) GetACL() (*service.GetBucketACLOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetACL")
ret0, _ := ret[0].(*service.GetBucketACLOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetACL indicates an expected call of GetACL.
func (mr *MockBucketMockRecorder) GetACL() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetACL", reflect.TypeOf((*MockBucket)(nil).GetACL))
}
// GetACLWithContext mocks base method.
func (m *MockBucket) GetACLWithContext(arg0 context.Context) (*service.GetBucketACLOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetACLWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketACLOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetACLWithContext indicates an expected call of GetACLWithContext.
func (mr *MockBucketMockRecorder) GetACLWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetACLWithContext", reflect.TypeOf((*MockBucket)(nil).GetACLWithContext), arg0)
}
// GetCNAME mocks base method.
func (m *MockBucket) GetCNAME(arg0 *service.GetBucketCNAMEInput) (*service.GetBucketCNAMEOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCNAME", arg0)
ret0, _ := ret[0].(*service.GetBucketCNAMEOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCNAME indicates an expected call of GetCNAME.
func (mr *MockBucketMockRecorder) GetCNAME(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCNAME", reflect.TypeOf((*MockBucket)(nil).GetCNAME), arg0)
}
// GetCNAMEWithContext mocks base method.
func (m *MockBucket) GetCNAMEWithContext(arg0 context.Context, arg1 *service.GetBucketCNAMEInput) (*service.GetBucketCNAMEOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCNAMEWithContext", arg0, arg1)
ret0, _ := ret[0].(*service.GetBucketCNAMEOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCNAMEWithContext indicates an expected call of GetCNAMEWithContext.
func (mr *MockBucketMockRecorder) GetCNAMEWithContext(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCNAMEWithContext", reflect.TypeOf((*MockBucket)(nil).GetCNAMEWithContext), arg0, arg1)
}
// GetCORS mocks base method.
func (m *MockBucket) GetCORS() (*service.GetBucketCORSOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCORS")
ret0, _ := ret[0].(*service.GetBucketCORSOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCORS indicates an expected call of GetCORS.
func (mr *MockBucketMockRecorder) GetCORS() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCORS", reflect.TypeOf((*MockBucket)(nil).GetCORS))
}
// GetCORSWithContext mocks base method.
func (m *MockBucket) GetCORSWithContext(arg0 context.Context) (*service.GetBucketCORSOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetCORSWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketCORSOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetCORSWithContext indicates an expected call of GetCORSWithContext.
func (mr *MockBucketMockRecorder) GetCORSWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCORSWithContext", reflect.TypeOf((*MockBucket)(nil).GetCORSWithContext), arg0)
}
// GetExternalMirror mocks base method.
func (m *MockBucket) GetExternalMirror() (*service.GetBucketExternalMirrorOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetExternalMirror")
ret0, _ := ret[0].(*service.GetBucketExternalMirrorOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetExternalMirror indicates an expected call of GetExternalMirror.
func (mr *MockBucketMockRecorder) GetExternalMirror() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExternalMirror", reflect.TypeOf((*MockBucket)(nil).GetExternalMirror))
}
// GetExternalMirrorWithContext mocks base method.
func (m *MockBucket) GetExternalMirrorWithContext(arg0 context.Context) (*service.GetBucketExternalMirrorOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetExternalMirrorWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketExternalMirrorOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetExternalMirrorWithContext indicates an expected call of GetExternalMirrorWithContext.
func (mr *MockBucketMockRecorder) GetExternalMirrorWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExternalMirrorWithContext", reflect.TypeOf((*MockBucket)(nil).GetExternalMirrorWithContext), arg0)
}
// GetLifecycle mocks base method.
func (m *MockBucket) GetLifecycle() (*service.GetBucketLifecycleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetLifecycle")
ret0, _ := ret[0].(*service.GetBucketLifecycleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetLifecycle indicates an expected call of GetLifecycle.
func (mr *MockBucketMockRecorder) GetLifecycle() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLifecycle", reflect.TypeOf((*MockBucket)(nil).GetLifecycle))
}
// GetLifecycleWithContext mocks base method.
func (m *MockBucket) GetLifecycleWithContext(arg0 context.Context) (*service.GetBucketLifecycleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetLifecycleWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketLifecycleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetLifecycleWithContext indicates an expected call of GetLifecycleWithContext.
func (mr *MockBucketMockRecorder) GetLifecycleWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLifecycleWithContext", reflect.TypeOf((*MockBucket)(nil).GetLifecycleWithContext), arg0)
}
// GetLogging mocks base method.
func (m *MockBucket) GetLogging() (*service.GetBucketLoggingOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetLogging")
ret0, _ := ret[0].(*service.GetBucketLoggingOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetLogging indicates an expected call of GetLogging.
func (mr *MockBucketMockRecorder) GetLogging() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogging", reflect.TypeOf((*MockBucket)(nil).GetLogging))
}
// GetLoggingWithContext mocks base method.
func (m *MockBucket) GetLoggingWithContext(arg0 context.Context) (*service.GetBucketLoggingOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetLoggingWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketLoggingOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetLoggingWithContext indicates an expected call of GetLoggingWithContext.
func (mr *MockBucketMockRecorder) GetLoggingWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoggingWithContext", reflect.TypeOf((*MockBucket)(nil).GetLoggingWithContext), arg0)
}
// GetNotification mocks base method.
func (m *MockBucket) GetNotification() (*service.GetBucketNotificationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetNotification")
ret0, _ := ret[0].(*service.GetBucketNotificationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetNotification indicates an expected call of GetNotification.
func (mr *MockBucketMockRecorder) GetNotification() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNotification", reflect.TypeOf((*MockBucket)(nil).GetNotification))
}
// GetNotificationWithContext mocks base method.
func (m *MockBucket) GetNotificationWithContext(arg0 context.Context) (*service.GetBucketNotificationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetNotificationWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketNotificationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetNotificationWithContext indicates an expected call of GetNotificationWithContext.
func (mr *MockBucketMockRecorder) GetNotificationWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNotificationWithContext", reflect.TypeOf((*MockBucket)(nil).GetNotificationWithContext), arg0)
}
// GetObject mocks base method.
func (m *MockBucket) GetObject(arg0 string, arg1 *service.GetObjectInput) (*service.GetObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetObject", arg0, arg1)
ret0, _ := ret[0].(*service.GetObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetObject indicates an expected call of GetObject.
func (mr *MockBucketMockRecorder) GetObject(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetObject", reflect.TypeOf((*MockBucket)(nil).GetObject), arg0, arg1)
}
// GetObjectWithContext mocks base method.
func (m *MockBucket) GetObjectWithContext(arg0 context.Context, arg1 string, arg2 *service.GetObjectInput) (*service.GetObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetObjectWithContext", arg0, arg1, arg2)
ret0, _ := ret[0].(*service.GetObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetObjectWithContext indicates an expected call of GetObjectWithContext.
func (mr *MockBucketMockRecorder) GetObjectWithContext(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetObjectWithContext", reflect.TypeOf((*MockBucket)(nil).GetObjectWithContext), arg0, arg1, arg2)
}
// GetPolicy mocks base method.
func (m *MockBucket) GetPolicy() (*service.GetBucketPolicyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetPolicy")
ret0, _ := ret[0].(*service.GetBucketPolicyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetPolicy indicates an expected call of GetPolicy.
func (mr *MockBucketMockRecorder) GetPolicy() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPolicy", reflect.TypeOf((*MockBucket)(nil).GetPolicy))
}
// GetPolicyWithContext mocks base method.
func (m *MockBucket) GetPolicyWithContext(arg0 context.Context) (*service.GetBucketPolicyOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetPolicyWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketPolicyOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetPolicyWithContext indicates an expected call of GetPolicyWithContext.
func (mr *MockBucketMockRecorder) GetPolicyWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPolicyWithContext", reflect.TypeOf((*MockBucket)(nil).GetPolicyWithContext), arg0)
}
// GetReplication mocks base method.
func (m *MockBucket) GetReplication() (*service.GetBucketReplicationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetReplication")
ret0, _ := ret[0].(*service.GetBucketReplicationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetReplication indicates an expected call of GetReplication.
func (mr *MockBucketMockRecorder) GetReplication() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetReplication", reflect.TypeOf((*MockBucket)(nil).GetReplication))
}
// GetReplicationWithContext mocks base method.
func (m *MockBucket) GetReplicationWithContext(arg0 context.Context) (*service.GetBucketReplicationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetReplicationWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketReplicationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetReplicationWithContext indicates an expected call of GetReplicationWithContext.
func (mr *MockBucketMockRecorder) GetReplicationWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetReplicationWithContext", reflect.TypeOf((*MockBucket)(nil).GetReplicationWithContext), arg0)
}
// GetStatistics mocks base method.
func (m *MockBucket) GetStatistics() (*service.GetBucketStatisticsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStatistics")
ret0, _ := ret[0].(*service.GetBucketStatisticsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetStatistics indicates an expected call of GetStatistics.
func (mr *MockBucketMockRecorder) GetStatistics() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStatistics", reflect.TypeOf((*MockBucket)(nil).GetStatistics))
}
// GetStatisticsWithContext mocks base method.
func (m *MockBucket) GetStatisticsWithContext(arg0 context.Context) (*service.GetBucketStatisticsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetStatisticsWithContext", arg0)
ret0, _ := ret[0].(*service.GetBucketStatisticsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetStatisticsWithContext indicates an expected call of GetStatisticsWithContext.
func (mr *MockBucketMockRecorder) GetStatisticsWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetStatisticsWithContext", reflect.TypeOf((*MockBucket)(nil).GetStatisticsWithContext), arg0)
}
// Head mocks base method.
func (m *MockBucket) Head() (*service.HeadBucketOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Head")
ret0, _ := ret[0].(*service.HeadBucketOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Head indicates an expected call of Head.
func (mr *MockBucketMockRecorder) Head() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Head", reflect.TypeOf((*MockBucket)(nil).Head))
}
// HeadObject mocks base method.
func (m *MockBucket) HeadObject(arg0 string, arg1 *service.HeadObjectInput) (*service.HeadObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HeadObject", arg0, arg1)
ret0, _ := ret[0].(*service.HeadObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HeadObject indicates an expected call of HeadObject.
func (mr *MockBucketMockRecorder) HeadObject(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HeadObject", reflect.TypeOf((*MockBucket)(nil).HeadObject), arg0, arg1)
}
// HeadObjectWithContext mocks base method.
func (m *MockBucket) HeadObjectWithContext(arg0 context.Context, arg1 string, arg2 *service.HeadObjectInput) (*service.HeadObjectOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HeadObjectWithContext", arg0, arg1, arg2)
ret0, _ := ret[0].(*service.HeadObjectOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HeadObjectWithContext indicates an expected call of HeadObjectWithContext.
func (mr *MockBucketMockRecorder) HeadObjectWithContext(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HeadObjectWithContext", reflect.TypeOf((*MockBucket)(nil).HeadObjectWithContext), arg0, arg1, arg2)
}
// HeadWithContext mocks base method.
func (m *MockBucket) HeadWithContext(arg0 context.Context) (*service.HeadBucketOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "HeadWithContext", arg0)
ret0, _ := ret[0].(*service.HeadBucketOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// HeadWithContext indicates an expected call of HeadWithContext.
func (mr *MockBucketMockRecorder) HeadWithContext(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HeadWithContext", reflect.TypeOf((*MockBucket)(nil).HeadWithContext), arg0)
}
// ImageProcess mocks base method.
func (m *MockBucket) ImageProcess(arg0 string, arg1 *service.ImageProcessInput) (*service.ImageProcessOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ImageProcess", arg0, arg1)
ret0, _ := ret[0].(*service.ImageProcessOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ImageProcess indicates an expected call of ImageProcess.
func (mr *MockBucketMockRecorder) ImageProcess(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageProcess", reflect.TypeOf((*MockBucket)(nil).ImageProcess), arg0, arg1)
}
// ImageProcessWithContext mocks base method.
func (m *MockBucket) ImageProcessWithContext(arg0 context.Context, arg1 string, arg2 *service.ImageProcessInput) (*service.ImageProcessOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ImageProcessWithContext", arg0, arg1, arg2)
ret0, _ := ret[0].(*service.ImageProcessOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ImageProcessWithContext indicates an expected call of ImageProcessWithContext.
func (mr *MockBucketMockRecorder) ImageProcessWithContext(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImageProcessWithContext", reflect.TypeOf((*MockBucket)(nil).ImageProcessWithContext), arg0, arg1, arg2)
}
// InitiateMultipartUpload mocks base method.
func (m *MockBucket) InitiateMultipartUpload(arg0 string, arg1 *service.InitiateMultipartUploadInput) (*service.InitiateMultipartUploadOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "InitiateMultipartUpload", arg0, arg1)
ret0, _ := ret[0].(*service.InitiateMultipartUploadOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// InitiateMultipartUpload indicates an expected call of InitiateMultipartUpload.
func (mr *MockBucketMockRecorder) InitiateMultipartUpload(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitiateMultipartUpload", reflect.TypeOf((*MockBucket)(nil).InitiateMultipartUpload), arg0, arg1)
}
// InitiateMultipartUploadWithContext mocks base method.
func (m *MockBucket) InitiateMultipartUploadWithContext(arg0 context.Context, arg1 string, arg2 *service.InitiateMultipartUploadInput) (*service.InitiateMultipartUploadOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "InitiateMultipartUploadWithContext", arg0, arg1, arg2)
ret0, _ := ret[0].(*service.InitiateMultipartUploadOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// InitiateMultipartUploadWithContext indicates an expected call of InitiateMultipartUploadWithContext.
func (mr *MockBucketMockRecorder) InitiateMultipartUploadWithContext(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InitiateMultipartUploadWithContext", reflect.TypeOf((*MockBucket)(nil).InitiateMultipartUploadWithContext), arg0, arg1, arg2)
}
// ListMultipart mocks base method.
func (m *MockBucket) ListMultipart(arg0 string, arg1 *service.ListMultipartInput) (*service.ListMultipartOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListMultipart", arg0, arg1)
ret0, _ := ret[0].(*service.ListMultipartOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListMultipart indicates an expected call of ListMultipart.
func (mr *MockBucketMockRecorder) ListMultipart(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListMultipart", reflect.TypeOf((*MockBucket)(nil).ListMultipart), arg0, arg1)
}
// ListMultipartUploads mocks base method.
func (m *MockBucket) ListMultipartUploads(arg0 *service.ListMultipartUploadsInput) (*service.ListMultipartUploadsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListMultipartUploads", arg0)
ret0, _ := ret[0].(*service.ListMultipartUploadsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListMultipartUploads indicates an expected call of ListMultipartUploads.