-
Notifications
You must be signed in to change notification settings - Fork 253
/
aws_resource.go
113 lines (89 loc) · 2.33 KB
/
aws_resource.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
// Code generated by mockery v2.2.2. DO NOT EDIT.
package mocks
import (
mock "github.com/stretchr/testify/mock"
runtime "k8s.io/apimachinery/pkg/runtime"
types "github.com/aws/aws-controllers-k8s/pkg/types"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1alpha1 "github.com/aws/aws-controllers-k8s/apis/core/v1alpha1"
)
// AWSResource is an autogenerated mock type for the AWSResource type
type AWSResource struct {
mock.Mock
}
// Conditions provides a mock function with given fields:
func (_m *AWSResource) Conditions() []*v1alpha1.Condition {
ret := _m.Called()
var r0 []*v1alpha1.Condition
if rf, ok := ret.Get(0).(func() []*v1alpha1.Condition); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).([]*v1alpha1.Condition)
}
}
return r0
}
// Identifiers provides a mock function with given fields:
func (_m *AWSResource) Identifiers() types.AWSResourceIdentifiers {
ret := _m.Called()
var r0 types.AWSResourceIdentifiers
if rf, ok := ret.Get(0).(func() types.AWSResourceIdentifiers); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(types.AWSResourceIdentifiers)
}
}
return r0
}
// IsBeingDeleted provides a mock function with given fields:
func (_m *AWSResource) IsBeingDeleted() bool {
ret := _m.Called()
var r0 bool
if rf, ok := ret.Get(0).(func() bool); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(bool)
}
return r0
}
// MetaObject provides a mock function with given fields:
func (_m *AWSResource) MetaObject() v1.Object {
ret := _m.Called()
var r0 v1.Object
if rf, ok := ret.Get(0).(func() v1.Object); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(v1.Object)
}
}
return r0
}
// RuntimeMetaObject provides a mock function with given fields:
func (_m *AWSResource) RuntimeMetaObject() types.RuntimeMetaObject {
ret := _m.Called()
var r0 types.RuntimeMetaObject
if rf, ok := ret.Get(0).(func() types.RuntimeMetaObject); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(types.RuntimeMetaObject)
}
}
return r0
}
// RuntimeObject provides a mock function with given fields:
func (_m *AWSResource) RuntimeObject() runtime.Object {
ret := _m.Called()
var r0 runtime.Object
if rf, ok := ret.Get(0).(func() runtime.Object); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(runtime.Object)
}
}
return r0
}