/
CloudformationAPI.go
60 lines (48 loc) · 1.62 KB
/
CloudformationAPI.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
// Code generated by mockery v2.9.4. DO NOT EDIT.
package mocks
import (
cloudformation "github.com/aws/aws-sdk-go/service/cloudformation"
mock "github.com/stretchr/testify/mock"
)
// CloudformationAPI is an autogenerated mock type for the CloudformationAPI type
type CloudformationAPI struct {
mock.Mock
}
// ListStackResources provides a mock function with given fields: params
func (_m *CloudformationAPI) ListStackResources(params *cloudformation.ListStackResourcesInput) (*cloudformation.ListStackResourcesOutput, error) {
ret := _m.Called(params)
var r0 *cloudformation.ListStackResourcesOutput
if rf, ok := ret.Get(0).(func(*cloudformation.ListStackResourcesInput) *cloudformation.ListStackResourcesOutput); ok {
r0 = rf(params)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*cloudformation.ListStackResourcesOutput)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(*cloudformation.ListStackResourcesInput) error); ok {
r1 = rf(params)
} else {
r1 = ret.Error(1)
}
return r0, r1
}
// ListStacks provides a mock function with given fields: params
func (_m *CloudformationAPI) ListStacks(params *cloudformation.ListStacksInput) (*cloudformation.ListStacksOutput, error) {
ret := _m.Called(params)
var r0 *cloudformation.ListStacksOutput
if rf, ok := ret.Get(0).(func(*cloudformation.ListStacksInput) *cloudformation.ListStacksOutput); ok {
r0 = rf(params)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*cloudformation.ListStacksOutput)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(*cloudformation.ListStacksInput) error); ok {
r1 = rf(params)
} else {
r1 = ret.Error(1)
}
return r0, r1
}