-
Notifications
You must be signed in to change notification settings - Fork 396
/
mock_stackset.go
154 lines (132 loc) · 6.08 KB
/
mock_stackset.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
// Code generated by MockGen. DO NOT EDIT.
// Source: ./internal/pkg/aws/cloudformation/stackset/stackset.go
// Package mocks is a generated GoMock package.
package mocks
import (
cloudformation "github.com/aws/aws-sdk-go/service/cloudformation"
gomock "github.com/golang/mock/gomock"
reflect "reflect"
)
// Mockapi is a mock of api interface
type Mockapi struct {
ctrl *gomock.Controller
recorder *MockapiMockRecorder
}
// MockapiMockRecorder is the mock recorder for Mockapi
type MockapiMockRecorder struct {
mock *Mockapi
}
// NewMockapi creates a new mock instance
func NewMockapi(ctrl *gomock.Controller) *Mockapi {
mock := &Mockapi{ctrl: ctrl}
mock.recorder = &MockapiMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *Mockapi) EXPECT() *MockapiMockRecorder {
return m.recorder
}
// CreateStackSet mocks base method
func (m *Mockapi) CreateStackSet(arg0 *cloudformation.CreateStackSetInput) (*cloudformation.CreateStackSetOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateStackSet", arg0)
ret0, _ := ret[0].(*cloudformation.CreateStackSetOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateStackSet indicates an expected call of CreateStackSet
func (mr *MockapiMockRecorder) CreateStackSet(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateStackSet", reflect.TypeOf((*Mockapi)(nil).CreateStackSet), arg0)
}
// UpdateStackSet mocks base method
func (m *Mockapi) UpdateStackSet(arg0 *cloudformation.UpdateStackSetInput) (*cloudformation.UpdateStackSetOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "UpdateStackSet", arg0)
ret0, _ := ret[0].(*cloudformation.UpdateStackSetOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// UpdateStackSet indicates an expected call of UpdateStackSet
func (mr *MockapiMockRecorder) UpdateStackSet(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateStackSet", reflect.TypeOf((*Mockapi)(nil).UpdateStackSet), arg0)
}
// DeleteStackSet mocks base method
func (m *Mockapi) DeleteStackSet(arg0 *cloudformation.DeleteStackSetInput) (*cloudformation.DeleteStackSetOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteStackSet", arg0)
ret0, _ := ret[0].(*cloudformation.DeleteStackSetOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteStackSet indicates an expected call of DeleteStackSet
func (mr *MockapiMockRecorder) DeleteStackSet(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteStackSet", reflect.TypeOf((*Mockapi)(nil).DeleteStackSet), arg0)
}
// DescribeStackSet mocks base method
func (m *Mockapi) DescribeStackSet(arg0 *cloudformation.DescribeStackSetInput) (*cloudformation.DescribeStackSetOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeStackSet", arg0)
ret0, _ := ret[0].(*cloudformation.DescribeStackSetOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeStackSet indicates an expected call of DescribeStackSet
func (mr *MockapiMockRecorder) DescribeStackSet(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStackSet", reflect.TypeOf((*Mockapi)(nil).DescribeStackSet), arg0)
}
// DescribeStackSetOperation mocks base method
func (m *Mockapi) DescribeStackSetOperation(arg0 *cloudformation.DescribeStackSetOperationInput) (*cloudformation.DescribeStackSetOperationOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DescribeStackSetOperation", arg0)
ret0, _ := ret[0].(*cloudformation.DescribeStackSetOperationOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DescribeStackSetOperation indicates an expected call of DescribeStackSetOperation
func (mr *MockapiMockRecorder) DescribeStackSetOperation(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStackSetOperation", reflect.TypeOf((*Mockapi)(nil).DescribeStackSetOperation), arg0)
}
// CreateStackInstances mocks base method
func (m *Mockapi) CreateStackInstances(arg0 *cloudformation.CreateStackInstancesInput) (*cloudformation.CreateStackInstancesOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateStackInstances", arg0)
ret0, _ := ret[0].(*cloudformation.CreateStackInstancesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// CreateStackInstances indicates an expected call of CreateStackInstances
func (mr *MockapiMockRecorder) CreateStackInstances(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateStackInstances", reflect.TypeOf((*Mockapi)(nil).CreateStackInstances), arg0)
}
// DeleteStackInstances mocks base method
func (m *Mockapi) DeleteStackInstances(arg0 *cloudformation.DeleteStackInstancesInput) (*cloudformation.DeleteStackInstancesOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "DeleteStackInstances", arg0)
ret0, _ := ret[0].(*cloudformation.DeleteStackInstancesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// DeleteStackInstances indicates an expected call of DeleteStackInstances
func (mr *MockapiMockRecorder) DeleteStackInstances(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteStackInstances", reflect.TypeOf((*Mockapi)(nil).DeleteStackInstances), arg0)
}
// ListStackInstances mocks base method
func (m *Mockapi) ListStackInstances(arg0 *cloudformation.ListStackInstancesInput) (*cloudformation.ListStackInstancesOutput, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListStackInstances", arg0)
ret0, _ := ret[0].(*cloudformation.ListStackInstancesOutput)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// ListStackInstances indicates an expected call of ListStackInstances
func (mr *MockapiMockRecorder) ListStackInstances(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListStackInstances", reflect.TypeOf((*Mockapi)(nil).ListStackInstances), arg0)
}