...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 package v1beta1
26
27 import (
28 v1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
29 runtime "k8s.io/apimachinery/pkg/runtime"
30 )
31
32
33 func (in *CryptokeyVersionTemplate) DeepCopyInto(out *CryptokeyVersionTemplate) {
34 *out = *in
35 if in.ProtectionLevel != nil {
36 in, out := &in.ProtectionLevel, &out.ProtectionLevel
37 *out = new(string)
38 **out = **in
39 }
40 return
41 }
42
43
44 func (in *CryptokeyVersionTemplate) DeepCopy() *CryptokeyVersionTemplate {
45 if in == nil {
46 return nil
47 }
48 out := new(CryptokeyVersionTemplate)
49 in.DeepCopyInto(out)
50 return out
51 }
52
53
54 func (in *KMSCryptoKey) DeepCopyInto(out *KMSCryptoKey) {
55 *out = *in
56 out.TypeMeta = in.TypeMeta
57 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
58 in.Spec.DeepCopyInto(&out.Spec)
59 in.Status.DeepCopyInto(&out.Status)
60 return
61 }
62
63
64 func (in *KMSCryptoKey) DeepCopy() *KMSCryptoKey {
65 if in == nil {
66 return nil
67 }
68 out := new(KMSCryptoKey)
69 in.DeepCopyInto(out)
70 return out
71 }
72
73
74 func (in *KMSCryptoKey) DeepCopyObject() runtime.Object {
75 if c := in.DeepCopy(); c != nil {
76 return c
77 }
78 return nil
79 }
80
81
82 func (in *KMSCryptoKeyList) DeepCopyInto(out *KMSCryptoKeyList) {
83 *out = *in
84 out.TypeMeta = in.TypeMeta
85 in.ListMeta.DeepCopyInto(&out.ListMeta)
86 if in.Items != nil {
87 in, out := &in.Items, &out.Items
88 *out = make([]KMSCryptoKey, len(*in))
89 for i := range *in {
90 (*in)[i].DeepCopyInto(&(*out)[i])
91 }
92 }
93 return
94 }
95
96
97 func (in *KMSCryptoKeyList) DeepCopy() *KMSCryptoKeyList {
98 if in == nil {
99 return nil
100 }
101 out := new(KMSCryptoKeyList)
102 in.DeepCopyInto(out)
103 return out
104 }
105
106
107 func (in *KMSCryptoKeyList) DeepCopyObject() runtime.Object {
108 if c := in.DeepCopy(); c != nil {
109 return c
110 }
111 return nil
112 }
113
114
115 func (in *KMSCryptoKeySpec) DeepCopyInto(out *KMSCryptoKeySpec) {
116 *out = *in
117 if in.DestroyScheduledDuration != nil {
118 in, out := &in.DestroyScheduledDuration, &out.DestroyScheduledDuration
119 *out = new(string)
120 **out = **in
121 }
122 if in.ImportOnly != nil {
123 in, out := &in.ImportOnly, &out.ImportOnly
124 *out = new(bool)
125 **out = **in
126 }
127 out.KeyRingRef = in.KeyRingRef
128 if in.Purpose != nil {
129 in, out := &in.Purpose, &out.Purpose
130 *out = new(string)
131 **out = **in
132 }
133 if in.ResourceID != nil {
134 in, out := &in.ResourceID, &out.ResourceID
135 *out = new(string)
136 **out = **in
137 }
138 if in.RotationPeriod != nil {
139 in, out := &in.RotationPeriod, &out.RotationPeriod
140 *out = new(string)
141 **out = **in
142 }
143 if in.SkipInitialVersionCreation != nil {
144 in, out := &in.SkipInitialVersionCreation, &out.SkipInitialVersionCreation
145 *out = new(bool)
146 **out = **in
147 }
148 if in.VersionTemplate != nil {
149 in, out := &in.VersionTemplate, &out.VersionTemplate
150 *out = new(CryptokeyVersionTemplate)
151 (*in).DeepCopyInto(*out)
152 }
153 return
154 }
155
156
157 func (in *KMSCryptoKeySpec) DeepCopy() *KMSCryptoKeySpec {
158 if in == nil {
159 return nil
160 }
161 out := new(KMSCryptoKeySpec)
162 in.DeepCopyInto(out)
163 return out
164 }
165
166
167 func (in *KMSCryptoKeyStatus) DeepCopyInto(out *KMSCryptoKeyStatus) {
168 *out = *in
169 if in.Conditions != nil {
170 in, out := &in.Conditions, &out.Conditions
171 *out = make([]v1alpha1.Condition, len(*in))
172 copy(*out, *in)
173 }
174 if in.ObservedGeneration != nil {
175 in, out := &in.ObservedGeneration, &out.ObservedGeneration
176 *out = new(int)
177 **out = **in
178 }
179 if in.SelfLink != nil {
180 in, out := &in.SelfLink, &out.SelfLink
181 *out = new(string)
182 **out = **in
183 }
184 return
185 }
186
187
188 func (in *KMSCryptoKeyStatus) DeepCopy() *KMSCryptoKeyStatus {
189 if in == nil {
190 return nil
191 }
192 out := new(KMSCryptoKeyStatus)
193 in.DeepCopyInto(out)
194 return out
195 }
196
197
198 func (in *KMSKeyRing) DeepCopyInto(out *KMSKeyRing) {
199 *out = *in
200 out.TypeMeta = in.TypeMeta
201 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
202 in.Spec.DeepCopyInto(&out.Spec)
203 in.Status.DeepCopyInto(&out.Status)
204 return
205 }
206
207
208 func (in *KMSKeyRing) DeepCopy() *KMSKeyRing {
209 if in == nil {
210 return nil
211 }
212 out := new(KMSKeyRing)
213 in.DeepCopyInto(out)
214 return out
215 }
216
217
218 func (in *KMSKeyRing) DeepCopyObject() runtime.Object {
219 if c := in.DeepCopy(); c != nil {
220 return c
221 }
222 return nil
223 }
224
225
226 func (in *KMSKeyRingList) DeepCopyInto(out *KMSKeyRingList) {
227 *out = *in
228 out.TypeMeta = in.TypeMeta
229 in.ListMeta.DeepCopyInto(&out.ListMeta)
230 if in.Items != nil {
231 in, out := &in.Items, &out.Items
232 *out = make([]KMSKeyRing, len(*in))
233 for i := range *in {
234 (*in)[i].DeepCopyInto(&(*out)[i])
235 }
236 }
237 return
238 }
239
240
241 func (in *KMSKeyRingList) DeepCopy() *KMSKeyRingList {
242 if in == nil {
243 return nil
244 }
245 out := new(KMSKeyRingList)
246 in.DeepCopyInto(out)
247 return out
248 }
249
250
251 func (in *KMSKeyRingList) DeepCopyObject() runtime.Object {
252 if c := in.DeepCopy(); c != nil {
253 return c
254 }
255 return nil
256 }
257
258
259 func (in *KMSKeyRingSpec) DeepCopyInto(out *KMSKeyRingSpec) {
260 *out = *in
261 if in.ResourceID != nil {
262 in, out := &in.ResourceID, &out.ResourceID
263 *out = new(string)
264 **out = **in
265 }
266 return
267 }
268
269
270 func (in *KMSKeyRingSpec) DeepCopy() *KMSKeyRingSpec {
271 if in == nil {
272 return nil
273 }
274 out := new(KMSKeyRingSpec)
275 in.DeepCopyInto(out)
276 return out
277 }
278
279
280 func (in *KMSKeyRingStatus) DeepCopyInto(out *KMSKeyRingStatus) {
281 *out = *in
282 if in.Conditions != nil {
283 in, out := &in.Conditions, &out.Conditions
284 *out = make([]v1alpha1.Condition, len(*in))
285 copy(*out, *in)
286 }
287 if in.ObservedGeneration != nil {
288 in, out := &in.ObservedGeneration, &out.ObservedGeneration
289 *out = new(int)
290 **out = **in
291 }
292 if in.SelfLink != nil {
293 in, out := &in.SelfLink, &out.SelfLink
294 *out = new(string)
295 **out = **in
296 }
297 return
298 }
299
300
301 func (in *KMSKeyRingStatus) DeepCopy() *KMSKeyRingStatus {
302 if in == nil {
303 return nil
304 }
305 out := new(KMSKeyRingStatus)
306 in.DeepCopyInto(out)
307 return out
308 }
309
View as plain text