k8s.io/apiserver@v0.31.1/pkg/apis/apiserver/v1alpha1/zz_generated.deepcopy.go (about) 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 v1alpha1 23 24 import ( 25 runtime "k8s.io/apimachinery/pkg/runtime" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 if in.Plugins != nil { 33 in, out := &in.Plugins, &out.Plugins 34 *out = make([]AdmissionPluginConfiguration, len(*in)) 35 for i := range *in { 36 (*in)[i].DeepCopyInto(&(*out)[i]) 37 } 38 } 39 return 40 } 41 42 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. 43 func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { 44 if in == nil { 45 return nil 46 } 47 out := new(AdmissionConfiguration) 48 in.DeepCopyInto(out) 49 return out 50 } 51 52 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 53 func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object { 54 if c := in.DeepCopy(); c != nil { 55 return c 56 } 57 return nil 58 } 59 60 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 61 func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfiguration) { 62 *out = *in 63 if in.Configuration != nil { 64 in, out := &in.Configuration, &out.Configuration 65 *out = new(runtime.Unknown) 66 (*in).DeepCopyInto(*out) 67 } 68 return 69 } 70 71 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. 72 func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { 73 if in == nil { 74 return nil 75 } 76 out := new(AdmissionPluginConfiguration) 77 in.DeepCopyInto(out) 78 return out 79 } 80 81 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 82 func (in *AnonymousAuthCondition) DeepCopyInto(out *AnonymousAuthCondition) { 83 *out = *in 84 return 85 } 86 87 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnonymousAuthCondition. 88 func (in *AnonymousAuthCondition) DeepCopy() *AnonymousAuthCondition { 89 if in == nil { 90 return nil 91 } 92 out := new(AnonymousAuthCondition) 93 in.DeepCopyInto(out) 94 return out 95 } 96 97 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 98 func (in *AnonymousAuthConfig) DeepCopyInto(out *AnonymousAuthConfig) { 99 *out = *in 100 if in.Conditions != nil { 101 in, out := &in.Conditions, &out.Conditions 102 *out = make([]AnonymousAuthCondition, len(*in)) 103 copy(*out, *in) 104 } 105 return 106 } 107 108 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnonymousAuthConfig. 109 func (in *AnonymousAuthConfig) DeepCopy() *AnonymousAuthConfig { 110 if in == nil { 111 return nil 112 } 113 out := new(AnonymousAuthConfig) 114 in.DeepCopyInto(out) 115 return out 116 } 117 118 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 119 func (in *AuthenticationConfiguration) DeepCopyInto(out *AuthenticationConfiguration) { 120 *out = *in 121 out.TypeMeta = in.TypeMeta 122 if in.JWT != nil { 123 in, out := &in.JWT, &out.JWT 124 *out = make([]JWTAuthenticator, len(*in)) 125 for i := range *in { 126 (*in)[i].DeepCopyInto(&(*out)[i]) 127 } 128 } 129 if in.Anonymous != nil { 130 in, out := &in.Anonymous, &out.Anonymous 131 *out = new(AnonymousAuthConfig) 132 (*in).DeepCopyInto(*out) 133 } 134 return 135 } 136 137 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationConfiguration. 138 func (in *AuthenticationConfiguration) DeepCopy() *AuthenticationConfiguration { 139 if in == nil { 140 return nil 141 } 142 out := new(AuthenticationConfiguration) 143 in.DeepCopyInto(out) 144 return out 145 } 146 147 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 148 func (in *AuthenticationConfiguration) DeepCopyObject() runtime.Object { 149 if c := in.DeepCopy(); c != nil { 150 return c 151 } 152 return nil 153 } 154 155 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 156 func (in *AuthorizationConfiguration) DeepCopyInto(out *AuthorizationConfiguration) { 157 *out = *in 158 out.TypeMeta = in.TypeMeta 159 if in.Authorizers != nil { 160 in, out := &in.Authorizers, &out.Authorizers 161 *out = make([]AuthorizerConfiguration, len(*in)) 162 for i := range *in { 163 (*in)[i].DeepCopyInto(&(*out)[i]) 164 } 165 } 166 return 167 } 168 169 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationConfiguration. 170 func (in *AuthorizationConfiguration) DeepCopy() *AuthorizationConfiguration { 171 if in == nil { 172 return nil 173 } 174 out := new(AuthorizationConfiguration) 175 in.DeepCopyInto(out) 176 return out 177 } 178 179 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 180 func (in *AuthorizationConfiguration) DeepCopyObject() runtime.Object { 181 if c := in.DeepCopy(); c != nil { 182 return c 183 } 184 return nil 185 } 186 187 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 188 func (in *AuthorizerConfiguration) DeepCopyInto(out *AuthorizerConfiguration) { 189 *out = *in 190 if in.Webhook != nil { 191 in, out := &in.Webhook, &out.Webhook 192 *out = new(WebhookConfiguration) 193 (*in).DeepCopyInto(*out) 194 } 195 return 196 } 197 198 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizerConfiguration. 199 func (in *AuthorizerConfiguration) DeepCopy() *AuthorizerConfiguration { 200 if in == nil { 201 return nil 202 } 203 out := new(AuthorizerConfiguration) 204 in.DeepCopyInto(out) 205 return out 206 } 207 208 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 209 func (in *ClaimMappings) DeepCopyInto(out *ClaimMappings) { 210 *out = *in 211 in.Username.DeepCopyInto(&out.Username) 212 in.Groups.DeepCopyInto(&out.Groups) 213 out.UID = in.UID 214 if in.Extra != nil { 215 in, out := &in.Extra, &out.Extra 216 *out = make([]ExtraMapping, len(*in)) 217 copy(*out, *in) 218 } 219 return 220 } 221 222 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimMappings. 223 func (in *ClaimMappings) DeepCopy() *ClaimMappings { 224 if in == nil { 225 return nil 226 } 227 out := new(ClaimMappings) 228 in.DeepCopyInto(out) 229 return out 230 } 231 232 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 233 func (in *ClaimOrExpression) DeepCopyInto(out *ClaimOrExpression) { 234 *out = *in 235 return 236 } 237 238 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimOrExpression. 239 func (in *ClaimOrExpression) DeepCopy() *ClaimOrExpression { 240 if in == nil { 241 return nil 242 } 243 out := new(ClaimOrExpression) 244 in.DeepCopyInto(out) 245 return out 246 } 247 248 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 249 func (in *ClaimValidationRule) DeepCopyInto(out *ClaimValidationRule) { 250 *out = *in 251 return 252 } 253 254 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimValidationRule. 255 func (in *ClaimValidationRule) DeepCopy() *ClaimValidationRule { 256 if in == nil { 257 return nil 258 } 259 out := new(ClaimValidationRule) 260 in.DeepCopyInto(out) 261 return out 262 } 263 264 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 265 func (in *Connection) DeepCopyInto(out *Connection) { 266 *out = *in 267 if in.Transport != nil { 268 in, out := &in.Transport, &out.Transport 269 *out = new(Transport) 270 (*in).DeepCopyInto(*out) 271 } 272 return 273 } 274 275 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection. 276 func (in *Connection) DeepCopy() *Connection { 277 if in == nil { 278 return nil 279 } 280 out := new(Connection) 281 in.DeepCopyInto(out) 282 return out 283 } 284 285 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 286 func (in *EgressSelection) DeepCopyInto(out *EgressSelection) { 287 *out = *in 288 in.Connection.DeepCopyInto(&out.Connection) 289 return 290 } 291 292 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressSelection. 293 func (in *EgressSelection) DeepCopy() *EgressSelection { 294 if in == nil { 295 return nil 296 } 297 out := new(EgressSelection) 298 in.DeepCopyInto(out) 299 return out 300 } 301 302 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 303 func (in *EgressSelectorConfiguration) DeepCopyInto(out *EgressSelectorConfiguration) { 304 *out = *in 305 out.TypeMeta = in.TypeMeta 306 if in.EgressSelections != nil { 307 in, out := &in.EgressSelections, &out.EgressSelections 308 *out = make([]EgressSelection, len(*in)) 309 for i := range *in { 310 (*in)[i].DeepCopyInto(&(*out)[i]) 311 } 312 } 313 return 314 } 315 316 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressSelectorConfiguration. 317 func (in *EgressSelectorConfiguration) DeepCopy() *EgressSelectorConfiguration { 318 if in == nil { 319 return nil 320 } 321 out := new(EgressSelectorConfiguration) 322 in.DeepCopyInto(out) 323 return out 324 } 325 326 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 327 func (in *EgressSelectorConfiguration) DeepCopyObject() runtime.Object { 328 if c := in.DeepCopy(); c != nil { 329 return c 330 } 331 return nil 332 } 333 334 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 335 func (in *ExtraMapping) DeepCopyInto(out *ExtraMapping) { 336 *out = *in 337 return 338 } 339 340 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraMapping. 341 func (in *ExtraMapping) DeepCopy() *ExtraMapping { 342 if in == nil { 343 return nil 344 } 345 out := new(ExtraMapping) 346 in.DeepCopyInto(out) 347 return out 348 } 349 350 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 351 func (in *Issuer) DeepCopyInto(out *Issuer) { 352 *out = *in 353 if in.DiscoveryURL != nil { 354 in, out := &in.DiscoveryURL, &out.DiscoveryURL 355 *out = new(string) 356 **out = **in 357 } 358 if in.Audiences != nil { 359 in, out := &in.Audiences, &out.Audiences 360 *out = make([]string, len(*in)) 361 copy(*out, *in) 362 } 363 return 364 } 365 366 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Issuer. 367 func (in *Issuer) DeepCopy() *Issuer { 368 if in == nil { 369 return nil 370 } 371 out := new(Issuer) 372 in.DeepCopyInto(out) 373 return out 374 } 375 376 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 377 func (in *JWTAuthenticator) DeepCopyInto(out *JWTAuthenticator) { 378 *out = *in 379 in.Issuer.DeepCopyInto(&out.Issuer) 380 if in.ClaimValidationRules != nil { 381 in, out := &in.ClaimValidationRules, &out.ClaimValidationRules 382 *out = make([]ClaimValidationRule, len(*in)) 383 copy(*out, *in) 384 } 385 in.ClaimMappings.DeepCopyInto(&out.ClaimMappings) 386 if in.UserValidationRules != nil { 387 in, out := &in.UserValidationRules, &out.UserValidationRules 388 *out = make([]UserValidationRule, len(*in)) 389 copy(*out, *in) 390 } 391 return 392 } 393 394 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWTAuthenticator. 395 func (in *JWTAuthenticator) DeepCopy() *JWTAuthenticator { 396 if in == nil { 397 return nil 398 } 399 out := new(JWTAuthenticator) 400 in.DeepCopyInto(out) 401 return out 402 } 403 404 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 405 func (in *PrefixedClaimOrExpression) DeepCopyInto(out *PrefixedClaimOrExpression) { 406 *out = *in 407 if in.Prefix != nil { 408 in, out := &in.Prefix, &out.Prefix 409 *out = new(string) 410 **out = **in 411 } 412 return 413 } 414 415 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrefixedClaimOrExpression. 416 func (in *PrefixedClaimOrExpression) DeepCopy() *PrefixedClaimOrExpression { 417 if in == nil { 418 return nil 419 } 420 out := new(PrefixedClaimOrExpression) 421 in.DeepCopyInto(out) 422 return out 423 } 424 425 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 426 func (in *TCPTransport) DeepCopyInto(out *TCPTransport) { 427 *out = *in 428 if in.TLSConfig != nil { 429 in, out := &in.TLSConfig, &out.TLSConfig 430 *out = new(TLSConfig) 431 **out = **in 432 } 433 return 434 } 435 436 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPTransport. 437 func (in *TCPTransport) DeepCopy() *TCPTransport { 438 if in == nil { 439 return nil 440 } 441 out := new(TCPTransport) 442 in.DeepCopyInto(out) 443 return out 444 } 445 446 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 447 func (in *TLSConfig) DeepCopyInto(out *TLSConfig) { 448 *out = *in 449 return 450 } 451 452 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig. 453 func (in *TLSConfig) DeepCopy() *TLSConfig { 454 if in == nil { 455 return nil 456 } 457 out := new(TLSConfig) 458 in.DeepCopyInto(out) 459 return out 460 } 461 462 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 463 func (in *TracingConfiguration) DeepCopyInto(out *TracingConfiguration) { 464 *out = *in 465 out.TypeMeta = in.TypeMeta 466 in.TracingConfiguration.DeepCopyInto(&out.TracingConfiguration) 467 return 468 } 469 470 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfiguration. 471 func (in *TracingConfiguration) DeepCopy() *TracingConfiguration { 472 if in == nil { 473 return nil 474 } 475 out := new(TracingConfiguration) 476 in.DeepCopyInto(out) 477 return out 478 } 479 480 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 481 func (in *TracingConfiguration) DeepCopyObject() runtime.Object { 482 if c := in.DeepCopy(); c != nil { 483 return c 484 } 485 return nil 486 } 487 488 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 489 func (in *Transport) DeepCopyInto(out *Transport) { 490 *out = *in 491 if in.TCP != nil { 492 in, out := &in.TCP, &out.TCP 493 *out = new(TCPTransport) 494 (*in).DeepCopyInto(*out) 495 } 496 if in.UDS != nil { 497 in, out := &in.UDS, &out.UDS 498 *out = new(UDSTransport) 499 **out = **in 500 } 501 return 502 } 503 504 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transport. 505 func (in *Transport) DeepCopy() *Transport { 506 if in == nil { 507 return nil 508 } 509 out := new(Transport) 510 in.DeepCopyInto(out) 511 return out 512 } 513 514 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 515 func (in *UDSTransport) DeepCopyInto(out *UDSTransport) { 516 *out = *in 517 return 518 } 519 520 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UDSTransport. 521 func (in *UDSTransport) DeepCopy() *UDSTransport { 522 if in == nil { 523 return nil 524 } 525 out := new(UDSTransport) 526 in.DeepCopyInto(out) 527 return out 528 } 529 530 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 531 func (in *UserValidationRule) DeepCopyInto(out *UserValidationRule) { 532 *out = *in 533 return 534 } 535 536 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserValidationRule. 537 func (in *UserValidationRule) DeepCopy() *UserValidationRule { 538 if in == nil { 539 return nil 540 } 541 out := new(UserValidationRule) 542 in.DeepCopyInto(out) 543 return out 544 } 545 546 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 547 func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration) { 548 *out = *in 549 out.AuthorizedTTL = in.AuthorizedTTL 550 out.UnauthorizedTTL = in.UnauthorizedTTL 551 out.Timeout = in.Timeout 552 in.ConnectionInfo.DeepCopyInto(&out.ConnectionInfo) 553 if in.MatchConditions != nil { 554 in, out := &in.MatchConditions, &out.MatchConditions 555 *out = make([]WebhookMatchCondition, len(*in)) 556 copy(*out, *in) 557 } 558 return 559 } 560 561 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfiguration. 562 func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration { 563 if in == nil { 564 return nil 565 } 566 out := new(WebhookConfiguration) 567 in.DeepCopyInto(out) 568 return out 569 } 570 571 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 572 func (in *WebhookConnectionInfo) DeepCopyInto(out *WebhookConnectionInfo) { 573 *out = *in 574 if in.KubeConfigFile != nil { 575 in, out := &in.KubeConfigFile, &out.KubeConfigFile 576 *out = new(string) 577 **out = **in 578 } 579 return 580 } 581 582 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConnectionInfo. 583 func (in *WebhookConnectionInfo) DeepCopy() *WebhookConnectionInfo { 584 if in == nil { 585 return nil 586 } 587 out := new(WebhookConnectionInfo) 588 in.DeepCopyInto(out) 589 return out 590 } 591 592 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 593 func (in *WebhookMatchCondition) DeepCopyInto(out *WebhookMatchCondition) { 594 *out = *in 595 return 596 } 597 598 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookMatchCondition. 599 func (in *WebhookMatchCondition) DeepCopy() *WebhookMatchCondition { 600 if in == nil { 601 return nil 602 } 603 out := new(WebhookMatchCondition) 604 in.DeepCopyInto(out) 605 return out 606 }