...
1
2
3
4
5
6 package v1
7
8 import (
9 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
10 runtime "k8s.io/apimachinery/pkg/runtime"
11 )
12
13
14 func (in *AppliedClusterResourceQuota) DeepCopyInto(out *AppliedClusterResourceQuota) {
15 *out = *in
16 out.TypeMeta = in.TypeMeta
17 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
18 in.Spec.DeepCopyInto(&out.Spec)
19 in.Status.DeepCopyInto(&out.Status)
20 return
21 }
22
23
24 func (in *AppliedClusterResourceQuota) DeepCopy() *AppliedClusterResourceQuota {
25 if in == nil {
26 return nil
27 }
28 out := new(AppliedClusterResourceQuota)
29 in.DeepCopyInto(out)
30 return out
31 }
32
33
34 func (in *AppliedClusterResourceQuota) DeepCopyObject() runtime.Object {
35 if c := in.DeepCopy(); c != nil {
36 return c
37 }
38 return nil
39 }
40
41
42 func (in *AppliedClusterResourceQuotaList) DeepCopyInto(out *AppliedClusterResourceQuotaList) {
43 *out = *in
44 out.TypeMeta = in.TypeMeta
45 in.ListMeta.DeepCopyInto(&out.ListMeta)
46 if in.Items != nil {
47 in, out := &in.Items, &out.Items
48 *out = make([]AppliedClusterResourceQuota, len(*in))
49 for i := range *in {
50 (*in)[i].DeepCopyInto(&(*out)[i])
51 }
52 }
53 return
54 }
55
56
57 func (in *AppliedClusterResourceQuotaList) DeepCopy() *AppliedClusterResourceQuotaList {
58 if in == nil {
59 return nil
60 }
61 out := new(AppliedClusterResourceQuotaList)
62 in.DeepCopyInto(out)
63 return out
64 }
65
66
67 func (in *AppliedClusterResourceQuotaList) DeepCopyObject() runtime.Object {
68 if c := in.DeepCopy(); c != nil {
69 return c
70 }
71 return nil
72 }
73
74
75 func (in *ClusterResourceQuota) DeepCopyInto(out *ClusterResourceQuota) {
76 *out = *in
77 out.TypeMeta = in.TypeMeta
78 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
79 in.Spec.DeepCopyInto(&out.Spec)
80 in.Status.DeepCopyInto(&out.Status)
81 return
82 }
83
84
85 func (in *ClusterResourceQuota) DeepCopy() *ClusterResourceQuota {
86 if in == nil {
87 return nil
88 }
89 out := new(ClusterResourceQuota)
90 in.DeepCopyInto(out)
91 return out
92 }
93
94
95 func (in *ClusterResourceQuota) DeepCopyObject() runtime.Object {
96 if c := in.DeepCopy(); c != nil {
97 return c
98 }
99 return nil
100 }
101
102
103 func (in *ClusterResourceQuotaList) DeepCopyInto(out *ClusterResourceQuotaList) {
104 *out = *in
105 out.TypeMeta = in.TypeMeta
106 in.ListMeta.DeepCopyInto(&out.ListMeta)
107 if in.Items != nil {
108 in, out := &in.Items, &out.Items
109 *out = make([]ClusterResourceQuota, len(*in))
110 for i := range *in {
111 (*in)[i].DeepCopyInto(&(*out)[i])
112 }
113 }
114 return
115 }
116
117
118 func (in *ClusterResourceQuotaList) DeepCopy() *ClusterResourceQuotaList {
119 if in == nil {
120 return nil
121 }
122 out := new(ClusterResourceQuotaList)
123 in.DeepCopyInto(out)
124 return out
125 }
126
127
128 func (in *ClusterResourceQuotaList) DeepCopyObject() runtime.Object {
129 if c := in.DeepCopy(); c != nil {
130 return c
131 }
132 return nil
133 }
134
135
136 func (in *ClusterResourceQuotaSelector) DeepCopyInto(out *ClusterResourceQuotaSelector) {
137 *out = *in
138 if in.LabelSelector != nil {
139 in, out := &in.LabelSelector, &out.LabelSelector
140 *out = new(metav1.LabelSelector)
141 (*in).DeepCopyInto(*out)
142 }
143 if in.AnnotationSelector != nil {
144 in, out := &in.AnnotationSelector, &out.AnnotationSelector
145 *out = make(map[string]string, len(*in))
146 for key, val := range *in {
147 (*out)[key] = val
148 }
149 }
150 return
151 }
152
153
154 func (in *ClusterResourceQuotaSelector) DeepCopy() *ClusterResourceQuotaSelector {
155 if in == nil {
156 return nil
157 }
158 out := new(ClusterResourceQuotaSelector)
159 in.DeepCopyInto(out)
160 return out
161 }
162
163
164 func (in *ClusterResourceQuotaSpec) DeepCopyInto(out *ClusterResourceQuotaSpec) {
165 *out = *in
166 in.Selector.DeepCopyInto(&out.Selector)
167 in.Quota.DeepCopyInto(&out.Quota)
168 return
169 }
170
171
172 func (in *ClusterResourceQuotaSpec) DeepCopy() *ClusterResourceQuotaSpec {
173 if in == nil {
174 return nil
175 }
176 out := new(ClusterResourceQuotaSpec)
177 in.DeepCopyInto(out)
178 return out
179 }
180
181
182 func (in *ClusterResourceQuotaStatus) DeepCopyInto(out *ClusterResourceQuotaStatus) {
183 *out = *in
184 in.Total.DeepCopyInto(&out.Total)
185 if in.Namespaces != nil {
186 in, out := &in.Namespaces, &out.Namespaces
187 *out = make(ResourceQuotasStatusByNamespace, len(*in))
188 for i := range *in {
189 (*in)[i].DeepCopyInto(&(*out)[i])
190 }
191 }
192 return
193 }
194
195
196 func (in *ClusterResourceQuotaStatus) DeepCopy() *ClusterResourceQuotaStatus {
197 if in == nil {
198 return nil
199 }
200 out := new(ClusterResourceQuotaStatus)
201 in.DeepCopyInto(out)
202 return out
203 }
204
205
206 func (in *ResourceQuotaStatusByNamespace) DeepCopyInto(out *ResourceQuotaStatusByNamespace) {
207 *out = *in
208 in.Status.DeepCopyInto(&out.Status)
209 return
210 }
211
212
213 func (in *ResourceQuotaStatusByNamespace) DeepCopy() *ResourceQuotaStatusByNamespace {
214 if in == nil {
215 return nil
216 }
217 out := new(ResourceQuotaStatusByNamespace)
218 in.DeepCopyInto(out)
219 return out
220 }
221
222
223 func (in ResourceQuotasStatusByNamespace) DeepCopyInto(out *ResourceQuotasStatusByNamespace) {
224 {
225 in := &in
226 *out = make(ResourceQuotasStatusByNamespace, len(*in))
227 for i := range *in {
228 (*in)[i].DeepCopyInto(&(*out)[i])
229 }
230 return
231 }
232 }
233
234
235 func (in ResourceQuotasStatusByNamespace) DeepCopy() ResourceQuotasStatusByNamespace {
236 if in == nil {
237 return nil
238 }
239 out := new(ResourceQuotasStatusByNamespace)
240 in.DeepCopyInto(out)
241 return *out
242 }
243
View as plain text