...
1
2
3
4
19
20
21
22 package v1
23
24 import (
25 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27 )
28
29
30 func (in *CredentialProvider) DeepCopyInto(out *CredentialProvider) {
31 *out = *in
32 if in.MatchImages != nil {
33 in, out := &in.MatchImages, &out.MatchImages
34 *out = make([]string, len(*in))
35 copy(*out, *in)
36 }
37 if in.DefaultCacheDuration != nil {
38 in, out := &in.DefaultCacheDuration, &out.DefaultCacheDuration
39 *out = new(metav1.Duration)
40 **out = **in
41 }
42 if in.Args != nil {
43 in, out := &in.Args, &out.Args
44 *out = make([]string, len(*in))
45 copy(*out, *in)
46 }
47 if in.Env != nil {
48 in, out := &in.Env, &out.Env
49 *out = make([]ExecEnvVar, len(*in))
50 copy(*out, *in)
51 }
52 return
53 }
54
55
56 func (in *CredentialProvider) DeepCopy() *CredentialProvider {
57 if in == nil {
58 return nil
59 }
60 out := new(CredentialProvider)
61 in.DeepCopyInto(out)
62 return out
63 }
64
65
66 func (in *CredentialProviderConfig) DeepCopyInto(out *CredentialProviderConfig) {
67 *out = *in
68 out.TypeMeta = in.TypeMeta
69 if in.Providers != nil {
70 in, out := &in.Providers, &out.Providers
71 *out = make([]CredentialProvider, len(*in))
72 for i := range *in {
73 (*in)[i].DeepCopyInto(&(*out)[i])
74 }
75 }
76 return
77 }
78
79
80 func (in *CredentialProviderConfig) DeepCopy() *CredentialProviderConfig {
81 if in == nil {
82 return nil
83 }
84 out := new(CredentialProviderConfig)
85 in.DeepCopyInto(out)
86 return out
87 }
88
89
90 func (in *CredentialProviderConfig) DeepCopyObject() runtime.Object {
91 if c := in.DeepCopy(); c != nil {
92 return c
93 }
94 return nil
95 }
96
97
98 func (in *ExecEnvVar) DeepCopyInto(out *ExecEnvVar) {
99 *out = *in
100 return
101 }
102
103
104 func (in *ExecEnvVar) DeepCopy() *ExecEnvVar {
105 if in == nil {
106 return nil
107 }
108 out := new(ExecEnvVar)
109 in.DeepCopyInto(out)
110 return out
111 }
112
View as plain text