1
2
3
4
5
6 package v1
7
8 import (
9 runtime "k8s.io/apimachinery/pkg/runtime"
10 )
11
12
13 func (in *ClusterRoleScopeRestriction) DeepCopyInto(out *ClusterRoleScopeRestriction) {
14 *out = *in
15 if in.RoleNames != nil {
16 in, out := &in.RoleNames, &out.RoleNames
17 *out = make([]string, len(*in))
18 copy(*out, *in)
19 }
20 if in.Namespaces != nil {
21 in, out := &in.Namespaces, &out.Namespaces
22 *out = make([]string, len(*in))
23 copy(*out, *in)
24 }
25 return
26 }
27
28
29 func (in *ClusterRoleScopeRestriction) DeepCopy() *ClusterRoleScopeRestriction {
30 if in == nil {
31 return nil
32 }
33 out := new(ClusterRoleScopeRestriction)
34 in.DeepCopyInto(out)
35 return out
36 }
37
38
39 func (in *OAuthAccessToken) DeepCopyInto(out *OAuthAccessToken) {
40 *out = *in
41 out.TypeMeta = in.TypeMeta
42 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
43 if in.Scopes != nil {
44 in, out := &in.Scopes, &out.Scopes
45 *out = make([]string, len(*in))
46 copy(*out, *in)
47 }
48 return
49 }
50
51
52 func (in *OAuthAccessToken) DeepCopy() *OAuthAccessToken {
53 if in == nil {
54 return nil
55 }
56 out := new(OAuthAccessToken)
57 in.DeepCopyInto(out)
58 return out
59 }
60
61
62 func (in *OAuthAccessToken) DeepCopyObject() runtime.Object {
63 if c := in.DeepCopy(); c != nil {
64 return c
65 }
66 return nil
67 }
68
69
70 func (in *OAuthAccessTokenList) DeepCopyInto(out *OAuthAccessTokenList) {
71 *out = *in
72 out.TypeMeta = in.TypeMeta
73 in.ListMeta.DeepCopyInto(&out.ListMeta)
74 if in.Items != nil {
75 in, out := &in.Items, &out.Items
76 *out = make([]OAuthAccessToken, len(*in))
77 for i := range *in {
78 (*in)[i].DeepCopyInto(&(*out)[i])
79 }
80 }
81 return
82 }
83
84
85 func (in *OAuthAccessTokenList) DeepCopy() *OAuthAccessTokenList {
86 if in == nil {
87 return nil
88 }
89 out := new(OAuthAccessTokenList)
90 in.DeepCopyInto(out)
91 return out
92 }
93
94
95 func (in *OAuthAccessTokenList) DeepCopyObject() runtime.Object {
96 if c := in.DeepCopy(); c != nil {
97 return c
98 }
99 return nil
100 }
101
102
103 func (in *OAuthAuthorizeToken) DeepCopyInto(out *OAuthAuthorizeToken) {
104 *out = *in
105 out.TypeMeta = in.TypeMeta
106 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
107 if in.Scopes != nil {
108 in, out := &in.Scopes, &out.Scopes
109 *out = make([]string, len(*in))
110 copy(*out, *in)
111 }
112 return
113 }
114
115
116 func (in *OAuthAuthorizeToken) DeepCopy() *OAuthAuthorizeToken {
117 if in == nil {
118 return nil
119 }
120 out := new(OAuthAuthorizeToken)
121 in.DeepCopyInto(out)
122 return out
123 }
124
125
126 func (in *OAuthAuthorizeToken) DeepCopyObject() runtime.Object {
127 if c := in.DeepCopy(); c != nil {
128 return c
129 }
130 return nil
131 }
132
133
134 func (in *OAuthAuthorizeTokenList) DeepCopyInto(out *OAuthAuthorizeTokenList) {
135 *out = *in
136 out.TypeMeta = in.TypeMeta
137 in.ListMeta.DeepCopyInto(&out.ListMeta)
138 if in.Items != nil {
139 in, out := &in.Items, &out.Items
140 *out = make([]OAuthAuthorizeToken, len(*in))
141 for i := range *in {
142 (*in)[i].DeepCopyInto(&(*out)[i])
143 }
144 }
145 return
146 }
147
148
149 func (in *OAuthAuthorizeTokenList) DeepCopy() *OAuthAuthorizeTokenList {
150 if in == nil {
151 return nil
152 }
153 out := new(OAuthAuthorizeTokenList)
154 in.DeepCopyInto(out)
155 return out
156 }
157
158
159 func (in *OAuthAuthorizeTokenList) DeepCopyObject() runtime.Object {
160 if c := in.DeepCopy(); c != nil {
161 return c
162 }
163 return nil
164 }
165
166
167 func (in *OAuthClient) DeepCopyInto(out *OAuthClient) {
168 *out = *in
169 out.TypeMeta = in.TypeMeta
170 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
171 if in.AdditionalSecrets != nil {
172 in, out := &in.AdditionalSecrets, &out.AdditionalSecrets
173 *out = make([]string, len(*in))
174 copy(*out, *in)
175 }
176 if in.RedirectURIs != nil {
177 in, out := &in.RedirectURIs, &out.RedirectURIs
178 *out = make([]string, len(*in))
179 copy(*out, *in)
180 }
181 if in.ScopeRestrictions != nil {
182 in, out := &in.ScopeRestrictions, &out.ScopeRestrictions
183 *out = make([]ScopeRestriction, len(*in))
184 for i := range *in {
185 (*in)[i].DeepCopyInto(&(*out)[i])
186 }
187 }
188 if in.AccessTokenMaxAgeSeconds != nil {
189 in, out := &in.AccessTokenMaxAgeSeconds, &out.AccessTokenMaxAgeSeconds
190 *out = new(int32)
191 **out = **in
192 }
193 if in.AccessTokenInactivityTimeoutSeconds != nil {
194 in, out := &in.AccessTokenInactivityTimeoutSeconds, &out.AccessTokenInactivityTimeoutSeconds
195 *out = new(int32)
196 **out = **in
197 }
198 return
199 }
200
201
202 func (in *OAuthClient) DeepCopy() *OAuthClient {
203 if in == nil {
204 return nil
205 }
206 out := new(OAuthClient)
207 in.DeepCopyInto(out)
208 return out
209 }
210
211
212 func (in *OAuthClient) DeepCopyObject() runtime.Object {
213 if c := in.DeepCopy(); c != nil {
214 return c
215 }
216 return nil
217 }
218
219
220 func (in *OAuthClientAuthorization) DeepCopyInto(out *OAuthClientAuthorization) {
221 *out = *in
222 out.TypeMeta = in.TypeMeta
223 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
224 if in.Scopes != nil {
225 in, out := &in.Scopes, &out.Scopes
226 *out = make([]string, len(*in))
227 copy(*out, *in)
228 }
229 return
230 }
231
232
233 func (in *OAuthClientAuthorization) DeepCopy() *OAuthClientAuthorization {
234 if in == nil {
235 return nil
236 }
237 out := new(OAuthClientAuthorization)
238 in.DeepCopyInto(out)
239 return out
240 }
241
242
243 func (in *OAuthClientAuthorization) DeepCopyObject() runtime.Object {
244 if c := in.DeepCopy(); c != nil {
245 return c
246 }
247 return nil
248 }
249
250
251 func (in *OAuthClientAuthorizationList) DeepCopyInto(out *OAuthClientAuthorizationList) {
252 *out = *in
253 out.TypeMeta = in.TypeMeta
254 in.ListMeta.DeepCopyInto(&out.ListMeta)
255 if in.Items != nil {
256 in, out := &in.Items, &out.Items
257 *out = make([]OAuthClientAuthorization, len(*in))
258 for i := range *in {
259 (*in)[i].DeepCopyInto(&(*out)[i])
260 }
261 }
262 return
263 }
264
265
266 func (in *OAuthClientAuthorizationList) DeepCopy() *OAuthClientAuthorizationList {
267 if in == nil {
268 return nil
269 }
270 out := new(OAuthClientAuthorizationList)
271 in.DeepCopyInto(out)
272 return out
273 }
274
275
276 func (in *OAuthClientAuthorizationList) DeepCopyObject() runtime.Object {
277 if c := in.DeepCopy(); c != nil {
278 return c
279 }
280 return nil
281 }
282
283
284 func (in *OAuthClientList) DeepCopyInto(out *OAuthClientList) {
285 *out = *in
286 out.TypeMeta = in.TypeMeta
287 in.ListMeta.DeepCopyInto(&out.ListMeta)
288 if in.Items != nil {
289 in, out := &in.Items, &out.Items
290 *out = make([]OAuthClient, len(*in))
291 for i := range *in {
292 (*in)[i].DeepCopyInto(&(*out)[i])
293 }
294 }
295 return
296 }
297
298
299 func (in *OAuthClientList) DeepCopy() *OAuthClientList {
300 if in == nil {
301 return nil
302 }
303 out := new(OAuthClientList)
304 in.DeepCopyInto(out)
305 return out
306 }
307
308
309 func (in *OAuthClientList) DeepCopyObject() runtime.Object {
310 if c := in.DeepCopy(); c != nil {
311 return c
312 }
313 return nil
314 }
315
316
317 func (in *OAuthRedirectReference) DeepCopyInto(out *OAuthRedirectReference) {
318 *out = *in
319 out.TypeMeta = in.TypeMeta
320 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
321 out.Reference = in.Reference
322 return
323 }
324
325
326 func (in *OAuthRedirectReference) DeepCopy() *OAuthRedirectReference {
327 if in == nil {
328 return nil
329 }
330 out := new(OAuthRedirectReference)
331 in.DeepCopyInto(out)
332 return out
333 }
334
335
336 func (in *OAuthRedirectReference) DeepCopyObject() runtime.Object {
337 if c := in.DeepCopy(); c != nil {
338 return c
339 }
340 return nil
341 }
342
343
344 func (in *RedirectReference) DeepCopyInto(out *RedirectReference) {
345 *out = *in
346 return
347 }
348
349
350 func (in *RedirectReference) DeepCopy() *RedirectReference {
351 if in == nil {
352 return nil
353 }
354 out := new(RedirectReference)
355 in.DeepCopyInto(out)
356 return out
357 }
358
359
360 func (in *ScopeRestriction) DeepCopyInto(out *ScopeRestriction) {
361 *out = *in
362 if in.ExactValues != nil {
363 in, out := &in.ExactValues, &out.ExactValues
364 *out = make([]string, len(*in))
365 copy(*out, *in)
366 }
367 if in.ClusterRole != nil {
368 in, out := &in.ClusterRole, &out.ClusterRole
369 *out = new(ClusterRoleScopeRestriction)
370 (*in).DeepCopyInto(*out)
371 }
372 return
373 }
374
375
376 func (in *ScopeRestriction) DeepCopy() *ScopeRestriction {
377 if in == nil {
378 return nil
379 }
380 out := new(ScopeRestriction)
381 in.DeepCopyInto(out)
382 return out
383 }
384
385
386 func (in *UserOAuthAccessToken) DeepCopyInto(out *UserOAuthAccessToken) {
387 *out = *in
388 out.TypeMeta = in.TypeMeta
389 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
390 if in.Scopes != nil {
391 in, out := &in.Scopes, &out.Scopes
392 *out = make([]string, len(*in))
393 copy(*out, *in)
394 }
395 return
396 }
397
398
399 func (in *UserOAuthAccessToken) DeepCopy() *UserOAuthAccessToken {
400 if in == nil {
401 return nil
402 }
403 out := new(UserOAuthAccessToken)
404 in.DeepCopyInto(out)
405 return out
406 }
407
408
409 func (in *UserOAuthAccessToken) DeepCopyObject() runtime.Object {
410 if c := in.DeepCopy(); c != nil {
411 return c
412 }
413 return nil
414 }
415
416
417 func (in *UserOAuthAccessTokenList) DeepCopyInto(out *UserOAuthAccessTokenList) {
418 *out = *in
419 out.TypeMeta = in.TypeMeta
420 in.ListMeta.DeepCopyInto(&out.ListMeta)
421 if in.Items != nil {
422 in, out := &in.Items, &out.Items
423 *out = make([]UserOAuthAccessToken, len(*in))
424 for i := range *in {
425 (*in)[i].DeepCopyInto(&(*out)[i])
426 }
427 }
428 return
429 }
430
431
432 func (in *UserOAuthAccessTokenList) DeepCopy() *UserOAuthAccessTokenList {
433 if in == nil {
434 return nil
435 }
436 out := new(UserOAuthAccessTokenList)
437 in.DeepCopyInto(out)
438 return out
439 }
440
441
442 func (in *UserOAuthAccessTokenList) DeepCopyObject() runtime.Object {
443 if c := in.DeepCopy(); c != nil {
444 return c
445 }
446 return nil
447 }
448
View as plain text