blob: 999933d749b620644388fb6a69555d65c06bce78 [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 v1
22
23import (
24 runtime "k8s.io/apimachinery/pkg/runtime"
25)
26
27// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
29 {
30 in := &in
31 *out = make(ExtraValue, len(*in))
32 copy(*out, *in)
33 return
34 }
35}
36
37// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
38func (in ExtraValue) DeepCopy() ExtraValue {
39 if in == nil {
40 return nil
41 }
42 out := new(ExtraValue)
43 in.DeepCopyInto(out)
44 return *out
45}
46
47// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
48func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview) {
49 *out = *in
50 out.TypeMeta = in.TypeMeta
51 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
52 in.Spec.DeepCopyInto(&out.Spec)
53 out.Status = in.Status
54 return
55}
56
57// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview.
58func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview {
59 if in == nil {
60 return nil
61 }
62 out := new(LocalSubjectAccessReview)
63 in.DeepCopyInto(out)
64 return out
65}
66
67// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
68func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object {
69 if c := in.DeepCopy(); c != nil {
70 return c
71 }
72 return nil
73}
74
75// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
76func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) {
77 *out = *in
78 return
79}
80
81// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes.
82func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes {
83 if in == nil {
84 return nil
85 }
86 out := new(NonResourceAttributes)
87 in.DeepCopyInto(out)
88 return out
89}
90
91// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
92func (in *NonResourceRule) DeepCopyInto(out *NonResourceRule) {
93 *out = *in
94 if in.Verbs != nil {
95 in, out := &in.Verbs, &out.Verbs
96 *out = make([]string, len(*in))
97 copy(*out, *in)
98 }
99 if in.NonResourceURLs != nil {
100 in, out := &in.NonResourceURLs, &out.NonResourceURLs
101 *out = make([]string, len(*in))
102 copy(*out, *in)
103 }
104 return
105}
106
107// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceRule.
108func (in *NonResourceRule) DeepCopy() *NonResourceRule {
109 if in == nil {
110 return nil
111 }
112 out := new(NonResourceRule)
113 in.DeepCopyInto(out)
114 return out
115}
116
117// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
118func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) {
119 *out = *in
120 return
121}
122
123// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes.
124func (in *ResourceAttributes) DeepCopy() *ResourceAttributes {
125 if in == nil {
126 return nil
127 }
128 out := new(ResourceAttributes)
129 in.DeepCopyInto(out)
130 return out
131}
132
133// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
134func (in *ResourceRule) DeepCopyInto(out *ResourceRule) {
135 *out = *in
136 if in.Verbs != nil {
137 in, out := &in.Verbs, &out.Verbs
138 *out = make([]string, len(*in))
139 copy(*out, *in)
140 }
141 if in.APIGroups != nil {
142 in, out := &in.APIGroups, &out.APIGroups
143 *out = make([]string, len(*in))
144 copy(*out, *in)
145 }
146 if in.Resources != nil {
147 in, out := &in.Resources, &out.Resources
148 *out = make([]string, len(*in))
149 copy(*out, *in)
150 }
151 if in.ResourceNames != nil {
152 in, out := &in.ResourceNames, &out.ResourceNames
153 *out = make([]string, len(*in))
154 copy(*out, *in)
155 }
156 return
157}
158
159// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRule.
160func (in *ResourceRule) DeepCopy() *ResourceRule {
161 if in == nil {
162 return nil
163 }
164 out := new(ResourceRule)
165 in.DeepCopyInto(out)
166 return out
167}
168
169// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
170func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) {
171 *out = *in
172 out.TypeMeta = in.TypeMeta
173 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
174 in.Spec.DeepCopyInto(&out.Spec)
175 out.Status = in.Status
176 return
177}
178
179// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview.
180func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview {
181 if in == nil {
182 return nil
183 }
184 out := new(SelfSubjectAccessReview)
185 in.DeepCopyInto(out)
186 return out
187}
188
189// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
190func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object {
191 if c := in.DeepCopy(); c != nil {
192 return c
193 }
194 return nil
195}
196
197// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
198func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReviewSpec) {
199 *out = *in
200 if in.ResourceAttributes != nil {
201 in, out := &in.ResourceAttributes, &out.ResourceAttributes
202 if *in == nil {
203 *out = nil
204 } else {
205 *out = new(ResourceAttributes)
206 **out = **in
207 }
208 }
209 if in.NonResourceAttributes != nil {
210 in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
211 if *in == nil {
212 *out = nil
213 } else {
214 *out = new(NonResourceAttributes)
215 **out = **in
216 }
217 }
218 return
219}
220
221// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec.
222func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec {
223 if in == nil {
224 return nil
225 }
226 out := new(SelfSubjectAccessReviewSpec)
227 in.DeepCopyInto(out)
228 return out
229}
230
231// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
232func (in *SelfSubjectRulesReview) DeepCopyInto(out *SelfSubjectRulesReview) {
233 *out = *in
234 out.TypeMeta = in.TypeMeta
235 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
236 out.Spec = in.Spec
237 in.Status.DeepCopyInto(&out.Status)
238 return
239}
240
241// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectRulesReview.
242func (in *SelfSubjectRulesReview) DeepCopy() *SelfSubjectRulesReview {
243 if in == nil {
244 return nil
245 }
246 out := new(SelfSubjectRulesReview)
247 in.DeepCopyInto(out)
248 return out
249}
250
251// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
252func (in *SelfSubjectRulesReview) DeepCopyObject() runtime.Object {
253 if c := in.DeepCopy(); c != nil {
254 return c
255 }
256 return nil
257}
258
259// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
260func (in *SelfSubjectRulesReviewSpec) DeepCopyInto(out *SelfSubjectRulesReviewSpec) {
261 *out = *in
262 return
263}
264
265// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectRulesReviewSpec.
266func (in *SelfSubjectRulesReviewSpec) DeepCopy() *SelfSubjectRulesReviewSpec {
267 if in == nil {
268 return nil
269 }
270 out := new(SelfSubjectRulesReviewSpec)
271 in.DeepCopyInto(out)
272 return out
273}
274
275// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
276func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) {
277 *out = *in
278 out.TypeMeta = in.TypeMeta
279 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
280 in.Spec.DeepCopyInto(&out.Spec)
281 out.Status = in.Status
282 return
283}
284
285// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview.
286func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview {
287 if in == nil {
288 return nil
289 }
290 out := new(SubjectAccessReview)
291 in.DeepCopyInto(out)
292 return out
293}
294
295// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
296func (in *SubjectAccessReview) DeepCopyObject() runtime.Object {
297 if c := in.DeepCopy(); c != nil {
298 return c
299 }
300 return nil
301}
302
303// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
304func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
305 *out = *in
306 if in.ResourceAttributes != nil {
307 in, out := &in.ResourceAttributes, &out.ResourceAttributes
308 if *in == nil {
309 *out = nil
310 } else {
311 *out = new(ResourceAttributes)
312 **out = **in
313 }
314 }
315 if in.NonResourceAttributes != nil {
316 in, out := &in.NonResourceAttributes, &out.NonResourceAttributes
317 if *in == nil {
318 *out = nil
319 } else {
320 *out = new(NonResourceAttributes)
321 **out = **in
322 }
323 }
324 if in.Groups != nil {
325 in, out := &in.Groups, &out.Groups
326 *out = make([]string, len(*in))
327 copy(*out, *in)
328 }
329 if in.Extra != nil {
330 in, out := &in.Extra, &out.Extra
331 *out = make(map[string]ExtraValue, len(*in))
332 for key, val := range *in {
333 if val == nil {
334 (*out)[key] = nil
335 } else {
336 (*out)[key] = make([]string, len(val))
337 copy((*out)[key], val)
338 }
339 }
340 }
341 return
342}
343
344// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec.
345func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec {
346 if in == nil {
347 return nil
348 }
349 out := new(SubjectAccessReviewSpec)
350 in.DeepCopyInto(out)
351 return out
352}
353
354// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
355func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus) {
356 *out = *in
357 return
358}
359
360// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus.
361func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus {
362 if in == nil {
363 return nil
364 }
365 out := new(SubjectAccessReviewStatus)
366 in.DeepCopyInto(out)
367 return out
368}
369
370// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
371func (in *SubjectRulesReviewStatus) DeepCopyInto(out *SubjectRulesReviewStatus) {
372 *out = *in
373 if in.ResourceRules != nil {
374 in, out := &in.ResourceRules, &out.ResourceRules
375 *out = make([]ResourceRule, len(*in))
376 for i := range *in {
377 (*in)[i].DeepCopyInto(&(*out)[i])
378 }
379 }
380 if in.NonResourceRules != nil {
381 in, out := &in.NonResourceRules, &out.NonResourceRules
382 *out = make([]NonResourceRule, len(*in))
383 for i := range *in {
384 (*in)[i].DeepCopyInto(&(*out)[i])
385 }
386 }
387 return
388}
389
390// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectRulesReviewStatus.
391func (in *SubjectRulesReviewStatus) DeepCopy() *SubjectRulesReviewStatus {
392 if in == nil {
393 return nil
394 }
395 out := new(SubjectRulesReviewStatus)
396 in.DeepCopyInto(out)
397 return out
398}