| 1 |
//go:build !ignore_autogenerated |
| 2 |
// +build !ignore_autogenerated |
| 3 |
|
| 4 |
/* |
| 5 |
Copyright The Kubernetes Authors. |
| 6 |
|
| 7 |
Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 |
you may not use this file except in compliance with the License. |
| 9 |
You may obtain a copy of the License at |
| 10 |
|
| 11 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
|
| 13 |
Unless required by applicable law or agreed to in writing, software |
| 14 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 15 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 |
See the License for the specific language governing permissions and |
| 17 |
limitations under the License. |
| 18 |
*/ |
| 19 |
|
| 20 |
// Code generated by deepcopy-gen. DO NOT EDIT. |
| 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 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 30 |
func (in *AESConfiguration) DeepCopyInto(out *AESConfiguration) { |
| 31 |
*out = *in |
| 32 |
if in.Keys != nil { |
| 33 |
in, out := &in.Keys, &out.Keys |
| 34 |
*out = make([]Key, len(*in)) |
| 35 |
copy(*out, *in) |
| 36 |
} |
| 37 |
return |
| 38 |
} |
| 39 |
|
| 40 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AESConfiguration. |
| 41 |
func (in *AESConfiguration) DeepCopy() *AESConfiguration { |
| 42 |
if in == nil { |
| 43 |
return nil |
| 44 |
} |
| 45 |
out := new(AESConfiguration) |
| 46 |
in.DeepCopyInto(out) |
| 47 |
return out |
| 48 |
} |
| 49 |
|
| 50 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 51 |
func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) { |
| 52 |
*out = *in |
| 53 |
out.TypeMeta = in.TypeMeta |
| 54 |
if in.Plugins != nil { |
| 55 |
in, out := &in.Plugins, &out.Plugins |
| 56 |
*out = make([]AdmissionPluginConfiguration, len(*in)) |
| 57 |
for i := range *in { |
| 58 |
(*in)[i].DeepCopyInto(&(*out)[i]) |
| 59 |
} |
| 60 |
} |
| 61 |
return |
| 62 |
} |
| 63 |
|
| 64 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. |
| 65 |
func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { |
| 66 |
if in == nil { |
| 67 |
return nil |
| 68 |
} |
| 69 |
out := new(AdmissionConfiguration) |
| 70 |
in.DeepCopyInto(out) |
| 71 |
return out |
| 72 |
} |
| 73 |
|
| 74 |
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 75 |
func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object { |
| 76 |
if c := in.DeepCopy(); c != nil { |
| 77 |
return c |
| 78 |
} |
| 79 |
return nil |
| 80 |
} |
| 81 |
|
| 82 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 83 |
func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfiguration) { |
| 84 |
*out = *in |
| 85 |
if in.Configuration != nil { |
| 86 |
in, out := &in.Configuration, &out.Configuration |
| 87 |
*out = new(runtime.Unknown) |
| 88 |
(*in).DeepCopyInto(*out) |
| 89 |
} |
| 90 |
return |
| 91 |
} |
| 92 |
|
| 93 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. |
| 94 |
func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { |
| 95 |
if in == nil { |
| 96 |
return nil |
| 97 |
} |
| 98 |
out := new(AdmissionPluginConfiguration) |
| 99 |
in.DeepCopyInto(out) |
| 100 |
return out |
| 101 |
} |
| 102 |
|
| 103 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 104 |
func (in *AuthorizationConfiguration) DeepCopyInto(out *AuthorizationConfiguration) { |
| 105 |
*out = *in |
| 106 |
out.TypeMeta = in.TypeMeta |
| 107 |
if in.Authorizers != nil { |
| 108 |
in, out := &in.Authorizers, &out.Authorizers |
| 109 |
*out = make([]AuthorizerConfiguration, len(*in)) |
| 110 |
for i := range *in { |
| 111 |
(*in)[i].DeepCopyInto(&(*out)[i]) |
| 112 |
} |
| 113 |
} |
| 114 |
return |
| 115 |
} |
| 116 |
|
| 117 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationConfiguration. |
| 118 |
func (in *AuthorizationConfiguration) DeepCopy() *AuthorizationConfiguration { |
| 119 |
if in == nil { |
| 120 |
return nil |
| 121 |
} |
| 122 |
out := new(AuthorizationConfiguration) |
| 123 |
in.DeepCopyInto(out) |
| 124 |
return out |
| 125 |
} |
| 126 |
|
| 127 |
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 128 |
func (in *AuthorizationConfiguration) DeepCopyObject() runtime.Object { |
| 129 |
if c := in.DeepCopy(); c != nil { |
| 130 |
return c |
| 131 |
} |
| 132 |
return nil |
| 133 |
} |
| 134 |
|
| 135 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 136 |
func (in *AuthorizerConfiguration) DeepCopyInto(out *AuthorizerConfiguration) { |
| 137 |
*out = *in |
| 138 |
if in.Webhook != nil { |
| 139 |
in, out := &in.Webhook, &out.Webhook |
| 140 |
*out = new(WebhookConfiguration) |
| 141 |
(*in).DeepCopyInto(*out) |
| 142 |
} |
| 143 |
return |
| 144 |
} |
| 145 |
|
| 146 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfiguration. |
| 147 |
func (in *AuthorizerConfiguration) DeepCopy() *AuthorizerConfiguration { |
| 148 |
if in == nil { |
| 149 |
return nil |
| 150 |
} |
| 151 |
out := new(AuthorizerConfiguration) |
| 152 |
in.DeepCopyInto(out) |
| 153 |
return out |
| 154 |
} |
| 155 |
|
| 156 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 157 |
func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration) { |
| 158 |
*out = *in |
| 159 |
out.TypeMeta = in.TypeMeta |
| 160 |
if in.Resources != nil { |
| 161 |
in, out := &in.Resources, &out.Resources |
| 162 |
*out = make([]ResourceConfiguration, len(*in)) |
| 163 |
for i := range *in { |
| 164 |
(*in)[i].DeepCopyInto(&(*out)[i]) |
| 165 |
} |
| 166 |
} |
| 167 |
return |
| 168 |
} |
| 169 |
|
| 170 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfiguration. |
| 171 |
func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration { |
| 172 |
if in == nil { |
| 173 |
return nil |
| 174 |
} |
| 175 |
out := new(EncryptionConfiguration) |
| 176 |
in.DeepCopyInto(out) |
| 177 |
return out |
| 178 |
} |
| 179 |
|
| 180 |
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 181 |
func (in *EncryptionConfiguration) DeepCopyObject() runtime.Object { |
| 182 |
if c := in.DeepCopy(); c != nil { |
| 183 |
return c |
| 184 |
} |
| 185 |
return nil |
| 186 |
} |
| 187 |
|
| 188 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 189 |
func (in *IdentityConfiguration) DeepCopyInto(out *IdentityConfiguration) { |
| 190 |
*out = *in |
| 191 |
return |
| 192 |
} |
| 193 |
|
| 194 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityConfiguration. |
| 195 |
func (in *IdentityConfiguration) DeepCopy() *IdentityConfiguration { |
| 196 |
if in == nil { |
| 197 |
return nil |
| 198 |
} |
| 199 |
out := new(IdentityConfiguration) |
| 200 |
in.DeepCopyInto(out) |
| 201 |
return out |
| 202 |
} |
| 203 |
|
| 204 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 205 |
func (in *KMSConfiguration) DeepCopyInto(out *KMSConfiguration) { |
| 206 |
*out = *in |
| 207 |
if in.CacheSize != nil { |
| 208 |
in, out := &in.CacheSize, &out.CacheSize |
| 209 |
*out = new(int32) |
| 210 |
**out = **in |
| 211 |
} |
| 212 |
if in.Timeout != nil { |
| 213 |
in, out := &in.Timeout, &out.Timeout |
| 214 |
*out = new(metav1.Duration) |
| 215 |
**out = **in |
| 216 |
} |
| 217 |
return |
| 218 |
} |
| 219 |
|
| 220 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfiguration. |
| 221 |
func (in *KMSConfiguration) DeepCopy() *KMSConfiguration { |
| 222 |
if in == nil { |
| 223 |
return nil |
| 224 |
} |
| 225 |
out := new(KMSConfiguration) |
| 226 |
in.DeepCopyInto(out) |
| 227 |
return out |
| 228 |
} |
| 229 |
|
| 230 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 231 |
func (in *Key) DeepCopyInto(out *Key) { |
| 232 |
*out = *in |
| 233 |
return |
| 234 |
} |
| 235 |
|
| 236 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key. |
| 237 |
func (in *Key) DeepCopy() *Key { |
| 238 |
if in == nil { |
| 239 |
return nil |
| 240 |
} |
| 241 |
out := new(Key) |
| 242 |
in.DeepCopyInto(out) |
| 243 |
return out |
| 244 |
} |
| 245 |
|
| 246 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 247 |
func (in *ProviderConfiguration) DeepCopyInto(out *ProviderConfiguration) { |
| 248 |
*out = *in |
| 249 |
if in.AESGCM != nil { |
| 250 |
in, out := &in.AESGCM, &out.AESGCM |
| 251 |
*out = new(AESConfiguration) |
| 252 |
(*in).DeepCopyInto(*out) |
| 253 |
} |
| 254 |
if in.AESCBC != nil { |
| 255 |
in, out := &in.AESCBC, &out.AESCBC |
| 256 |
*out = new(AESConfiguration) |
| 257 |
(*in).DeepCopyInto(*out) |
| 258 |
} |
| 259 |
if in.Secretbox != nil { |
| 260 |
in, out := &in.Secretbox, &out.Secretbox |
| 261 |
*out = new(SecretboxConfiguration) |
| 262 |
(*in).DeepCopyInto(*out) |
| 263 |
} |
| 264 |
if in.Identity != nil { |
| 265 |
in, out := &in.Identity, &out.Identity |
| 266 |
*out = new(IdentityConfiguration) |
| 267 |
**out = **in |
| 268 |
} |
| 269 |
if in.KMS != nil { |
| 270 |
in, out := &in.KMS, &out.KMS |
| 271 |
*out = new(KMSConfiguration) |
| 272 |
(*in).DeepCopyInto(*out) |
| 273 |
} |
| 274 |
return |
| 275 |
} |
| 276 |
|
| 277 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfiguration. |
| 278 |
func (in *ProviderConfiguration) DeepCopy() *ProviderConfiguration { |
| 279 |
if in == nil { |
| 280 |
return nil |
| 281 |
} |
| 282 |
out := new(ProviderConfiguration) |
| 283 |
in.DeepCopyInto(out) |
| 284 |
return out |
| 285 |
} |
| 286 |
|
| 287 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 288 |
func (in *ResourceConfiguration) DeepCopyInto(out *ResourceConfiguration) { |
| 289 |
*out = *in |
| 290 |
if in.Resources != nil { |
| 291 |
in, out := &in.Resources, &out.Resources |
| 292 |
*out = make([]string, len(*in)) |
| 293 |
copy(*out, *in) |
| 294 |
} |
| 295 |
if in.Providers != nil { |
| 296 |
in, out := &in.Providers, &out.Providers |
| 297 |
*out = make([]ProviderConfiguration, len(*in)) |
| 298 |
for i := range *in { |
| 299 |
(*in)[i].DeepCopyInto(&(*out)[i]) |
| 300 |
} |
| 301 |
} |
| 302 |
return |
| 303 |
} |
| 304 |
|
| 305 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConfiguration. |
| 306 |
func (in *ResourceConfiguration) DeepCopy() *ResourceConfiguration { |
| 307 |
if in == nil { |
| 308 |
return nil |
| 309 |
} |
| 310 |
out := new(ResourceConfiguration) |
| 311 |
in.DeepCopyInto(out) |
| 312 |
return out |
| 313 |
} |
| 314 |
|
| 315 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 316 |
func (in *SecretboxConfiguration) DeepCopyInto(out *SecretboxConfiguration) { |
| 317 |
*out = *in |
| 318 |
if in.Keys != nil { |
| 319 |
in, out := &in.Keys, &out.Keys |
| 320 |
*out = make([]Key, len(*in)) |
| 321 |
copy(*out, *in) |
| 322 |
} |
| 323 |
return |
| 324 |
} |
| 325 |
|
| 326 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretboxConfiguration. |
| 327 |
func (in *SecretboxConfiguration) DeepCopy() *SecretboxConfiguration { |
| 328 |
if in == nil { |
| 329 |
return nil |
| 330 |
} |
| 331 |
out := new(SecretboxConfiguration) |
| 332 |
in.DeepCopyInto(out) |
| 333 |
return out |
| 334 |
} |
| 335 |
|
| 336 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 337 |
func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration) { |
| 338 |
*out = *in |
| 339 |
out.AuthorizedTTL = in.AuthorizedTTL |
| 340 |
out.UnauthorizedTTL = in.UnauthorizedTTL |
| 341 |
out.Timeout = in.Timeout |
| 342 |
in.ConnectionInfo.DeepCopyInto(&out.ConnectionInfo) |
| 343 |
if in.MatchConditions != nil { |
| 344 |
in, out := &in.MatchConditions, &out.MatchConditions |
| 345 |
*out = make([]WebhookMatchCondition, len(*in)) |
| 346 |
copy(*out, *in) |
| 347 |
} |
| 348 |
return |
| 349 |
} |
| 350 |
|
| 351 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfiguration. |
| 352 |
func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration { |
| 353 |
if in == nil { |
| 354 |
return nil |
| 355 |
} |
| 356 |
out := new(WebhookConfiguration) |
| 357 |
in.DeepCopyInto(out) |
| 358 |
return out |
| 359 |
} |
| 360 |
|
| 361 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 362 |
func (in *WebhookConnectionInfo) DeepCopyInto(out *WebhookConnectionInfo) { |
| 363 |
*out = *in |
| 364 |
if in.KubeConfigFile != nil { |
| 365 |
in, out := &in.KubeConfigFile, &out.KubeConfigFile |
| 366 |
*out = new(string) |
| 367 |
**out = **in |
| 368 |
} |
| 369 |
return |
| 370 |
} |
| 371 |
|
| 372 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConnectionInfo. |
| 373 |
func (in *WebhookConnectionInfo) DeepCopy() *WebhookConnectionInfo { |
| 374 |
if in == nil { |
| 375 |
return nil |
| 376 |
} |
| 377 |
out := new(WebhookConnectionInfo) |
| 378 |
in.DeepCopyInto(out) |
| 379 |
return out |
| 380 |
} |
| 381 |
|
| 382 |
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 383 |
func (in *WebhookMatchCondition) DeepCopyInto(out *WebhookMatchCondition) { |
| 384 |
*out = *in |
| 385 |
return |
| 386 |
} |
| 387 |
|
| 388 |
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookMatchCondition. |
| 389 |
func (in *WebhookMatchCondition) DeepCopy() *WebhookMatchCondition { |
| 390 |
if in == nil { |
| 391 |
return nil |
| 392 |
} |
| 393 |
out := new(WebhookMatchCondition) |
| 394 |
in.DeepCopyInto(out) |
| 395 |
return out |
| 396 |
} |