-
Notifications
You must be signed in to change notification settings - Fork 1
/
mock.go
785 lines (689 loc) · 39.8 KB
/
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
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/aws/aws-sdk-go/service/codestarnotifications/codestarnotificationsiface (interfaces: CodeStarNotificationsAPI)
// Package codestarnotificationsmock is a generated GoMock package.
package codestarnotificationsmock
import (
context "context"
request "github.com/aws/aws-sdk-go/aws/request"
codestarnotifications "github.com/aws/aws-sdk-go/service/codestarnotifications"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// MockCodeStarNotificationsAPI is a mock of CodeStarNotificationsAPI interface
type MockCodeStarNotificationsAPI struct {
ctrl *gomock.Controller
recorder *MockCodeStarNotificationsAPIMockRecorder
}
// MockCodeStarNotificationsAPIMockRecorder is the mock recorder for MockCodeStarNotificationsAPI
type MockCodeStarNotificationsAPIMockRecorder struct {
mock *MockCodeStarNotificationsAPI
}
// NewMockCodeStarNotificationsAPI creates a new mock instance
func NewMockCodeStarNotificationsAPI(ctrl *gomock.Controller) *MockCodeStarNotificationsAPI {
mock := &MockCodeStarNotificationsAPI{ctrl: ctrl}
mock.recorder = &MockCodeStarNotificationsAPIMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockCodeStarNotificationsAPI) EXPECT() *MockCodeStarNotificationsAPIMockRecorder {
return m.recorder
}
// CreateNotificationRule mocks base method
func (m *MockCodeStarNotificationsAPI) CreateNotificationRule(arg0 *codestarnotifications.CreateNotificationRuleInput) (*codestarnotifications.CreateNotificationRuleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateNotificationRule", arg0)
ret0, _ := ret[0].(*codestarnotifications.CreateNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateNotificationRule indicates an expected call of CreateNotificationRule
func (mr *MockCodeStarNotificationsAPIMockRecorder) CreateNotificationRule(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNotificationRule", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).CreateNotificationRule), arg0)
}
// CreateNotificationRuleRequest mocks base method
func (m *MockCodeStarNotificationsAPI) CreateNotificationRuleRequest(arg0 *codestarnotifications.CreateNotificationRuleInput) (*request.Request, *codestarnotifications.CreateNotificationRuleOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateNotificationRuleRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.CreateNotificationRuleOutput)
return ret0, ret1
}
// CreateNotificationRuleRequest indicates an expected call of CreateNotificationRuleRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) CreateNotificationRuleRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNotificationRuleRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).CreateNotificationRuleRequest), arg0)
}
// CreateNotificationRuleWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) CreateNotificationRuleWithContext(arg0 context.Context, arg1 *codestarnotifications.CreateNotificationRuleInput, arg2 ...request.Option) (*codestarnotifications.CreateNotificationRuleOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "CreateNotificationRuleWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.CreateNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateNotificationRuleWithContext indicates an expected call of CreateNotificationRuleWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) CreateNotificationRuleWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNotificationRuleWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).CreateNotificationRuleWithContext), varargs...)
}
// DeleteNotificationRule mocks base method
func (m *MockCodeStarNotificationsAPI) DeleteNotificationRule(arg0 *codestarnotifications.DeleteNotificationRuleInput) (*codestarnotifications.DeleteNotificationRuleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteNotificationRule", arg0)
ret0, _ := ret[0].(*codestarnotifications.DeleteNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteNotificationRule indicates an expected call of DeleteNotificationRule
func (mr *MockCodeStarNotificationsAPIMockRecorder) DeleteNotificationRule(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNotificationRule", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DeleteNotificationRule), arg0)
}
// DeleteNotificationRuleRequest mocks base method
func (m *MockCodeStarNotificationsAPI) DeleteNotificationRuleRequest(arg0 *codestarnotifications.DeleteNotificationRuleInput) (*request.Request, *codestarnotifications.DeleteNotificationRuleOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteNotificationRuleRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.DeleteNotificationRuleOutput)
return ret0, ret1
}
// DeleteNotificationRuleRequest indicates an expected call of DeleteNotificationRuleRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) DeleteNotificationRuleRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNotificationRuleRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DeleteNotificationRuleRequest), arg0)
}
// DeleteNotificationRuleWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) DeleteNotificationRuleWithContext(arg0 context.Context, arg1 *codestarnotifications.DeleteNotificationRuleInput, arg2 ...request.Option) (*codestarnotifications.DeleteNotificationRuleOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteNotificationRuleWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.DeleteNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteNotificationRuleWithContext indicates an expected call of DeleteNotificationRuleWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) DeleteNotificationRuleWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNotificationRuleWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DeleteNotificationRuleWithContext), varargs...)
}
// DeleteTarget mocks base method
func (m *MockCodeStarNotificationsAPI) DeleteTarget(arg0 *codestarnotifications.DeleteTargetInput) (*codestarnotifications.DeleteTargetOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteTarget", arg0)
ret0, _ := ret[0].(*codestarnotifications.DeleteTargetOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteTarget indicates an expected call of DeleteTarget
func (mr *MockCodeStarNotificationsAPIMockRecorder) DeleteTarget(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTarget", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DeleteTarget), arg0)
}
// DeleteTargetRequest mocks base method
func (m *MockCodeStarNotificationsAPI) DeleteTargetRequest(arg0 *codestarnotifications.DeleteTargetInput) (*request.Request, *codestarnotifications.DeleteTargetOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteTargetRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.DeleteTargetOutput)
return ret0, ret1
}
// DeleteTargetRequest indicates an expected call of DeleteTargetRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) DeleteTargetRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTargetRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DeleteTargetRequest), arg0)
}
// DeleteTargetWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) DeleteTargetWithContext(arg0 context.Context, arg1 *codestarnotifications.DeleteTargetInput, arg2 ...request.Option) (*codestarnotifications.DeleteTargetOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DeleteTargetWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.DeleteTargetOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteTargetWithContext indicates an expected call of DeleteTargetWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) DeleteTargetWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteTargetWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DeleteTargetWithContext), varargs...)
}
// DescribeNotificationRule mocks base method
func (m *MockCodeStarNotificationsAPI) DescribeNotificationRule(arg0 *codestarnotifications.DescribeNotificationRuleInput) (*codestarnotifications.DescribeNotificationRuleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeNotificationRule", arg0)
ret0, _ := ret[0].(*codestarnotifications.DescribeNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeNotificationRule indicates an expected call of DescribeNotificationRule
func (mr *MockCodeStarNotificationsAPIMockRecorder) DescribeNotificationRule(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNotificationRule", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DescribeNotificationRule), arg0)
}
// DescribeNotificationRuleRequest mocks base method
func (m *MockCodeStarNotificationsAPI) DescribeNotificationRuleRequest(arg0 *codestarnotifications.DescribeNotificationRuleInput) (*request.Request, *codestarnotifications.DescribeNotificationRuleOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeNotificationRuleRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.DescribeNotificationRuleOutput)
return ret0, ret1
}
// DescribeNotificationRuleRequest indicates an expected call of DescribeNotificationRuleRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) DescribeNotificationRuleRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNotificationRuleRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DescribeNotificationRuleRequest), arg0)
}
// DescribeNotificationRuleWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) DescribeNotificationRuleWithContext(arg0 context.Context, arg1 *codestarnotifications.DescribeNotificationRuleInput, arg2 ...request.Option) (*codestarnotifications.DescribeNotificationRuleOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DescribeNotificationRuleWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.DescribeNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeNotificationRuleWithContext indicates an expected call of DescribeNotificationRuleWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) DescribeNotificationRuleWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNotificationRuleWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).DescribeNotificationRuleWithContext), varargs...)
}
// ListEventTypes mocks base method
func (m *MockCodeStarNotificationsAPI) ListEventTypes(arg0 *codestarnotifications.ListEventTypesInput) (*codestarnotifications.ListEventTypesOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListEventTypes", arg0)
ret0, _ := ret[0].(*codestarnotifications.ListEventTypesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListEventTypes indicates an expected call of ListEventTypes
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListEventTypes(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventTypes", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListEventTypes), arg0)
}
// ListEventTypesPages mocks base method
func (m *MockCodeStarNotificationsAPI) ListEventTypesPages(arg0 *codestarnotifications.ListEventTypesInput, arg1 func(*codestarnotifications.ListEventTypesOutput, bool) bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListEventTypesPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// ListEventTypesPages indicates an expected call of ListEventTypesPages
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListEventTypesPages(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventTypesPages", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListEventTypesPages), arg0, arg1)
}
// ListEventTypesPagesWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) ListEventTypesPagesWithContext(arg0 context.Context, arg1 *codestarnotifications.ListEventTypesInput, arg2 func(*codestarnotifications.ListEventTypesOutput, bool) bool, arg3 ...request.Option) error {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListEventTypesPagesWithContext", varargs...)
ret0, _ := ret[0].(error)
return ret0
}
// ListEventTypesPagesWithContext indicates an expected call of ListEventTypesPagesWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListEventTypesPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventTypesPagesWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListEventTypesPagesWithContext), varargs...)
}
// ListEventTypesRequest mocks base method
func (m *MockCodeStarNotificationsAPI) ListEventTypesRequest(arg0 *codestarnotifications.ListEventTypesInput) (*request.Request, *codestarnotifications.ListEventTypesOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListEventTypesRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.ListEventTypesOutput)
return ret0, ret1
}
// ListEventTypesRequest indicates an expected call of ListEventTypesRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListEventTypesRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventTypesRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListEventTypesRequest), arg0)
}
// ListEventTypesWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) ListEventTypesWithContext(arg0 context.Context, arg1 *codestarnotifications.ListEventTypesInput, arg2 ...request.Option) (*codestarnotifications.ListEventTypesOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListEventTypesWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.ListEventTypesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListEventTypesWithContext indicates an expected call of ListEventTypesWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListEventTypesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventTypesWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListEventTypesWithContext), varargs...)
}
// ListNotificationRules mocks base method
func (m *MockCodeStarNotificationsAPI) ListNotificationRules(arg0 *codestarnotifications.ListNotificationRulesInput) (*codestarnotifications.ListNotificationRulesOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListNotificationRules", arg0)
ret0, _ := ret[0].(*codestarnotifications.ListNotificationRulesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListNotificationRules indicates an expected call of ListNotificationRules
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListNotificationRules(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNotificationRules", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListNotificationRules), arg0)
}
// ListNotificationRulesPages mocks base method
func (m *MockCodeStarNotificationsAPI) ListNotificationRulesPages(arg0 *codestarnotifications.ListNotificationRulesInput, arg1 func(*codestarnotifications.ListNotificationRulesOutput, bool) bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListNotificationRulesPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// ListNotificationRulesPages indicates an expected call of ListNotificationRulesPages
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListNotificationRulesPages(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNotificationRulesPages", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListNotificationRulesPages), arg0, arg1)
}
// ListNotificationRulesPagesWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) ListNotificationRulesPagesWithContext(arg0 context.Context, arg1 *codestarnotifications.ListNotificationRulesInput, arg2 func(*codestarnotifications.ListNotificationRulesOutput, bool) bool, arg3 ...request.Option) error {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListNotificationRulesPagesWithContext", varargs...)
ret0, _ := ret[0].(error)
return ret0
}
// ListNotificationRulesPagesWithContext indicates an expected call of ListNotificationRulesPagesWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListNotificationRulesPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNotificationRulesPagesWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListNotificationRulesPagesWithContext), varargs...)
}
// ListNotificationRulesRequest mocks base method
func (m *MockCodeStarNotificationsAPI) ListNotificationRulesRequest(arg0 *codestarnotifications.ListNotificationRulesInput) (*request.Request, *codestarnotifications.ListNotificationRulesOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListNotificationRulesRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.ListNotificationRulesOutput)
return ret0, ret1
}
// ListNotificationRulesRequest indicates an expected call of ListNotificationRulesRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListNotificationRulesRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNotificationRulesRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListNotificationRulesRequest), arg0)
}
// ListNotificationRulesWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) ListNotificationRulesWithContext(arg0 context.Context, arg1 *codestarnotifications.ListNotificationRulesInput, arg2 ...request.Option) (*codestarnotifications.ListNotificationRulesOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListNotificationRulesWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.ListNotificationRulesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListNotificationRulesWithContext indicates an expected call of ListNotificationRulesWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListNotificationRulesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNotificationRulesWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListNotificationRulesWithContext), varargs...)
}
// ListTagsForResource mocks base method
func (m *MockCodeStarNotificationsAPI) ListTagsForResource(arg0 *codestarnotifications.ListTagsForResourceInput) (*codestarnotifications.ListTagsForResourceOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListTagsForResource", arg0)
ret0, _ := ret[0].(*codestarnotifications.ListTagsForResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListTagsForResource indicates an expected call of ListTagsForResource
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTagsForResource(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResource", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTagsForResource), arg0)
}
// ListTagsForResourceRequest mocks base method
func (m *MockCodeStarNotificationsAPI) ListTagsForResourceRequest(arg0 *codestarnotifications.ListTagsForResourceInput) (*request.Request, *codestarnotifications.ListTagsForResourceOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListTagsForResourceRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.ListTagsForResourceOutput)
return ret0, ret1
}
// ListTagsForResourceRequest indicates an expected call of ListTagsForResourceRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTagsForResourceRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResourceRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTagsForResourceRequest), arg0)
}
// ListTagsForResourceWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) ListTagsForResourceWithContext(arg0 context.Context, arg1 *codestarnotifications.ListTagsForResourceInput, arg2 ...request.Option) (*codestarnotifications.ListTagsForResourceOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListTagsForResourceWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.ListTagsForResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListTagsForResourceWithContext indicates an expected call of ListTagsForResourceWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTagsForResourceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagsForResourceWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTagsForResourceWithContext), varargs...)
}
// ListTargets mocks base method
func (m *MockCodeStarNotificationsAPI) ListTargets(arg0 *codestarnotifications.ListTargetsInput) (*codestarnotifications.ListTargetsOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListTargets", arg0)
ret0, _ := ret[0].(*codestarnotifications.ListTargetsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListTargets indicates an expected call of ListTargets
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTargets(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargets", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTargets), arg0)
}
// ListTargetsPages mocks base method
func (m *MockCodeStarNotificationsAPI) ListTargetsPages(arg0 *codestarnotifications.ListTargetsInput, arg1 func(*codestarnotifications.ListTargetsOutput, bool) bool) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListTargetsPages", arg0, arg1)
ret0, _ := ret[0].(error)
return ret0
}
// ListTargetsPages indicates an expected call of ListTargetsPages
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTargetsPages(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsPages", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTargetsPages), arg0, arg1)
}
// ListTargetsPagesWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) ListTargetsPagesWithContext(arg0 context.Context, arg1 *codestarnotifications.ListTargetsInput, arg2 func(*codestarnotifications.ListTargetsOutput, bool) bool, arg3 ...request.Option) error {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1, arg2}
for _, a := range arg3 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListTargetsPagesWithContext", varargs...)
ret0, _ := ret[0].(error)
return ret0
}
// ListTargetsPagesWithContext indicates an expected call of ListTargetsPagesWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTargetsPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1, arg2}, arg3...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsPagesWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTargetsPagesWithContext), varargs...)
}
// ListTargetsRequest mocks base method
func (m *MockCodeStarNotificationsAPI) ListTargetsRequest(arg0 *codestarnotifications.ListTargetsInput) (*request.Request, *codestarnotifications.ListTargetsOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListTargetsRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.ListTargetsOutput)
return ret0, ret1
}
// ListTargetsRequest indicates an expected call of ListTargetsRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTargetsRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTargetsRequest), arg0)
}
// ListTargetsWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) ListTargetsWithContext(arg0 context.Context, arg1 *codestarnotifications.ListTargetsInput, arg2 ...request.Option) (*codestarnotifications.ListTargetsOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "ListTargetsWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.ListTargetsOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListTargetsWithContext indicates an expected call of ListTargetsWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) ListTargetsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTargetsWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).ListTargetsWithContext), varargs...)
}
// Subscribe mocks base method
func (m *MockCodeStarNotificationsAPI) Subscribe(arg0 *codestarnotifications.SubscribeInput) (*codestarnotifications.SubscribeOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Subscribe", arg0)
ret0, _ := ret[0].(*codestarnotifications.SubscribeOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Subscribe indicates an expected call of Subscribe
func (mr *MockCodeStarNotificationsAPIMockRecorder) Subscribe(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Subscribe", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).Subscribe), arg0)
}
// SubscribeRequest mocks base method
func (m *MockCodeStarNotificationsAPI) SubscribeRequest(arg0 *codestarnotifications.SubscribeInput) (*request.Request, *codestarnotifications.SubscribeOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "SubscribeRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.SubscribeOutput)
return ret0, ret1
}
// SubscribeRequest indicates an expected call of SubscribeRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) SubscribeRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscribeRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).SubscribeRequest), arg0)
}
// SubscribeWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) SubscribeWithContext(arg0 context.Context, arg1 *codestarnotifications.SubscribeInput, arg2 ...request.Option) (*codestarnotifications.SubscribeOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "SubscribeWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.SubscribeOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// SubscribeWithContext indicates an expected call of SubscribeWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) SubscribeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SubscribeWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).SubscribeWithContext), varargs...)
}
// TagResource mocks base method
func (m *MockCodeStarNotificationsAPI) TagResource(arg0 *codestarnotifications.TagResourceInput) (*codestarnotifications.TagResourceOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "TagResource", arg0)
ret0, _ := ret[0].(*codestarnotifications.TagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// TagResource indicates an expected call of TagResource
func (mr *MockCodeStarNotificationsAPIMockRecorder) TagResource(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResource", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).TagResource), arg0)
}
// TagResourceRequest mocks base method
func (m *MockCodeStarNotificationsAPI) TagResourceRequest(arg0 *codestarnotifications.TagResourceInput) (*request.Request, *codestarnotifications.TagResourceOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "TagResourceRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.TagResourceOutput)
return ret0, ret1
}
// TagResourceRequest indicates an expected call of TagResourceRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) TagResourceRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResourceRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).TagResourceRequest), arg0)
}
// TagResourceWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) TagResourceWithContext(arg0 context.Context, arg1 *codestarnotifications.TagResourceInput, arg2 ...request.Option) (*codestarnotifications.TagResourceOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "TagResourceWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.TagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// TagResourceWithContext indicates an expected call of TagResourceWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) TagResourceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "TagResourceWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).TagResourceWithContext), varargs...)
}
// Unsubscribe mocks base method
func (m *MockCodeStarNotificationsAPI) Unsubscribe(arg0 *codestarnotifications.UnsubscribeInput) (*codestarnotifications.UnsubscribeOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Unsubscribe", arg0)
ret0, _ := ret[0].(*codestarnotifications.UnsubscribeOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// Unsubscribe indicates an expected call of Unsubscribe
func (mr *MockCodeStarNotificationsAPIMockRecorder) Unsubscribe(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Unsubscribe", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).Unsubscribe), arg0)
}
// UnsubscribeRequest mocks base method
func (m *MockCodeStarNotificationsAPI) UnsubscribeRequest(arg0 *codestarnotifications.UnsubscribeInput) (*request.Request, *codestarnotifications.UnsubscribeOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UnsubscribeRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.UnsubscribeOutput)
return ret0, ret1
}
// UnsubscribeRequest indicates an expected call of UnsubscribeRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) UnsubscribeRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsubscribeRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UnsubscribeRequest), arg0)
}
// UnsubscribeWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) UnsubscribeWithContext(arg0 context.Context, arg1 *codestarnotifications.UnsubscribeInput, arg2 ...request.Option) (*codestarnotifications.UnsubscribeOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "UnsubscribeWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.UnsubscribeOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UnsubscribeWithContext indicates an expected call of UnsubscribeWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) UnsubscribeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UnsubscribeWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UnsubscribeWithContext), varargs...)
}
// UntagResource mocks base method
func (m *MockCodeStarNotificationsAPI) UntagResource(arg0 *codestarnotifications.UntagResourceInput) (*codestarnotifications.UntagResourceOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UntagResource", arg0)
ret0, _ := ret[0].(*codestarnotifications.UntagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UntagResource indicates an expected call of UntagResource
func (mr *MockCodeStarNotificationsAPIMockRecorder) UntagResource(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResource", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UntagResource), arg0)
}
// UntagResourceRequest mocks base method
func (m *MockCodeStarNotificationsAPI) UntagResourceRequest(arg0 *codestarnotifications.UntagResourceInput) (*request.Request, *codestarnotifications.UntagResourceOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UntagResourceRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.UntagResourceOutput)
return ret0, ret1
}
// UntagResourceRequest indicates an expected call of UntagResourceRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) UntagResourceRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResourceRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UntagResourceRequest), arg0)
}
// UntagResourceWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) UntagResourceWithContext(arg0 context.Context, arg1 *codestarnotifications.UntagResourceInput, arg2 ...request.Option) (*codestarnotifications.UntagResourceOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "UntagResourceWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.UntagResourceOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UntagResourceWithContext indicates an expected call of UntagResourceWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) UntagResourceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UntagResourceWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UntagResourceWithContext), varargs...)
}
// UpdateNotificationRule mocks base method
func (m *MockCodeStarNotificationsAPI) UpdateNotificationRule(arg0 *codestarnotifications.UpdateNotificationRuleInput) (*codestarnotifications.UpdateNotificationRuleOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateNotificationRule", arg0)
ret0, _ := ret[0].(*codestarnotifications.UpdateNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateNotificationRule indicates an expected call of UpdateNotificationRule
func (mr *MockCodeStarNotificationsAPIMockRecorder) UpdateNotificationRule(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNotificationRule", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UpdateNotificationRule), arg0)
}
// UpdateNotificationRuleRequest mocks base method
func (m *MockCodeStarNotificationsAPI) UpdateNotificationRuleRequest(arg0 *codestarnotifications.UpdateNotificationRuleInput) (*request.Request, *codestarnotifications.UpdateNotificationRuleOutput) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateNotificationRuleRequest", arg0)
ret0, _ := ret[0].(*request.Request)
ret1, _ := ret[1].(*codestarnotifications.UpdateNotificationRuleOutput)
return ret0, ret1
}
// UpdateNotificationRuleRequest indicates an expected call of UpdateNotificationRuleRequest
func (mr *MockCodeStarNotificationsAPIMockRecorder) UpdateNotificationRuleRequest(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNotificationRuleRequest", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UpdateNotificationRuleRequest), arg0)
}
// UpdateNotificationRuleWithContext mocks base method
func (m *MockCodeStarNotificationsAPI) UpdateNotificationRuleWithContext(arg0 context.Context, arg1 *codestarnotifications.UpdateNotificationRuleInput, arg2 ...request.Option) (*codestarnotifications.UpdateNotificationRuleOutput, error) {
m.ctrl.T.Helper()
varargs := []interface{}{arg0, arg1}
for _, a := range arg2 {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "UpdateNotificationRuleWithContext", varargs...)
ret0, _ := ret[0].(*codestarnotifications.UpdateNotificationRuleOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateNotificationRuleWithContext indicates an expected call of UpdateNotificationRuleWithContext
func (mr *MockCodeStarNotificationsAPIMockRecorder) UpdateNotificationRuleWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{arg0, arg1}, arg2...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNotificationRuleWithContext", reflect.TypeOf((*MockCodeStarNotificationsAPI)(nil).UpdateNotificationRuleWithContext), varargs...)
}