...
1
2
3
4
19
20
21
22 package v1alpha3
23
24 import (
25 runtime "k8s.io/apimachinery/pkg/runtime"
26 )
27
28
29 func (in *AvailableUpgrade) DeepCopyInto(out *AvailableUpgrade) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 if in.Components != nil {
33 in, out := &in.Components, &out.Components
34 *out = make([]ComponentUpgradePlan, len(*in))
35 copy(*out, *in)
36 }
37 return
38 }
39
40
41 func (in *AvailableUpgrade) DeepCopy() *AvailableUpgrade {
42 if in == nil {
43 return nil
44 }
45 out := new(AvailableUpgrade)
46 in.DeepCopyInto(out)
47 return out
48 }
49
50
51 func (in *AvailableUpgrade) DeepCopyObject() runtime.Object {
52 if c := in.DeepCopy(); c != nil {
53 return c
54 }
55 return nil
56 }
57
58
59 func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken) {
60 *out = *in
61 out.TypeMeta = in.TypeMeta
62 in.BootstrapToken.DeepCopyInto(&out.BootstrapToken)
63 return
64 }
65
66
67 func (in *BootstrapToken) DeepCopy() *BootstrapToken {
68 if in == nil {
69 return nil
70 }
71 out := new(BootstrapToken)
72 in.DeepCopyInto(out)
73 return out
74 }
75
76
77 func (in *BootstrapToken) DeepCopyObject() runtime.Object {
78 if c := in.DeepCopy(); c != nil {
79 return c
80 }
81 return nil
82 }
83
84
85 func (in *Certificate) DeepCopyInto(out *Certificate) {
86 *out = *in
87 in.ExpirationDate.DeepCopyInto(&out.ExpirationDate)
88 return
89 }
90
91
92 func (in *Certificate) DeepCopy() *Certificate {
93 if in == nil {
94 return nil
95 }
96 out := new(Certificate)
97 in.DeepCopyInto(out)
98 return out
99 }
100
101
102 func (in *CertificateExpirationInfo) DeepCopyInto(out *CertificateExpirationInfo) {
103 *out = *in
104 out.TypeMeta = in.TypeMeta
105 if in.Certificates != nil {
106 in, out := &in.Certificates, &out.Certificates
107 *out = make([]Certificate, len(*in))
108 for i := range *in {
109 (*in)[i].DeepCopyInto(&(*out)[i])
110 }
111 }
112 if in.CertificateAuthorities != nil {
113 in, out := &in.CertificateAuthorities, &out.CertificateAuthorities
114 *out = make([]Certificate, len(*in))
115 for i := range *in {
116 (*in)[i].DeepCopyInto(&(*out)[i])
117 }
118 }
119 return
120 }
121
122
123 func (in *CertificateExpirationInfo) DeepCopy() *CertificateExpirationInfo {
124 if in == nil {
125 return nil
126 }
127 out := new(CertificateExpirationInfo)
128 in.DeepCopyInto(out)
129 return out
130 }
131
132
133 func (in *CertificateExpirationInfo) DeepCopyObject() runtime.Object {
134 if c := in.DeepCopy(); c != nil {
135 return c
136 }
137 return nil
138 }
139
140
141 func (in *ComponentConfigVersionState) DeepCopyInto(out *ComponentConfigVersionState) {
142 *out = *in
143 return
144 }
145
146
147 func (in *ComponentConfigVersionState) DeepCopy() *ComponentConfigVersionState {
148 if in == nil {
149 return nil
150 }
151 out := new(ComponentConfigVersionState)
152 in.DeepCopyInto(out)
153 return out
154 }
155
156
157 func (in *ComponentUpgradePlan) DeepCopyInto(out *ComponentUpgradePlan) {
158 *out = *in
159 out.TypeMeta = in.TypeMeta
160 return
161 }
162
163
164 func (in *ComponentUpgradePlan) DeepCopy() *ComponentUpgradePlan {
165 if in == nil {
166 return nil
167 }
168 out := new(ComponentUpgradePlan)
169 in.DeepCopyInto(out)
170 return out
171 }
172
173
174 func (in *ComponentUpgradePlan) DeepCopyObject() runtime.Object {
175 if c := in.DeepCopy(); c != nil {
176 return c
177 }
178 return nil
179 }
180
181
182 func (in *Images) DeepCopyInto(out *Images) {
183 *out = *in
184 out.TypeMeta = in.TypeMeta
185 if in.Images != nil {
186 in, out := &in.Images, &out.Images
187 *out = make([]string, len(*in))
188 copy(*out, *in)
189 }
190 return
191 }
192
193
194 func (in *Images) DeepCopy() *Images {
195 if in == nil {
196 return nil
197 }
198 out := new(Images)
199 in.DeepCopyInto(out)
200 return out
201 }
202
203
204 func (in *Images) DeepCopyObject() runtime.Object {
205 if c := in.DeepCopy(); c != nil {
206 return c
207 }
208 return nil
209 }
210
211
212 func (in *UpgradePlan) DeepCopyInto(out *UpgradePlan) {
213 *out = *in
214 out.TypeMeta = in.TypeMeta
215 if in.AvailableUpgrades != nil {
216 in, out := &in.AvailableUpgrades, &out.AvailableUpgrades
217 *out = make([]AvailableUpgrade, len(*in))
218 for i := range *in {
219 (*in)[i].DeepCopyInto(&(*out)[i])
220 }
221 }
222 if in.ConfigVersions != nil {
223 in, out := &in.ConfigVersions, &out.ConfigVersions
224 *out = make([]ComponentConfigVersionState, len(*in))
225 copy(*out, *in)
226 }
227 return
228 }
229
230
231 func (in *UpgradePlan) DeepCopy() *UpgradePlan {
232 if in == nil {
233 return nil
234 }
235 out := new(UpgradePlan)
236 in.DeepCopyInto(out)
237 return out
238 }
239
240
241 func (in *UpgradePlan) DeepCopyObject() runtime.Object {
242 if c := in.DeepCopy(); c != nil {
243 return c
244 }
245 return nil
246 }
247
View as plain text