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 *AllowAllPasswordIdentityProvider) DeepCopyInto(out *AllowAllPasswordIdentityProvider) {
15 *out = *in
16 out.TypeMeta = in.TypeMeta
17 return
18 }
19
20
21 func (in *AllowAllPasswordIdentityProvider) DeepCopy() *AllowAllPasswordIdentityProvider {
22 if in == nil {
23 return nil
24 }
25 out := new(AllowAllPasswordIdentityProvider)
26 in.DeepCopyInto(out)
27 return out
28 }
29
30
31 func (in *AllowAllPasswordIdentityProvider) DeepCopyObject() runtime.Object {
32 if c := in.DeepCopy(); c != nil {
33 return c
34 }
35 return nil
36 }
37
38
39 func (in *BasicAuthPasswordIdentityProvider) DeepCopyInto(out *BasicAuthPasswordIdentityProvider) {
40 *out = *in
41 out.TypeMeta = in.TypeMeta
42 out.RemoteConnectionInfo = in.RemoteConnectionInfo
43 return
44 }
45
46
47 func (in *BasicAuthPasswordIdentityProvider) DeepCopy() *BasicAuthPasswordIdentityProvider {
48 if in == nil {
49 return nil
50 }
51 out := new(BasicAuthPasswordIdentityProvider)
52 in.DeepCopyInto(out)
53 return out
54 }
55
56
57 func (in *BasicAuthPasswordIdentityProvider) DeepCopyObject() runtime.Object {
58 if c := in.DeepCopy(); c != nil {
59 return c
60 }
61 return nil
62 }
63
64
65 func (in *DenyAllPasswordIdentityProvider) DeepCopyInto(out *DenyAllPasswordIdentityProvider) {
66 *out = *in
67 out.TypeMeta = in.TypeMeta
68 return
69 }
70
71
72 func (in *DenyAllPasswordIdentityProvider) DeepCopy() *DenyAllPasswordIdentityProvider {
73 if in == nil {
74 return nil
75 }
76 out := new(DenyAllPasswordIdentityProvider)
77 in.DeepCopyInto(out)
78 return out
79 }
80
81
82 func (in *DenyAllPasswordIdentityProvider) DeepCopyObject() runtime.Object {
83 if c := in.DeepCopy(); c != nil {
84 return c
85 }
86 return nil
87 }
88
89
90 func (in *GitHubIdentityProvider) DeepCopyInto(out *GitHubIdentityProvider) {
91 *out = *in
92 out.TypeMeta = in.TypeMeta
93 out.ClientSecret = in.ClientSecret
94 if in.Organizations != nil {
95 in, out := &in.Organizations, &out.Organizations
96 *out = make([]string, len(*in))
97 copy(*out, *in)
98 }
99 if in.Teams != nil {
100 in, out := &in.Teams, &out.Teams
101 *out = make([]string, len(*in))
102 copy(*out, *in)
103 }
104 return
105 }
106
107
108 func (in *GitHubIdentityProvider) DeepCopy() *GitHubIdentityProvider {
109 if in == nil {
110 return nil
111 }
112 out := new(GitHubIdentityProvider)
113 in.DeepCopyInto(out)
114 return out
115 }
116
117
118 func (in *GitHubIdentityProvider) DeepCopyObject() runtime.Object {
119 if c := in.DeepCopy(); c != nil {
120 return c
121 }
122 return nil
123 }
124
125
126 func (in *GitLabIdentityProvider) DeepCopyInto(out *GitLabIdentityProvider) {
127 *out = *in
128 out.TypeMeta = in.TypeMeta
129 out.ClientSecret = in.ClientSecret
130 if in.Legacy != nil {
131 in, out := &in.Legacy, &out.Legacy
132 *out = new(bool)
133 **out = **in
134 }
135 return
136 }
137
138
139 func (in *GitLabIdentityProvider) DeepCopy() *GitLabIdentityProvider {
140 if in == nil {
141 return nil
142 }
143 out := new(GitLabIdentityProvider)
144 in.DeepCopyInto(out)
145 return out
146 }
147
148
149 func (in *GitLabIdentityProvider) DeepCopyObject() runtime.Object {
150 if c := in.DeepCopy(); c != nil {
151 return c
152 }
153 return nil
154 }
155
156
157 func (in *GoogleIdentityProvider) DeepCopyInto(out *GoogleIdentityProvider) {
158 *out = *in
159 out.TypeMeta = in.TypeMeta
160 out.ClientSecret = in.ClientSecret
161 return
162 }
163
164
165 func (in *GoogleIdentityProvider) DeepCopy() *GoogleIdentityProvider {
166 if in == nil {
167 return nil
168 }
169 out := new(GoogleIdentityProvider)
170 in.DeepCopyInto(out)
171 return out
172 }
173
174
175 func (in *GoogleIdentityProvider) DeepCopyObject() runtime.Object {
176 if c := in.DeepCopy(); c != nil {
177 return c
178 }
179 return nil
180 }
181
182
183 func (in *GrantConfig) DeepCopyInto(out *GrantConfig) {
184 *out = *in
185 return
186 }
187
188
189 func (in *GrantConfig) DeepCopy() *GrantConfig {
190 if in == nil {
191 return nil
192 }
193 out := new(GrantConfig)
194 in.DeepCopyInto(out)
195 return out
196 }
197
198
199 func (in *HTPasswdPasswordIdentityProvider) DeepCopyInto(out *HTPasswdPasswordIdentityProvider) {
200 *out = *in
201 out.TypeMeta = in.TypeMeta
202 return
203 }
204
205
206 func (in *HTPasswdPasswordIdentityProvider) DeepCopy() *HTPasswdPasswordIdentityProvider {
207 if in == nil {
208 return nil
209 }
210 out := new(HTPasswdPasswordIdentityProvider)
211 in.DeepCopyInto(out)
212 return out
213 }
214
215
216 func (in *HTPasswdPasswordIdentityProvider) DeepCopyObject() runtime.Object {
217 if c := in.DeepCopy(); c != nil {
218 return c
219 }
220 return nil
221 }
222
223
224 func (in *IdentityProvider) DeepCopyInto(out *IdentityProvider) {
225 *out = *in
226 in.Provider.DeepCopyInto(&out.Provider)
227 return
228 }
229
230
231 func (in *IdentityProvider) DeepCopy() *IdentityProvider {
232 if in == nil {
233 return nil
234 }
235 out := new(IdentityProvider)
236 in.DeepCopyInto(out)
237 return out
238 }
239
240
241 func (in *KeystonePasswordIdentityProvider) DeepCopyInto(out *KeystonePasswordIdentityProvider) {
242 *out = *in
243 out.TypeMeta = in.TypeMeta
244 out.RemoteConnectionInfo = in.RemoteConnectionInfo
245 return
246 }
247
248
249 func (in *KeystonePasswordIdentityProvider) DeepCopy() *KeystonePasswordIdentityProvider {
250 if in == nil {
251 return nil
252 }
253 out := new(KeystonePasswordIdentityProvider)
254 in.DeepCopyInto(out)
255 return out
256 }
257
258
259 func (in *KeystonePasswordIdentityProvider) DeepCopyObject() runtime.Object {
260 if c := in.DeepCopy(); c != nil {
261 return c
262 }
263 return nil
264 }
265
266
267 func (in *LDAPAttributeMapping) DeepCopyInto(out *LDAPAttributeMapping) {
268 *out = *in
269 if in.ID != nil {
270 in, out := &in.ID, &out.ID
271 *out = make([]string, len(*in))
272 copy(*out, *in)
273 }
274 if in.PreferredUsername != nil {
275 in, out := &in.PreferredUsername, &out.PreferredUsername
276 *out = make([]string, len(*in))
277 copy(*out, *in)
278 }
279 if in.Name != nil {
280 in, out := &in.Name, &out.Name
281 *out = make([]string, len(*in))
282 copy(*out, *in)
283 }
284 if in.Email != nil {
285 in, out := &in.Email, &out.Email
286 *out = make([]string, len(*in))
287 copy(*out, *in)
288 }
289 return
290 }
291
292
293 func (in *LDAPAttributeMapping) DeepCopy() *LDAPAttributeMapping {
294 if in == nil {
295 return nil
296 }
297 out := new(LDAPAttributeMapping)
298 in.DeepCopyInto(out)
299 return out
300 }
301
302
303 func (in *LDAPPasswordIdentityProvider) DeepCopyInto(out *LDAPPasswordIdentityProvider) {
304 *out = *in
305 out.TypeMeta = in.TypeMeta
306 out.BindPassword = in.BindPassword
307 in.Attributes.DeepCopyInto(&out.Attributes)
308 return
309 }
310
311
312 func (in *LDAPPasswordIdentityProvider) DeepCopy() *LDAPPasswordIdentityProvider {
313 if in == nil {
314 return nil
315 }
316 out := new(LDAPPasswordIdentityProvider)
317 in.DeepCopyInto(out)
318 return out
319 }
320
321
322 func (in *LDAPPasswordIdentityProvider) DeepCopyObject() runtime.Object {
323 if c := in.DeepCopy(); c != nil {
324 return c
325 }
326 return nil
327 }
328
329
330 func (in *OAuthConfig) DeepCopyInto(out *OAuthConfig) {
331 *out = *in
332 if in.MasterCA != nil {
333 in, out := &in.MasterCA, &out.MasterCA
334 *out = new(string)
335 **out = **in
336 }
337 if in.IdentityProviders != nil {
338 in, out := &in.IdentityProviders, &out.IdentityProviders
339 *out = make([]IdentityProvider, len(*in))
340 for i := range *in {
341 (*in)[i].DeepCopyInto(&(*out)[i])
342 }
343 }
344 out.GrantConfig = in.GrantConfig
345 if in.SessionConfig != nil {
346 in, out := &in.SessionConfig, &out.SessionConfig
347 *out = new(SessionConfig)
348 **out = **in
349 }
350 in.TokenConfig.DeepCopyInto(&out.TokenConfig)
351 if in.Templates != nil {
352 in, out := &in.Templates, &out.Templates
353 *out = new(OAuthTemplates)
354 **out = **in
355 }
356 return
357 }
358
359
360 func (in *OAuthConfig) DeepCopy() *OAuthConfig {
361 if in == nil {
362 return nil
363 }
364 out := new(OAuthConfig)
365 in.DeepCopyInto(out)
366 return out
367 }
368
369
370 func (in *OAuthTemplates) DeepCopyInto(out *OAuthTemplates) {
371 *out = *in
372 return
373 }
374
375
376 func (in *OAuthTemplates) DeepCopy() *OAuthTemplates {
377 if in == nil {
378 return nil
379 }
380 out := new(OAuthTemplates)
381 in.DeepCopyInto(out)
382 return out
383 }
384
385
386 func (in *OpenIDClaims) DeepCopyInto(out *OpenIDClaims) {
387 *out = *in
388 if in.ID != nil {
389 in, out := &in.ID, &out.ID
390 *out = make([]string, len(*in))
391 copy(*out, *in)
392 }
393 if in.PreferredUsername != nil {
394 in, out := &in.PreferredUsername, &out.PreferredUsername
395 *out = make([]string, len(*in))
396 copy(*out, *in)
397 }
398 if in.Name != nil {
399 in, out := &in.Name, &out.Name
400 *out = make([]string, len(*in))
401 copy(*out, *in)
402 }
403 if in.Email != nil {
404 in, out := &in.Email, &out.Email
405 *out = make([]string, len(*in))
406 copy(*out, *in)
407 }
408 if in.Groups != nil {
409 in, out := &in.Groups, &out.Groups
410 *out = make([]string, len(*in))
411 copy(*out, *in)
412 }
413 return
414 }
415
416
417 func (in *OpenIDClaims) DeepCopy() *OpenIDClaims {
418 if in == nil {
419 return nil
420 }
421 out := new(OpenIDClaims)
422 in.DeepCopyInto(out)
423 return out
424 }
425
426
427 func (in *OpenIDIdentityProvider) DeepCopyInto(out *OpenIDIdentityProvider) {
428 *out = *in
429 out.TypeMeta = in.TypeMeta
430 out.ClientSecret = in.ClientSecret
431 if in.ExtraScopes != nil {
432 in, out := &in.ExtraScopes, &out.ExtraScopes
433 *out = make([]string, len(*in))
434 copy(*out, *in)
435 }
436 if in.ExtraAuthorizeParameters != nil {
437 in, out := &in.ExtraAuthorizeParameters, &out.ExtraAuthorizeParameters
438 *out = make(map[string]string, len(*in))
439 for key, val := range *in {
440 (*out)[key] = val
441 }
442 }
443 out.URLs = in.URLs
444 in.Claims.DeepCopyInto(&out.Claims)
445 return
446 }
447
448
449 func (in *OpenIDIdentityProvider) DeepCopy() *OpenIDIdentityProvider {
450 if in == nil {
451 return nil
452 }
453 out := new(OpenIDIdentityProvider)
454 in.DeepCopyInto(out)
455 return out
456 }
457
458
459 func (in *OpenIDIdentityProvider) DeepCopyObject() runtime.Object {
460 if c := in.DeepCopy(); c != nil {
461 return c
462 }
463 return nil
464 }
465
466
467 func (in *OpenIDURLs) DeepCopyInto(out *OpenIDURLs) {
468 *out = *in
469 return
470 }
471
472
473 func (in *OpenIDURLs) DeepCopy() *OpenIDURLs {
474 if in == nil {
475 return nil
476 }
477 out := new(OpenIDURLs)
478 in.DeepCopyInto(out)
479 return out
480 }
481
482
483 func (in *OsinServerConfig) DeepCopyInto(out *OsinServerConfig) {
484 *out = *in
485 out.TypeMeta = in.TypeMeta
486 in.GenericAPIServerConfig.DeepCopyInto(&out.GenericAPIServerConfig)
487 in.OAuthConfig.DeepCopyInto(&out.OAuthConfig)
488 return
489 }
490
491
492 func (in *OsinServerConfig) DeepCopy() *OsinServerConfig {
493 if in == nil {
494 return nil
495 }
496 out := new(OsinServerConfig)
497 in.DeepCopyInto(out)
498 return out
499 }
500
501
502 func (in *OsinServerConfig) DeepCopyObject() runtime.Object {
503 if c := in.DeepCopy(); c != nil {
504 return c
505 }
506 return nil
507 }
508
509
510 func (in *RequestHeaderIdentityProvider) DeepCopyInto(out *RequestHeaderIdentityProvider) {
511 *out = *in
512 out.TypeMeta = in.TypeMeta
513 if in.ClientCommonNames != nil {
514 in, out := &in.ClientCommonNames, &out.ClientCommonNames
515 *out = make([]string, len(*in))
516 copy(*out, *in)
517 }
518 if in.Headers != nil {
519 in, out := &in.Headers, &out.Headers
520 *out = make([]string, len(*in))
521 copy(*out, *in)
522 }
523 if in.PreferredUsernameHeaders != nil {
524 in, out := &in.PreferredUsernameHeaders, &out.PreferredUsernameHeaders
525 *out = make([]string, len(*in))
526 copy(*out, *in)
527 }
528 if in.NameHeaders != nil {
529 in, out := &in.NameHeaders, &out.NameHeaders
530 *out = make([]string, len(*in))
531 copy(*out, *in)
532 }
533 if in.EmailHeaders != nil {
534 in, out := &in.EmailHeaders, &out.EmailHeaders
535 *out = make([]string, len(*in))
536 copy(*out, *in)
537 }
538 return
539 }
540
541
542 func (in *RequestHeaderIdentityProvider) DeepCopy() *RequestHeaderIdentityProvider {
543 if in == nil {
544 return nil
545 }
546 out := new(RequestHeaderIdentityProvider)
547 in.DeepCopyInto(out)
548 return out
549 }
550
551
552 func (in *RequestHeaderIdentityProvider) DeepCopyObject() runtime.Object {
553 if c := in.DeepCopy(); c != nil {
554 return c
555 }
556 return nil
557 }
558
559
560 func (in *SessionConfig) DeepCopyInto(out *SessionConfig) {
561 *out = *in
562 return
563 }
564
565
566 func (in *SessionConfig) DeepCopy() *SessionConfig {
567 if in == nil {
568 return nil
569 }
570 out := new(SessionConfig)
571 in.DeepCopyInto(out)
572 return out
573 }
574
575
576 func (in *SessionSecret) DeepCopyInto(out *SessionSecret) {
577 *out = *in
578 return
579 }
580
581
582 func (in *SessionSecret) DeepCopy() *SessionSecret {
583 if in == nil {
584 return nil
585 }
586 out := new(SessionSecret)
587 in.DeepCopyInto(out)
588 return out
589 }
590
591
592 func (in *SessionSecrets) DeepCopyInto(out *SessionSecrets) {
593 *out = *in
594 out.TypeMeta = in.TypeMeta
595 if in.Secrets != nil {
596 in, out := &in.Secrets, &out.Secrets
597 *out = make([]SessionSecret, len(*in))
598 copy(*out, *in)
599 }
600 return
601 }
602
603
604 func (in *SessionSecrets) DeepCopy() *SessionSecrets {
605 if in == nil {
606 return nil
607 }
608 out := new(SessionSecrets)
609 in.DeepCopyInto(out)
610 return out
611 }
612
613
614 func (in *SessionSecrets) DeepCopyObject() runtime.Object {
615 if c := in.DeepCopy(); c != nil {
616 return c
617 }
618 return nil
619 }
620
621
622 func (in *TokenConfig) DeepCopyInto(out *TokenConfig) {
623 *out = *in
624 if in.AccessTokenInactivityTimeoutSeconds != nil {
625 in, out := &in.AccessTokenInactivityTimeoutSeconds, &out.AccessTokenInactivityTimeoutSeconds
626 *out = new(int32)
627 **out = **in
628 }
629 if in.AccessTokenInactivityTimeout != nil {
630 in, out := &in.AccessTokenInactivityTimeout, &out.AccessTokenInactivityTimeout
631 *out = new(metav1.Duration)
632 **out = **in
633 }
634 return
635 }
636
637
638 func (in *TokenConfig) DeepCopy() *TokenConfig {
639 if in == nil {
640 return nil
641 }
642 out := new(TokenConfig)
643 in.DeepCopyInto(out)
644 return out
645 }
646
View as plain text