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