blob: 86fadd1708be0aabb92026c6a42971a35057df12 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v1beta1
22
23import (
24 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25 runtime "k8s.io/apimachinery/pkg/runtime"
26)
27
28// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29func (in *AggregationRule) DeepCopyInto(out *AggregationRule) {
30 *out = *in
31 if in.ClusterRoleSelectors != nil {
32 in, out := &in.ClusterRoleSelectors, &out.ClusterRoleSelectors
33 *out = make([]v1.LabelSelector, len(*in))
34 for i := range *in {
35 (*in)[i].DeepCopyInto(&(*out)[i])
36 }
37 }
38 return
39}
40
41// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregationRule.
42func (in *AggregationRule) DeepCopy() *AggregationRule {
43 if in == nil {
44 return nil
45 }
46 out := new(AggregationRule)
47 in.DeepCopyInto(out)
48 return out
49}
50
51// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
52func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
53 *out = *in
54 out.TypeMeta = in.TypeMeta
55 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
56 if in.Rules != nil {
57 in, out := &in.Rules, &out.Rules
58 *out = make([]PolicyRule, len(*in))
59 for i := range *in {
60 (*in)[i].DeepCopyInto(&(*out)[i])
61 }
62 }
63 if in.AggregationRule != nil {
64 in, out := &in.AggregationRule, &out.AggregationRule
65 if *in == nil {
66 *out = nil
67 } else {
68 *out = new(AggregationRule)
69 (*in).DeepCopyInto(*out)
70 }
71 }
72 return
73}
74
75// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole.
76func (in *ClusterRole) DeepCopy() *ClusterRole {
77 if in == nil {
78 return nil
79 }
80 out := new(ClusterRole)
81 in.DeepCopyInto(out)
82 return out
83}
84
85// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
86func (in *ClusterRole) DeepCopyObject() runtime.Object {
87 if c := in.DeepCopy(); c != nil {
88 return c
89 }
90 return nil
91}
92
93// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
94func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) {
95 *out = *in
96 out.TypeMeta = in.TypeMeta
97 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
98 if in.Subjects != nil {
99 in, out := &in.Subjects, &out.Subjects
100 *out = make([]Subject, len(*in))
101 copy(*out, *in)
102 }
103 out.RoleRef = in.RoleRef
104 return
105}
106
107// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding.
108func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding {
109 if in == nil {
110 return nil
111 }
112 out := new(ClusterRoleBinding)
113 in.DeepCopyInto(out)
114 return out
115}
116
117// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
118func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object {
119 if c := in.DeepCopy(); c != nil {
120 return c
121 }
122 return nil
123}
124
125// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
126func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) {
127 *out = *in
128 out.TypeMeta = in.TypeMeta
129 out.ListMeta = in.ListMeta
130 if in.Items != nil {
131 in, out := &in.Items, &out.Items
132 *out = make([]ClusterRoleBinding, len(*in))
133 for i := range *in {
134 (*in)[i].DeepCopyInto(&(*out)[i])
135 }
136 }
137 return
138}
139
140// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList.
141func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList {
142 if in == nil {
143 return nil
144 }
145 out := new(ClusterRoleBindingList)
146 in.DeepCopyInto(out)
147 return out
148}
149
150// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
151func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object {
152 if c := in.DeepCopy(); c != nil {
153 return c
154 }
155 return nil
156}
157
158// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
159func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) {
160 *out = *in
161 out.TypeMeta = in.TypeMeta
162 out.ListMeta = in.ListMeta
163 if in.Items != nil {
164 in, out := &in.Items, &out.Items
165 *out = make([]ClusterRole, len(*in))
166 for i := range *in {
167 (*in)[i].DeepCopyInto(&(*out)[i])
168 }
169 }
170 return
171}
172
173// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList.
174func (in *ClusterRoleList) DeepCopy() *ClusterRoleList {
175 if in == nil {
176 return nil
177 }
178 out := new(ClusterRoleList)
179 in.DeepCopyInto(out)
180 return out
181}
182
183// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
184func (in *ClusterRoleList) DeepCopyObject() runtime.Object {
185 if c := in.DeepCopy(); c != nil {
186 return c
187 }
188 return nil
189}
190
191// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
192func (in *PolicyRule) DeepCopyInto(out *PolicyRule) {
193 *out = *in
194 if in.Verbs != nil {
195 in, out := &in.Verbs, &out.Verbs
196 *out = make([]string, len(*in))
197 copy(*out, *in)
198 }
199 if in.APIGroups != nil {
200 in, out := &in.APIGroups, &out.APIGroups
201 *out = make([]string, len(*in))
202 copy(*out, *in)
203 }
204 if in.Resources != nil {
205 in, out := &in.Resources, &out.Resources
206 *out = make([]string, len(*in))
207 copy(*out, *in)
208 }
209 if in.ResourceNames != nil {
210 in, out := &in.ResourceNames, &out.ResourceNames
211 *out = make([]string, len(*in))
212 copy(*out, *in)
213 }
214 if in.NonResourceURLs != nil {
215 in, out := &in.NonResourceURLs, &out.NonResourceURLs
216 *out = make([]string, len(*in))
217 copy(*out, *in)
218 }
219 return
220}
221
222// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
223func (in *PolicyRule) DeepCopy() *PolicyRule {
224 if in == nil {
225 return nil
226 }
227 out := new(PolicyRule)
228 in.DeepCopyInto(out)
229 return out
230}
231
232// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
233func (in *Role) DeepCopyInto(out *Role) {
234 *out = *in
235 out.TypeMeta = in.TypeMeta
236 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
237 if in.Rules != nil {
238 in, out := &in.Rules, &out.Rules
239 *out = make([]PolicyRule, len(*in))
240 for i := range *in {
241 (*in)[i].DeepCopyInto(&(*out)[i])
242 }
243 }
244 return
245}
246
247// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
248func (in *Role) DeepCopy() *Role {
249 if in == nil {
250 return nil
251 }
252 out := new(Role)
253 in.DeepCopyInto(out)
254 return out
255}
256
257// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
258func (in *Role) DeepCopyObject() runtime.Object {
259 if c := in.DeepCopy(); c != nil {
260 return c
261 }
262 return nil
263}
264
265// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
266func (in *RoleBinding) DeepCopyInto(out *RoleBinding) {
267 *out = *in
268 out.TypeMeta = in.TypeMeta
269 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
270 if in.Subjects != nil {
271 in, out := &in.Subjects, &out.Subjects
272 *out = make([]Subject, len(*in))
273 copy(*out, *in)
274 }
275 out.RoleRef = in.RoleRef
276 return
277}
278
279// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.
280func (in *RoleBinding) DeepCopy() *RoleBinding {
281 if in == nil {
282 return nil
283 }
284 out := new(RoleBinding)
285 in.DeepCopyInto(out)
286 return out
287}
288
289// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
290func (in *RoleBinding) DeepCopyObject() runtime.Object {
291 if c := in.DeepCopy(); c != nil {
292 return c
293 }
294 return nil
295}
296
297// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
298func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) {
299 *out = *in
300 out.TypeMeta = in.TypeMeta
301 out.ListMeta = in.ListMeta
302 if in.Items != nil {
303 in, out := &in.Items, &out.Items
304 *out = make([]RoleBinding, len(*in))
305 for i := range *in {
306 (*in)[i].DeepCopyInto(&(*out)[i])
307 }
308 }
309 return
310}
311
312// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.
313func (in *RoleBindingList) DeepCopy() *RoleBindingList {
314 if in == nil {
315 return nil
316 }
317 out := new(RoleBindingList)
318 in.DeepCopyInto(out)
319 return out
320}
321
322// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
323func (in *RoleBindingList) DeepCopyObject() runtime.Object {
324 if c := in.DeepCopy(); c != nil {
325 return c
326 }
327 return nil
328}
329
330// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
331func (in *RoleList) DeepCopyInto(out *RoleList) {
332 *out = *in
333 out.TypeMeta = in.TypeMeta
334 out.ListMeta = in.ListMeta
335 if in.Items != nil {
336 in, out := &in.Items, &out.Items
337 *out = make([]Role, len(*in))
338 for i := range *in {
339 (*in)[i].DeepCopyInto(&(*out)[i])
340 }
341 }
342 return
343}
344
345// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
346func (in *RoleList) DeepCopy() *RoleList {
347 if in == nil {
348 return nil
349 }
350 out := new(RoleList)
351 in.DeepCopyInto(out)
352 return out
353}
354
355// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
356func (in *RoleList) DeepCopyObject() runtime.Object {
357 if c := in.DeepCopy(); c != nil {
358 return c
359 }
360 return nil
361}
362
363// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
364func (in *RoleRef) DeepCopyInto(out *RoleRef) {
365 *out = *in
366 return
367}
368
369// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef.
370func (in *RoleRef) DeepCopy() *RoleRef {
371 if in == nil {
372 return nil
373 }
374 out := new(RoleRef)
375 in.DeepCopyInto(out)
376 return out
377}
378
379// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
380func (in *Subject) DeepCopyInto(out *Subject) {
381 *out = *in
382 return
383}
384
385// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
386func (in *Subject) DeepCopy() *Subject {
387 if in == nil {
388 return nil
389 }
390 out := new(Subject)
391 in.DeepCopyInto(out)
392 return out
393}