github.com/argoproj/argo-events@v1.9.1/pkg/apis/eventsource/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2021 BlackRock, Inc. 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 common "github.com/argoproj/argo-events/pkg/apis/common" 26 v1 "k8s.io/api/core/v1" 27 runtime "k8s.io/apimachinery/pkg/runtime" 28 ) 29 30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 31 func (in *AMQPConsumeConfig) DeepCopyInto(out *AMQPConsumeConfig) { 32 *out = *in 33 return 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPConsumeConfig. 37 func (in *AMQPConsumeConfig) DeepCopy() *AMQPConsumeConfig { 38 if in == nil { 39 return nil 40 } 41 out := new(AMQPConsumeConfig) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 47 func (in *AMQPEventSource) DeepCopyInto(out *AMQPEventSource) { 48 *out = *in 49 if in.ConnectionBackoff != nil { 50 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 51 *out = new(common.Backoff) 52 (*in).DeepCopyInto(*out) 53 } 54 if in.TLS != nil { 55 in, out := &in.TLS, &out.TLS 56 *out = new(common.TLSConfig) 57 (*in).DeepCopyInto(*out) 58 } 59 if in.Metadata != nil { 60 in, out := &in.Metadata, &out.Metadata 61 *out = make(map[string]string, len(*in)) 62 for key, val := range *in { 63 (*out)[key] = val 64 } 65 } 66 if in.ExchangeDeclare != nil { 67 in, out := &in.ExchangeDeclare, &out.ExchangeDeclare 68 *out = new(AMQPExchangeDeclareConfig) 69 **out = **in 70 } 71 if in.QueueDeclare != nil { 72 in, out := &in.QueueDeclare, &out.QueueDeclare 73 *out = new(AMQPQueueDeclareConfig) 74 **out = **in 75 } 76 if in.QueueBind != nil { 77 in, out := &in.QueueBind, &out.QueueBind 78 *out = new(AMQPQueueBindConfig) 79 **out = **in 80 } 81 if in.Consume != nil { 82 in, out := &in.Consume, &out.Consume 83 *out = new(AMQPConsumeConfig) 84 **out = **in 85 } 86 if in.Auth != nil { 87 in, out := &in.Auth, &out.Auth 88 *out = new(common.BasicAuth) 89 (*in).DeepCopyInto(*out) 90 } 91 if in.URLSecret != nil { 92 in, out := &in.URLSecret, &out.URLSecret 93 *out = new(v1.SecretKeySelector) 94 (*in).DeepCopyInto(*out) 95 } 96 if in.Filter != nil { 97 in, out := &in.Filter, &out.Filter 98 *out = new(EventSourceFilter) 99 **out = **in 100 } 101 return 102 } 103 104 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPEventSource. 105 func (in *AMQPEventSource) DeepCopy() *AMQPEventSource { 106 if in == nil { 107 return nil 108 } 109 out := new(AMQPEventSource) 110 in.DeepCopyInto(out) 111 return out 112 } 113 114 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 115 func (in *AMQPExchangeDeclareConfig) DeepCopyInto(out *AMQPExchangeDeclareConfig) { 116 *out = *in 117 return 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPExchangeDeclareConfig. 121 func (in *AMQPExchangeDeclareConfig) DeepCopy() *AMQPExchangeDeclareConfig { 122 if in == nil { 123 return nil 124 } 125 out := new(AMQPExchangeDeclareConfig) 126 in.DeepCopyInto(out) 127 return out 128 } 129 130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 131 func (in *AMQPQueueBindConfig) DeepCopyInto(out *AMQPQueueBindConfig) { 132 *out = *in 133 return 134 } 135 136 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPQueueBindConfig. 137 func (in *AMQPQueueBindConfig) DeepCopy() *AMQPQueueBindConfig { 138 if in == nil { 139 return nil 140 } 141 out := new(AMQPQueueBindConfig) 142 in.DeepCopyInto(out) 143 return out 144 } 145 146 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 147 func (in *AMQPQueueDeclareConfig) DeepCopyInto(out *AMQPQueueDeclareConfig) { 148 *out = *in 149 return 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AMQPQueueDeclareConfig. 153 func (in *AMQPQueueDeclareConfig) DeepCopy() *AMQPQueueDeclareConfig { 154 if in == nil { 155 return nil 156 } 157 out := new(AMQPQueueDeclareConfig) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 163 func (in *AzureEventsHubEventSource) DeepCopyInto(out *AzureEventsHubEventSource) { 164 *out = *in 165 if in.SharedAccessKeyName != nil { 166 in, out := &in.SharedAccessKeyName, &out.SharedAccessKeyName 167 *out = new(v1.SecretKeySelector) 168 (*in).DeepCopyInto(*out) 169 } 170 if in.SharedAccessKey != nil { 171 in, out := &in.SharedAccessKey, &out.SharedAccessKey 172 *out = new(v1.SecretKeySelector) 173 (*in).DeepCopyInto(*out) 174 } 175 if in.Metadata != nil { 176 in, out := &in.Metadata, &out.Metadata 177 *out = make(map[string]string, len(*in)) 178 for key, val := range *in { 179 (*out)[key] = val 180 } 181 } 182 if in.Filter != nil { 183 in, out := &in.Filter, &out.Filter 184 *out = new(EventSourceFilter) 185 **out = **in 186 } 187 return 188 } 189 190 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureEventsHubEventSource. 191 func (in *AzureEventsHubEventSource) DeepCopy() *AzureEventsHubEventSource { 192 if in == nil { 193 return nil 194 } 195 out := new(AzureEventsHubEventSource) 196 in.DeepCopyInto(out) 197 return out 198 } 199 200 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 201 func (in *AzureQueueStorageEventSource) DeepCopyInto(out *AzureQueueStorageEventSource) { 202 *out = *in 203 if in.ConnectionString != nil { 204 in, out := &in.ConnectionString, &out.ConnectionString 205 *out = new(v1.SecretKeySelector) 206 (*in).DeepCopyInto(*out) 207 } 208 if in.Metadata != nil { 209 in, out := &in.Metadata, &out.Metadata 210 *out = make(map[string]string, len(*in)) 211 for key, val := range *in { 212 (*out)[key] = val 213 } 214 } 215 if in.Filter != nil { 216 in, out := &in.Filter, &out.Filter 217 *out = new(EventSourceFilter) 218 **out = **in 219 } 220 if in.WaitTimeInSeconds != nil { 221 in, out := &in.WaitTimeInSeconds, &out.WaitTimeInSeconds 222 *out = new(int32) 223 **out = **in 224 } 225 return 226 } 227 228 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureQueueStorageEventSource. 229 func (in *AzureQueueStorageEventSource) DeepCopy() *AzureQueueStorageEventSource { 230 if in == nil { 231 return nil 232 } 233 out := new(AzureQueueStorageEventSource) 234 in.DeepCopyInto(out) 235 return out 236 } 237 238 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 239 func (in *AzureServiceBusEventSource) DeepCopyInto(out *AzureServiceBusEventSource) { 240 *out = *in 241 if in.ConnectionString != nil { 242 in, out := &in.ConnectionString, &out.ConnectionString 243 *out = new(v1.SecretKeySelector) 244 (*in).DeepCopyInto(*out) 245 } 246 if in.TLS != nil { 247 in, out := &in.TLS, &out.TLS 248 *out = new(common.TLSConfig) 249 (*in).DeepCopyInto(*out) 250 } 251 if in.Metadata != nil { 252 in, out := &in.Metadata, &out.Metadata 253 *out = make(map[string]string, len(*in)) 254 for key, val := range *in { 255 (*out)[key] = val 256 } 257 } 258 if in.Filter != nil { 259 in, out := &in.Filter, &out.Filter 260 *out = new(EventSourceFilter) 261 **out = **in 262 } 263 return 264 } 265 266 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureServiceBusEventSource. 267 func (in *AzureServiceBusEventSource) DeepCopy() *AzureServiceBusEventSource { 268 if in == nil { 269 return nil 270 } 271 out := new(AzureServiceBusEventSource) 272 in.DeepCopyInto(out) 273 return out 274 } 275 276 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 277 func (in *BitbucketAuth) DeepCopyInto(out *BitbucketAuth) { 278 *out = *in 279 if in.Basic != nil { 280 in, out := &in.Basic, &out.Basic 281 *out = new(BitbucketBasicAuth) 282 (*in).DeepCopyInto(*out) 283 } 284 if in.OAuthToken != nil { 285 in, out := &in.OAuthToken, &out.OAuthToken 286 *out = new(v1.SecretKeySelector) 287 (*in).DeepCopyInto(*out) 288 } 289 return 290 } 291 292 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketAuth. 293 func (in *BitbucketAuth) DeepCopy() *BitbucketAuth { 294 if in == nil { 295 return nil 296 } 297 out := new(BitbucketAuth) 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 *BitbucketBasicAuth) DeepCopyInto(out *BitbucketBasicAuth) { 304 *out = *in 305 if in.Username != nil { 306 in, out := &in.Username, &out.Username 307 *out = new(v1.SecretKeySelector) 308 (*in).DeepCopyInto(*out) 309 } 310 if in.Password != nil { 311 in, out := &in.Password, &out.Password 312 *out = new(v1.SecretKeySelector) 313 (*in).DeepCopyInto(*out) 314 } 315 return 316 } 317 318 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketBasicAuth. 319 func (in *BitbucketBasicAuth) DeepCopy() *BitbucketBasicAuth { 320 if in == nil { 321 return nil 322 } 323 out := new(BitbucketBasicAuth) 324 in.DeepCopyInto(out) 325 return out 326 } 327 328 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 329 func (in *BitbucketEventSource) DeepCopyInto(out *BitbucketEventSource) { 330 *out = *in 331 if in.Metadata != nil { 332 in, out := &in.Metadata, &out.Metadata 333 *out = make(map[string]string, len(*in)) 334 for key, val := range *in { 335 (*out)[key] = val 336 } 337 } 338 if in.Webhook != nil { 339 in, out := &in.Webhook, &out.Webhook 340 *out = new(WebhookContext) 341 (*in).DeepCopyInto(*out) 342 } 343 if in.Auth != nil { 344 in, out := &in.Auth, &out.Auth 345 *out = new(BitbucketAuth) 346 (*in).DeepCopyInto(*out) 347 } 348 if in.Events != nil { 349 in, out := &in.Events, &out.Events 350 *out = make([]string, len(*in)) 351 copy(*out, *in) 352 } 353 if in.Repositories != nil { 354 in, out := &in.Repositories, &out.Repositories 355 *out = make([]BitbucketRepository, len(*in)) 356 copy(*out, *in) 357 } 358 if in.Filter != nil { 359 in, out := &in.Filter, &out.Filter 360 *out = new(EventSourceFilter) 361 **out = **in 362 } 363 return 364 } 365 366 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketEventSource. 367 func (in *BitbucketEventSource) DeepCopy() *BitbucketEventSource { 368 if in == nil { 369 return nil 370 } 371 out := new(BitbucketEventSource) 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 *BitbucketRepository) DeepCopyInto(out *BitbucketRepository) { 378 *out = *in 379 return 380 } 381 382 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketRepository. 383 func (in *BitbucketRepository) DeepCopy() *BitbucketRepository { 384 if in == nil { 385 return nil 386 } 387 out := new(BitbucketRepository) 388 in.DeepCopyInto(out) 389 return out 390 } 391 392 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 393 func (in *BitbucketServerEventSource) DeepCopyInto(out *BitbucketServerEventSource) { 394 *out = *in 395 if in.Webhook != nil { 396 in, out := &in.Webhook, &out.Webhook 397 *out = new(WebhookContext) 398 (*in).DeepCopyInto(*out) 399 } 400 if in.Repositories != nil { 401 in, out := &in.Repositories, &out.Repositories 402 *out = make([]BitbucketServerRepository, len(*in)) 403 copy(*out, *in) 404 } 405 if in.Events != nil { 406 in, out := &in.Events, &out.Events 407 *out = make([]string, len(*in)) 408 copy(*out, *in) 409 } 410 if in.AccessToken != nil { 411 in, out := &in.AccessToken, &out.AccessToken 412 *out = new(v1.SecretKeySelector) 413 (*in).DeepCopyInto(*out) 414 } 415 if in.WebhookSecret != nil { 416 in, out := &in.WebhookSecret, &out.WebhookSecret 417 *out = new(v1.SecretKeySelector) 418 (*in).DeepCopyInto(*out) 419 } 420 if in.Metadata != nil { 421 in, out := &in.Metadata, &out.Metadata 422 *out = make(map[string]string, len(*in)) 423 for key, val := range *in { 424 (*out)[key] = val 425 } 426 } 427 if in.Filter != nil { 428 in, out := &in.Filter, &out.Filter 429 *out = new(EventSourceFilter) 430 **out = **in 431 } 432 if in.TLS != nil { 433 in, out := &in.TLS, &out.TLS 434 *out = new(common.TLSConfig) 435 (*in).DeepCopyInto(*out) 436 } 437 return 438 } 439 440 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerEventSource. 441 func (in *BitbucketServerEventSource) DeepCopy() *BitbucketServerEventSource { 442 if in == nil { 443 return nil 444 } 445 out := new(BitbucketServerEventSource) 446 in.DeepCopyInto(out) 447 return out 448 } 449 450 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 451 func (in *BitbucketServerRepository) DeepCopyInto(out *BitbucketServerRepository) { 452 *out = *in 453 return 454 } 455 456 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketServerRepository. 457 func (in *BitbucketServerRepository) DeepCopy() *BitbucketServerRepository { 458 if in == nil { 459 return nil 460 } 461 out := new(BitbucketServerRepository) 462 in.DeepCopyInto(out) 463 return out 464 } 465 466 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 467 func (in *CalendarEventSource) DeepCopyInto(out *CalendarEventSource) { 468 *out = *in 469 if in.ExclusionDates != nil { 470 in, out := &in.ExclusionDates, &out.ExclusionDates 471 *out = make([]string, len(*in)) 472 copy(*out, *in) 473 } 474 if in.Metadata != nil { 475 in, out := &in.Metadata, &out.Metadata 476 *out = make(map[string]string, len(*in)) 477 for key, val := range *in { 478 (*out)[key] = val 479 } 480 } 481 if in.Persistence != nil { 482 in, out := &in.Persistence, &out.Persistence 483 *out = new(EventPersistence) 484 (*in).DeepCopyInto(*out) 485 } 486 if in.Filter != nil { 487 in, out := &in.Filter, &out.Filter 488 *out = new(EventSourceFilter) 489 **out = **in 490 } 491 return 492 } 493 494 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CalendarEventSource. 495 func (in *CalendarEventSource) DeepCopy() *CalendarEventSource { 496 if in == nil { 497 return nil 498 } 499 out := new(CalendarEventSource) 500 in.DeepCopyInto(out) 501 return out 502 } 503 504 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 505 func (in *CatchupConfiguration) DeepCopyInto(out *CatchupConfiguration) { 506 *out = *in 507 return 508 } 509 510 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatchupConfiguration. 511 func (in *CatchupConfiguration) DeepCopy() *CatchupConfiguration { 512 if in == nil { 513 return nil 514 } 515 out := new(CatchupConfiguration) 516 in.DeepCopyInto(out) 517 return out 518 } 519 520 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 521 func (in *ConfigMapPersistence) DeepCopyInto(out *ConfigMapPersistence) { 522 *out = *in 523 return 524 } 525 526 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapPersistence. 527 func (in *ConfigMapPersistence) DeepCopy() *ConfigMapPersistence { 528 if in == nil { 529 return nil 530 } 531 out := new(ConfigMapPersistence) 532 in.DeepCopyInto(out) 533 return out 534 } 535 536 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 537 func (in *EmitterEventSource) DeepCopyInto(out *EmitterEventSource) { 538 *out = *in 539 if in.Username != nil { 540 in, out := &in.Username, &out.Username 541 *out = new(v1.SecretKeySelector) 542 (*in).DeepCopyInto(*out) 543 } 544 if in.Password != nil { 545 in, out := &in.Password, &out.Password 546 *out = new(v1.SecretKeySelector) 547 (*in).DeepCopyInto(*out) 548 } 549 if in.ConnectionBackoff != nil { 550 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 551 *out = new(common.Backoff) 552 (*in).DeepCopyInto(*out) 553 } 554 if in.TLS != nil { 555 in, out := &in.TLS, &out.TLS 556 *out = new(common.TLSConfig) 557 (*in).DeepCopyInto(*out) 558 } 559 if in.Metadata != nil { 560 in, out := &in.Metadata, &out.Metadata 561 *out = make(map[string]string, len(*in)) 562 for key, val := range *in { 563 (*out)[key] = val 564 } 565 } 566 if in.Filter != nil { 567 in, out := &in.Filter, &out.Filter 568 *out = new(EventSourceFilter) 569 **out = **in 570 } 571 return 572 } 573 574 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmitterEventSource. 575 func (in *EmitterEventSource) DeepCopy() *EmitterEventSource { 576 if in == nil { 577 return nil 578 } 579 out := new(EmitterEventSource) 580 in.DeepCopyInto(out) 581 return out 582 } 583 584 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 585 func (in *EventPersistence) DeepCopyInto(out *EventPersistence) { 586 *out = *in 587 if in.Catchup != nil { 588 in, out := &in.Catchup, &out.Catchup 589 *out = new(CatchupConfiguration) 590 **out = **in 591 } 592 if in.ConfigMap != nil { 593 in, out := &in.ConfigMap, &out.ConfigMap 594 *out = new(ConfigMapPersistence) 595 **out = **in 596 } 597 return 598 } 599 600 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventPersistence. 601 func (in *EventPersistence) DeepCopy() *EventPersistence { 602 if in == nil { 603 return nil 604 } 605 out := new(EventPersistence) 606 in.DeepCopyInto(out) 607 return out 608 } 609 610 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 611 func (in *EventSource) DeepCopyInto(out *EventSource) { 612 *out = *in 613 out.TypeMeta = in.TypeMeta 614 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 615 in.Spec.DeepCopyInto(&out.Spec) 616 in.Status.DeepCopyInto(&out.Status) 617 return 618 } 619 620 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. 621 func (in *EventSource) DeepCopy() *EventSource { 622 if in == nil { 623 return nil 624 } 625 out := new(EventSource) 626 in.DeepCopyInto(out) 627 return out 628 } 629 630 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 631 func (in *EventSource) DeepCopyObject() runtime.Object { 632 if c := in.DeepCopy(); c != nil { 633 return c 634 } 635 return nil 636 } 637 638 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 639 func (in *EventSourceFilter) DeepCopyInto(out *EventSourceFilter) { 640 *out = *in 641 return 642 } 643 644 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceFilter. 645 func (in *EventSourceFilter) DeepCopy() *EventSourceFilter { 646 if in == nil { 647 return nil 648 } 649 out := new(EventSourceFilter) 650 in.DeepCopyInto(out) 651 return out 652 } 653 654 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 655 func (in *EventSourceList) DeepCopyInto(out *EventSourceList) { 656 *out = *in 657 out.TypeMeta = in.TypeMeta 658 in.ListMeta.DeepCopyInto(&out.ListMeta) 659 if in.Items != nil { 660 in, out := &in.Items, &out.Items 661 *out = make([]EventSource, len(*in)) 662 for i := range *in { 663 (*in)[i].DeepCopyInto(&(*out)[i]) 664 } 665 } 666 return 667 } 668 669 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceList. 670 func (in *EventSourceList) DeepCopy() *EventSourceList { 671 if in == nil { 672 return nil 673 } 674 out := new(EventSourceList) 675 in.DeepCopyInto(out) 676 return out 677 } 678 679 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 680 func (in *EventSourceList) DeepCopyObject() runtime.Object { 681 if c := in.DeepCopy(); c != nil { 682 return c 683 } 684 return nil 685 } 686 687 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 688 func (in *EventSourceSpec) DeepCopyInto(out *EventSourceSpec) { 689 *out = *in 690 if in.Template != nil { 691 in, out := &in.Template, &out.Template 692 *out = new(Template) 693 (*in).DeepCopyInto(*out) 694 } 695 if in.Service != nil { 696 in, out := &in.Service, &out.Service 697 *out = new(Service) 698 (*in).DeepCopyInto(*out) 699 } 700 if in.Minio != nil { 701 in, out := &in.Minio, &out.Minio 702 *out = make(map[string]common.S3Artifact, len(*in)) 703 for key, val := range *in { 704 (*out)[key] = *val.DeepCopy() 705 } 706 } 707 if in.Calendar != nil { 708 in, out := &in.Calendar, &out.Calendar 709 *out = make(map[string]CalendarEventSource, len(*in)) 710 for key, val := range *in { 711 (*out)[key] = *val.DeepCopy() 712 } 713 } 714 if in.File != nil { 715 in, out := &in.File, &out.File 716 *out = make(map[string]FileEventSource, len(*in)) 717 for key, val := range *in { 718 (*out)[key] = *val.DeepCopy() 719 } 720 } 721 if in.Resource != nil { 722 in, out := &in.Resource, &out.Resource 723 *out = make(map[string]ResourceEventSource, len(*in)) 724 for key, val := range *in { 725 (*out)[key] = *val.DeepCopy() 726 } 727 } 728 if in.Webhook != nil { 729 in, out := &in.Webhook, &out.Webhook 730 *out = make(map[string]WebhookEventSource, len(*in)) 731 for key, val := range *in { 732 (*out)[key] = *val.DeepCopy() 733 } 734 } 735 if in.AMQP != nil { 736 in, out := &in.AMQP, &out.AMQP 737 *out = make(map[string]AMQPEventSource, len(*in)) 738 for key, val := range *in { 739 (*out)[key] = *val.DeepCopy() 740 } 741 } 742 if in.Kafka != nil { 743 in, out := &in.Kafka, &out.Kafka 744 *out = make(map[string]KafkaEventSource, len(*in)) 745 for key, val := range *in { 746 (*out)[key] = *val.DeepCopy() 747 } 748 } 749 if in.MQTT != nil { 750 in, out := &in.MQTT, &out.MQTT 751 *out = make(map[string]MQTTEventSource, len(*in)) 752 for key, val := range *in { 753 (*out)[key] = *val.DeepCopy() 754 } 755 } 756 if in.NATS != nil { 757 in, out := &in.NATS, &out.NATS 758 *out = make(map[string]NATSEventsSource, len(*in)) 759 for key, val := range *in { 760 (*out)[key] = *val.DeepCopy() 761 } 762 } 763 if in.SNS != nil { 764 in, out := &in.SNS, &out.SNS 765 *out = make(map[string]SNSEventSource, len(*in)) 766 for key, val := range *in { 767 (*out)[key] = *val.DeepCopy() 768 } 769 } 770 if in.SQS != nil { 771 in, out := &in.SQS, &out.SQS 772 *out = make(map[string]SQSEventSource, len(*in)) 773 for key, val := range *in { 774 (*out)[key] = *val.DeepCopy() 775 } 776 } 777 if in.PubSub != nil { 778 in, out := &in.PubSub, &out.PubSub 779 *out = make(map[string]PubSubEventSource, len(*in)) 780 for key, val := range *in { 781 (*out)[key] = *val.DeepCopy() 782 } 783 } 784 if in.Github != nil { 785 in, out := &in.Github, &out.Github 786 *out = make(map[string]GithubEventSource, len(*in)) 787 for key, val := range *in { 788 (*out)[key] = *val.DeepCopy() 789 } 790 } 791 if in.Gitlab != nil { 792 in, out := &in.Gitlab, &out.Gitlab 793 *out = make(map[string]GitlabEventSource, len(*in)) 794 for key, val := range *in { 795 (*out)[key] = *val.DeepCopy() 796 } 797 } 798 if in.HDFS != nil { 799 in, out := &in.HDFS, &out.HDFS 800 *out = make(map[string]HDFSEventSource, len(*in)) 801 for key, val := range *in { 802 (*out)[key] = *val.DeepCopy() 803 } 804 } 805 if in.Slack != nil { 806 in, out := &in.Slack, &out.Slack 807 *out = make(map[string]SlackEventSource, len(*in)) 808 for key, val := range *in { 809 (*out)[key] = *val.DeepCopy() 810 } 811 } 812 if in.StorageGrid != nil { 813 in, out := &in.StorageGrid, &out.StorageGrid 814 *out = make(map[string]StorageGridEventSource, len(*in)) 815 for key, val := range *in { 816 (*out)[key] = *val.DeepCopy() 817 } 818 } 819 if in.AzureEventsHub != nil { 820 in, out := &in.AzureEventsHub, &out.AzureEventsHub 821 *out = make(map[string]AzureEventsHubEventSource, len(*in)) 822 for key, val := range *in { 823 (*out)[key] = *val.DeepCopy() 824 } 825 } 826 if in.Stripe != nil { 827 in, out := &in.Stripe, &out.Stripe 828 *out = make(map[string]StripeEventSource, len(*in)) 829 for key, val := range *in { 830 (*out)[key] = *val.DeepCopy() 831 } 832 } 833 if in.Emitter != nil { 834 in, out := &in.Emitter, &out.Emitter 835 *out = make(map[string]EmitterEventSource, len(*in)) 836 for key, val := range *in { 837 (*out)[key] = *val.DeepCopy() 838 } 839 } 840 if in.Redis != nil { 841 in, out := &in.Redis, &out.Redis 842 *out = make(map[string]RedisEventSource, len(*in)) 843 for key, val := range *in { 844 (*out)[key] = *val.DeepCopy() 845 } 846 } 847 if in.NSQ != nil { 848 in, out := &in.NSQ, &out.NSQ 849 *out = make(map[string]NSQEventSource, len(*in)) 850 for key, val := range *in { 851 (*out)[key] = *val.DeepCopy() 852 } 853 } 854 if in.Pulsar != nil { 855 in, out := &in.Pulsar, &out.Pulsar 856 *out = make(map[string]PulsarEventSource, len(*in)) 857 for key, val := range *in { 858 (*out)[key] = *val.DeepCopy() 859 } 860 } 861 if in.Generic != nil { 862 in, out := &in.Generic, &out.Generic 863 *out = make(map[string]GenericEventSource, len(*in)) 864 for key, val := range *in { 865 (*out)[key] = *val.DeepCopy() 866 } 867 } 868 if in.Replicas != nil { 869 in, out := &in.Replicas, &out.Replicas 870 *out = new(int32) 871 **out = **in 872 } 873 if in.BitbucketServer != nil { 874 in, out := &in.BitbucketServer, &out.BitbucketServer 875 *out = make(map[string]BitbucketServerEventSource, len(*in)) 876 for key, val := range *in { 877 (*out)[key] = *val.DeepCopy() 878 } 879 } 880 if in.Bitbucket != nil { 881 in, out := &in.Bitbucket, &out.Bitbucket 882 *out = make(map[string]BitbucketEventSource, len(*in)) 883 for key, val := range *in { 884 (*out)[key] = *val.DeepCopy() 885 } 886 } 887 if in.RedisStream != nil { 888 in, out := &in.RedisStream, &out.RedisStream 889 *out = make(map[string]RedisStreamEventSource, len(*in)) 890 for key, val := range *in { 891 (*out)[key] = *val.DeepCopy() 892 } 893 } 894 if in.AzureServiceBus != nil { 895 in, out := &in.AzureServiceBus, &out.AzureServiceBus 896 *out = make(map[string]AzureServiceBusEventSource, len(*in)) 897 for key, val := range *in { 898 (*out)[key] = *val.DeepCopy() 899 } 900 } 901 if in.AzureQueueStorage != nil { 902 in, out := &in.AzureQueueStorage, &out.AzureQueueStorage 903 *out = make(map[string]AzureQueueStorageEventSource, len(*in)) 904 for key, val := range *in { 905 (*out)[key] = *val.DeepCopy() 906 } 907 } 908 if in.SFTP != nil { 909 in, out := &in.SFTP, &out.SFTP 910 *out = make(map[string]SFTPEventSource, len(*in)) 911 for key, val := range *in { 912 (*out)[key] = *val.DeepCopy() 913 } 914 } 915 if in.Gerrit != nil { 916 in, out := &in.Gerrit, &out.Gerrit 917 *out = make(map[string]GerritEventSource, len(*in)) 918 for key, val := range *in { 919 (*out)[key] = *val.DeepCopy() 920 } 921 } 922 return 923 } 924 925 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceSpec. 926 func (in *EventSourceSpec) DeepCopy() *EventSourceSpec { 927 if in == nil { 928 return nil 929 } 930 out := new(EventSourceSpec) 931 in.DeepCopyInto(out) 932 return out 933 } 934 935 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 936 func (in *EventSourceStatus) DeepCopyInto(out *EventSourceStatus) { 937 *out = *in 938 in.Status.DeepCopyInto(&out.Status) 939 return 940 } 941 942 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSourceStatus. 943 func (in *EventSourceStatus) DeepCopy() *EventSourceStatus { 944 if in == nil { 945 return nil 946 } 947 out := new(EventSourceStatus) 948 in.DeepCopyInto(out) 949 return out 950 } 951 952 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 953 func (in *FileEventSource) DeepCopyInto(out *FileEventSource) { 954 *out = *in 955 out.WatchPathConfig = in.WatchPathConfig 956 if in.Metadata != nil { 957 in, out := &in.Metadata, &out.Metadata 958 *out = make(map[string]string, len(*in)) 959 for key, val := range *in { 960 (*out)[key] = val 961 } 962 } 963 if in.Filter != nil { 964 in, out := &in.Filter, &out.Filter 965 *out = new(EventSourceFilter) 966 **out = **in 967 } 968 return 969 } 970 971 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileEventSource. 972 func (in *FileEventSource) DeepCopy() *FileEventSource { 973 if in == nil { 974 return nil 975 } 976 out := new(FileEventSource) 977 in.DeepCopyInto(out) 978 return out 979 } 980 981 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 982 func (in *GenericEventSource) DeepCopyInto(out *GenericEventSource) { 983 *out = *in 984 if in.Metadata != nil { 985 in, out := &in.Metadata, &out.Metadata 986 *out = make(map[string]string, len(*in)) 987 for key, val := range *in { 988 (*out)[key] = val 989 } 990 } 991 if in.AuthSecret != nil { 992 in, out := &in.AuthSecret, &out.AuthSecret 993 *out = new(v1.SecretKeySelector) 994 (*in).DeepCopyInto(*out) 995 } 996 if in.Filter != nil { 997 in, out := &in.Filter, &out.Filter 998 *out = new(EventSourceFilter) 999 **out = **in 1000 } 1001 return 1002 } 1003 1004 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericEventSource. 1005 func (in *GenericEventSource) DeepCopy() *GenericEventSource { 1006 if in == nil { 1007 return nil 1008 } 1009 out := new(GenericEventSource) 1010 in.DeepCopyInto(out) 1011 return out 1012 } 1013 1014 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1015 func (in *GerritEventSource) DeepCopyInto(out *GerritEventSource) { 1016 *out = *in 1017 if in.Webhook != nil { 1018 in, out := &in.Webhook, &out.Webhook 1019 *out = new(WebhookContext) 1020 (*in).DeepCopyInto(*out) 1021 } 1022 if in.Events != nil { 1023 in, out := &in.Events, &out.Events 1024 *out = make([]string, len(*in)) 1025 copy(*out, *in) 1026 } 1027 if in.Auth != nil { 1028 in, out := &in.Auth, &out.Auth 1029 *out = new(common.BasicAuth) 1030 (*in).DeepCopyInto(*out) 1031 } 1032 if in.Metadata != nil { 1033 in, out := &in.Metadata, &out.Metadata 1034 *out = make(map[string]string, len(*in)) 1035 for key, val := range *in { 1036 (*out)[key] = val 1037 } 1038 } 1039 if in.Projects != nil { 1040 in, out := &in.Projects, &out.Projects 1041 *out = make([]string, len(*in)) 1042 copy(*out, *in) 1043 } 1044 if in.Filter != nil { 1045 in, out := &in.Filter, &out.Filter 1046 *out = new(EventSourceFilter) 1047 **out = **in 1048 } 1049 return 1050 } 1051 1052 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GerritEventSource. 1053 func (in *GerritEventSource) DeepCopy() *GerritEventSource { 1054 if in == nil { 1055 return nil 1056 } 1057 out := new(GerritEventSource) 1058 in.DeepCopyInto(out) 1059 return out 1060 } 1061 1062 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1063 func (in *GithubAppCreds) DeepCopyInto(out *GithubAppCreds) { 1064 *out = *in 1065 if in.PrivateKey != nil { 1066 in, out := &in.PrivateKey, &out.PrivateKey 1067 *out = new(v1.SecretKeySelector) 1068 (*in).DeepCopyInto(*out) 1069 } 1070 return 1071 } 1072 1073 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubAppCreds. 1074 func (in *GithubAppCreds) DeepCopy() *GithubAppCreds { 1075 if in == nil { 1076 return nil 1077 } 1078 out := new(GithubAppCreds) 1079 in.DeepCopyInto(out) 1080 return out 1081 } 1082 1083 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1084 func (in *GithubEventSource) DeepCopyInto(out *GithubEventSource) { 1085 *out = *in 1086 if in.Webhook != nil { 1087 in, out := &in.Webhook, &out.Webhook 1088 *out = new(WebhookContext) 1089 (*in).DeepCopyInto(*out) 1090 } 1091 if in.Events != nil { 1092 in, out := &in.Events, &out.Events 1093 *out = make([]string, len(*in)) 1094 copy(*out, *in) 1095 } 1096 if in.APIToken != nil { 1097 in, out := &in.APIToken, &out.APIToken 1098 *out = new(v1.SecretKeySelector) 1099 (*in).DeepCopyInto(*out) 1100 } 1101 if in.WebhookSecret != nil { 1102 in, out := &in.WebhookSecret, &out.WebhookSecret 1103 *out = new(v1.SecretKeySelector) 1104 (*in).DeepCopyInto(*out) 1105 } 1106 if in.Metadata != nil { 1107 in, out := &in.Metadata, &out.Metadata 1108 *out = make(map[string]string, len(*in)) 1109 for key, val := range *in { 1110 (*out)[key] = val 1111 } 1112 } 1113 if in.Repositories != nil { 1114 in, out := &in.Repositories, &out.Repositories 1115 *out = make([]OwnedRepositories, len(*in)) 1116 for i := range *in { 1117 (*in)[i].DeepCopyInto(&(*out)[i]) 1118 } 1119 } 1120 if in.Organizations != nil { 1121 in, out := &in.Organizations, &out.Organizations 1122 *out = make([]string, len(*in)) 1123 copy(*out, *in) 1124 } 1125 if in.GithubApp != nil { 1126 in, out := &in.GithubApp, &out.GithubApp 1127 *out = new(GithubAppCreds) 1128 (*in).DeepCopyInto(*out) 1129 } 1130 if in.Filter != nil { 1131 in, out := &in.Filter, &out.Filter 1132 *out = new(EventSourceFilter) 1133 **out = **in 1134 } 1135 return 1136 } 1137 1138 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GithubEventSource. 1139 func (in *GithubEventSource) DeepCopy() *GithubEventSource { 1140 if in == nil { 1141 return nil 1142 } 1143 out := new(GithubEventSource) 1144 in.DeepCopyInto(out) 1145 return out 1146 } 1147 1148 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1149 func (in *GitlabEventSource) DeepCopyInto(out *GitlabEventSource) { 1150 *out = *in 1151 if in.Webhook != nil { 1152 in, out := &in.Webhook, &out.Webhook 1153 *out = new(WebhookContext) 1154 (*in).DeepCopyInto(*out) 1155 } 1156 if in.Events != nil { 1157 in, out := &in.Events, &out.Events 1158 *out = make([]string, len(*in)) 1159 copy(*out, *in) 1160 } 1161 if in.AccessToken != nil { 1162 in, out := &in.AccessToken, &out.AccessToken 1163 *out = new(v1.SecretKeySelector) 1164 (*in).DeepCopyInto(*out) 1165 } 1166 if in.Metadata != nil { 1167 in, out := &in.Metadata, &out.Metadata 1168 *out = make(map[string]string, len(*in)) 1169 for key, val := range *in { 1170 (*out)[key] = val 1171 } 1172 } 1173 if in.Projects != nil { 1174 in, out := &in.Projects, &out.Projects 1175 *out = make([]string, len(*in)) 1176 copy(*out, *in) 1177 } 1178 if in.SecretToken != nil { 1179 in, out := &in.SecretToken, &out.SecretToken 1180 *out = new(v1.SecretKeySelector) 1181 (*in).DeepCopyInto(*out) 1182 } 1183 if in.Filter != nil { 1184 in, out := &in.Filter, &out.Filter 1185 *out = new(EventSourceFilter) 1186 **out = **in 1187 } 1188 if in.Groups != nil { 1189 in, out := &in.Groups, &out.Groups 1190 *out = make([]string, len(*in)) 1191 copy(*out, *in) 1192 } 1193 return 1194 } 1195 1196 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitlabEventSource. 1197 func (in *GitlabEventSource) DeepCopy() *GitlabEventSource { 1198 if in == nil { 1199 return nil 1200 } 1201 out := new(GitlabEventSource) 1202 in.DeepCopyInto(out) 1203 return out 1204 } 1205 1206 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1207 func (in *HDFSEventSource) DeepCopyInto(out *HDFSEventSource) { 1208 *out = *in 1209 out.WatchPathConfig = in.WatchPathConfig 1210 if in.Addresses != nil { 1211 in, out := &in.Addresses, &out.Addresses 1212 *out = make([]string, len(*in)) 1213 copy(*out, *in) 1214 } 1215 if in.KrbCCacheSecret != nil { 1216 in, out := &in.KrbCCacheSecret, &out.KrbCCacheSecret 1217 *out = new(v1.SecretKeySelector) 1218 (*in).DeepCopyInto(*out) 1219 } 1220 if in.KrbKeytabSecret != nil { 1221 in, out := &in.KrbKeytabSecret, &out.KrbKeytabSecret 1222 *out = new(v1.SecretKeySelector) 1223 (*in).DeepCopyInto(*out) 1224 } 1225 if in.KrbConfigConfigMap != nil { 1226 in, out := &in.KrbConfigConfigMap, &out.KrbConfigConfigMap 1227 *out = new(v1.ConfigMapKeySelector) 1228 (*in).DeepCopyInto(*out) 1229 } 1230 if in.Metadata != nil { 1231 in, out := &in.Metadata, &out.Metadata 1232 *out = make(map[string]string, len(*in)) 1233 for key, val := range *in { 1234 (*out)[key] = val 1235 } 1236 } 1237 if in.Filter != nil { 1238 in, out := &in.Filter, &out.Filter 1239 *out = new(EventSourceFilter) 1240 **out = **in 1241 } 1242 return 1243 } 1244 1245 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HDFSEventSource. 1246 func (in *HDFSEventSource) DeepCopy() *HDFSEventSource { 1247 if in == nil { 1248 return nil 1249 } 1250 out := new(HDFSEventSource) 1251 in.DeepCopyInto(out) 1252 return out 1253 } 1254 1255 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1256 func (in *KafkaConsumerGroup) DeepCopyInto(out *KafkaConsumerGroup) { 1257 *out = *in 1258 return 1259 } 1260 1261 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaConsumerGroup. 1262 func (in *KafkaConsumerGroup) DeepCopy() *KafkaConsumerGroup { 1263 if in == nil { 1264 return nil 1265 } 1266 out := new(KafkaConsumerGroup) 1267 in.DeepCopyInto(out) 1268 return out 1269 } 1270 1271 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1272 func (in *KafkaEventSource) DeepCopyInto(out *KafkaEventSource) { 1273 *out = *in 1274 if in.ConnectionBackoff != nil { 1275 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 1276 *out = new(common.Backoff) 1277 (*in).DeepCopyInto(*out) 1278 } 1279 if in.TLS != nil { 1280 in, out := &in.TLS, &out.TLS 1281 *out = new(common.TLSConfig) 1282 (*in).DeepCopyInto(*out) 1283 } 1284 if in.Metadata != nil { 1285 in, out := &in.Metadata, &out.Metadata 1286 *out = make(map[string]string, len(*in)) 1287 for key, val := range *in { 1288 (*out)[key] = val 1289 } 1290 } 1291 if in.ConsumerGroup != nil { 1292 in, out := &in.ConsumerGroup, &out.ConsumerGroup 1293 *out = new(KafkaConsumerGroup) 1294 **out = **in 1295 } 1296 if in.SASL != nil { 1297 in, out := &in.SASL, &out.SASL 1298 *out = new(common.SASLConfig) 1299 (*in).DeepCopyInto(*out) 1300 } 1301 if in.Filter != nil { 1302 in, out := &in.Filter, &out.Filter 1303 *out = new(EventSourceFilter) 1304 **out = **in 1305 } 1306 return 1307 } 1308 1309 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaEventSource. 1310 func (in *KafkaEventSource) DeepCopy() *KafkaEventSource { 1311 if in == nil { 1312 return nil 1313 } 1314 out := new(KafkaEventSource) 1315 in.DeepCopyInto(out) 1316 return out 1317 } 1318 1319 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1320 func (in *MQTTEventSource) DeepCopyInto(out *MQTTEventSource) { 1321 *out = *in 1322 if in.ConnectionBackoff != nil { 1323 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 1324 *out = new(common.Backoff) 1325 (*in).DeepCopyInto(*out) 1326 } 1327 if in.TLS != nil { 1328 in, out := &in.TLS, &out.TLS 1329 *out = new(common.TLSConfig) 1330 (*in).DeepCopyInto(*out) 1331 } 1332 if in.Metadata != nil { 1333 in, out := &in.Metadata, &out.Metadata 1334 *out = make(map[string]string, len(*in)) 1335 for key, val := range *in { 1336 (*out)[key] = val 1337 } 1338 } 1339 if in.Filter != nil { 1340 in, out := &in.Filter, &out.Filter 1341 *out = new(EventSourceFilter) 1342 **out = **in 1343 } 1344 if in.Auth != nil { 1345 in, out := &in.Auth, &out.Auth 1346 *out = new(common.BasicAuth) 1347 (*in).DeepCopyInto(*out) 1348 } 1349 return 1350 } 1351 1352 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MQTTEventSource. 1353 func (in *MQTTEventSource) DeepCopy() *MQTTEventSource { 1354 if in == nil { 1355 return nil 1356 } 1357 out := new(MQTTEventSource) 1358 in.DeepCopyInto(out) 1359 return out 1360 } 1361 1362 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1363 func (in *NATSAuth) DeepCopyInto(out *NATSAuth) { 1364 *out = *in 1365 if in.Basic != nil { 1366 in, out := &in.Basic, &out.Basic 1367 *out = new(common.BasicAuth) 1368 (*in).DeepCopyInto(*out) 1369 } 1370 if in.Token != nil { 1371 in, out := &in.Token, &out.Token 1372 *out = new(v1.SecretKeySelector) 1373 (*in).DeepCopyInto(*out) 1374 } 1375 if in.NKey != nil { 1376 in, out := &in.NKey, &out.NKey 1377 *out = new(v1.SecretKeySelector) 1378 (*in).DeepCopyInto(*out) 1379 } 1380 if in.Credential != nil { 1381 in, out := &in.Credential, &out.Credential 1382 *out = new(v1.SecretKeySelector) 1383 (*in).DeepCopyInto(*out) 1384 } 1385 return 1386 } 1387 1388 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSAuth. 1389 func (in *NATSAuth) DeepCopy() *NATSAuth { 1390 if in == nil { 1391 return nil 1392 } 1393 out := new(NATSAuth) 1394 in.DeepCopyInto(out) 1395 return out 1396 } 1397 1398 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1399 func (in *NATSEventsSource) DeepCopyInto(out *NATSEventsSource) { 1400 *out = *in 1401 if in.ConnectionBackoff != nil { 1402 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 1403 *out = new(common.Backoff) 1404 (*in).DeepCopyInto(*out) 1405 } 1406 if in.TLS != nil { 1407 in, out := &in.TLS, &out.TLS 1408 *out = new(common.TLSConfig) 1409 (*in).DeepCopyInto(*out) 1410 } 1411 if in.Metadata != nil { 1412 in, out := &in.Metadata, &out.Metadata 1413 *out = make(map[string]string, len(*in)) 1414 for key, val := range *in { 1415 (*out)[key] = val 1416 } 1417 } 1418 if in.Auth != nil { 1419 in, out := &in.Auth, &out.Auth 1420 *out = new(NATSAuth) 1421 (*in).DeepCopyInto(*out) 1422 } 1423 if in.Filter != nil { 1424 in, out := &in.Filter, &out.Filter 1425 *out = new(EventSourceFilter) 1426 **out = **in 1427 } 1428 return 1429 } 1430 1431 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSEventsSource. 1432 func (in *NATSEventsSource) DeepCopy() *NATSEventsSource { 1433 if in == nil { 1434 return nil 1435 } 1436 out := new(NATSEventsSource) 1437 in.DeepCopyInto(out) 1438 return out 1439 } 1440 1441 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1442 func (in *NSQEventSource) DeepCopyInto(out *NSQEventSource) { 1443 *out = *in 1444 if in.ConnectionBackoff != nil { 1445 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 1446 *out = new(common.Backoff) 1447 (*in).DeepCopyInto(*out) 1448 } 1449 if in.TLS != nil { 1450 in, out := &in.TLS, &out.TLS 1451 *out = new(common.TLSConfig) 1452 (*in).DeepCopyInto(*out) 1453 } 1454 if in.Metadata != nil { 1455 in, out := &in.Metadata, &out.Metadata 1456 *out = make(map[string]string, len(*in)) 1457 for key, val := range *in { 1458 (*out)[key] = val 1459 } 1460 } 1461 if in.Filter != nil { 1462 in, out := &in.Filter, &out.Filter 1463 *out = new(EventSourceFilter) 1464 **out = **in 1465 } 1466 return 1467 } 1468 1469 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NSQEventSource. 1470 func (in *NSQEventSource) DeepCopy() *NSQEventSource { 1471 if in == nil { 1472 return nil 1473 } 1474 out := new(NSQEventSource) 1475 in.DeepCopyInto(out) 1476 return out 1477 } 1478 1479 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1480 func (in *OwnedRepositories) DeepCopyInto(out *OwnedRepositories) { 1481 *out = *in 1482 if in.Names != nil { 1483 in, out := &in.Names, &out.Names 1484 *out = make([]string, len(*in)) 1485 copy(*out, *in) 1486 } 1487 return 1488 } 1489 1490 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnedRepositories. 1491 func (in *OwnedRepositories) DeepCopy() *OwnedRepositories { 1492 if in == nil { 1493 return nil 1494 } 1495 out := new(OwnedRepositories) 1496 in.DeepCopyInto(out) 1497 return out 1498 } 1499 1500 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1501 func (in *PubSubEventSource) DeepCopyInto(out *PubSubEventSource) { 1502 *out = *in 1503 if in.CredentialSecret != nil { 1504 in, out := &in.CredentialSecret, &out.CredentialSecret 1505 *out = new(v1.SecretKeySelector) 1506 (*in).DeepCopyInto(*out) 1507 } 1508 if in.Metadata != nil { 1509 in, out := &in.Metadata, &out.Metadata 1510 *out = make(map[string]string, len(*in)) 1511 for key, val := range *in { 1512 (*out)[key] = val 1513 } 1514 } 1515 if in.Filter != nil { 1516 in, out := &in.Filter, &out.Filter 1517 *out = new(EventSourceFilter) 1518 **out = **in 1519 } 1520 return 1521 } 1522 1523 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubSubEventSource. 1524 func (in *PubSubEventSource) DeepCopy() *PubSubEventSource { 1525 if in == nil { 1526 return nil 1527 } 1528 out := new(PubSubEventSource) 1529 in.DeepCopyInto(out) 1530 return out 1531 } 1532 1533 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1534 func (in *PulsarEventSource) DeepCopyInto(out *PulsarEventSource) { 1535 *out = *in 1536 if in.Topics != nil { 1537 in, out := &in.Topics, &out.Topics 1538 *out = make([]string, len(*in)) 1539 copy(*out, *in) 1540 } 1541 if in.TLSTrustCertsSecret != nil { 1542 in, out := &in.TLSTrustCertsSecret, &out.TLSTrustCertsSecret 1543 *out = new(v1.SecretKeySelector) 1544 (*in).DeepCopyInto(*out) 1545 } 1546 if in.TLS != nil { 1547 in, out := &in.TLS, &out.TLS 1548 *out = new(common.TLSConfig) 1549 (*in).DeepCopyInto(*out) 1550 } 1551 if in.ConnectionBackoff != nil { 1552 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 1553 *out = new(common.Backoff) 1554 (*in).DeepCopyInto(*out) 1555 } 1556 if in.Metadata != nil { 1557 in, out := &in.Metadata, &out.Metadata 1558 *out = make(map[string]string, len(*in)) 1559 for key, val := range *in { 1560 (*out)[key] = val 1561 } 1562 } 1563 if in.AuthTokenSecret != nil { 1564 in, out := &in.AuthTokenSecret, &out.AuthTokenSecret 1565 *out = new(v1.SecretKeySelector) 1566 (*in).DeepCopyInto(*out) 1567 } 1568 if in.Filter != nil { 1569 in, out := &in.Filter, &out.Filter 1570 *out = new(EventSourceFilter) 1571 **out = **in 1572 } 1573 if in.AuthAthenzParams != nil { 1574 in, out := &in.AuthAthenzParams, &out.AuthAthenzParams 1575 *out = make(map[string]string, len(*in)) 1576 for key, val := range *in { 1577 (*out)[key] = val 1578 } 1579 } 1580 if in.AuthAthenzSecret != nil { 1581 in, out := &in.AuthAthenzSecret, &out.AuthAthenzSecret 1582 *out = new(v1.SecretKeySelector) 1583 (*in).DeepCopyInto(*out) 1584 } 1585 return 1586 } 1587 1588 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PulsarEventSource. 1589 func (in *PulsarEventSource) DeepCopy() *PulsarEventSource { 1590 if in == nil { 1591 return nil 1592 } 1593 out := new(PulsarEventSource) 1594 in.DeepCopyInto(out) 1595 return out 1596 } 1597 1598 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1599 func (in *RedisEventSource) DeepCopyInto(out *RedisEventSource) { 1600 *out = *in 1601 if in.Password != nil { 1602 in, out := &in.Password, &out.Password 1603 *out = new(v1.SecretKeySelector) 1604 (*in).DeepCopyInto(*out) 1605 } 1606 if in.Channels != nil { 1607 in, out := &in.Channels, &out.Channels 1608 *out = make([]string, len(*in)) 1609 copy(*out, *in) 1610 } 1611 if in.TLS != nil { 1612 in, out := &in.TLS, &out.TLS 1613 *out = new(common.TLSConfig) 1614 (*in).DeepCopyInto(*out) 1615 } 1616 if in.Metadata != nil { 1617 in, out := &in.Metadata, &out.Metadata 1618 *out = make(map[string]string, len(*in)) 1619 for key, val := range *in { 1620 (*out)[key] = val 1621 } 1622 } 1623 if in.Filter != nil { 1624 in, out := &in.Filter, &out.Filter 1625 *out = new(EventSourceFilter) 1626 **out = **in 1627 } 1628 return 1629 } 1630 1631 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisEventSource. 1632 func (in *RedisEventSource) DeepCopy() *RedisEventSource { 1633 if in == nil { 1634 return nil 1635 } 1636 out := new(RedisEventSource) 1637 in.DeepCopyInto(out) 1638 return out 1639 } 1640 1641 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1642 func (in *RedisStreamEventSource) DeepCopyInto(out *RedisStreamEventSource) { 1643 *out = *in 1644 if in.Password != nil { 1645 in, out := &in.Password, &out.Password 1646 *out = new(v1.SecretKeySelector) 1647 (*in).DeepCopyInto(*out) 1648 } 1649 if in.Streams != nil { 1650 in, out := &in.Streams, &out.Streams 1651 *out = make([]string, len(*in)) 1652 copy(*out, *in) 1653 } 1654 if in.TLS != nil { 1655 in, out := &in.TLS, &out.TLS 1656 *out = new(common.TLSConfig) 1657 (*in).DeepCopyInto(*out) 1658 } 1659 if in.Metadata != nil { 1660 in, out := &in.Metadata, &out.Metadata 1661 *out = make(map[string]string, len(*in)) 1662 for key, val := range *in { 1663 (*out)[key] = val 1664 } 1665 } 1666 if in.Filter != nil { 1667 in, out := &in.Filter, &out.Filter 1668 *out = new(EventSourceFilter) 1669 **out = **in 1670 } 1671 return 1672 } 1673 1674 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisStreamEventSource. 1675 func (in *RedisStreamEventSource) DeepCopy() *RedisStreamEventSource { 1676 if in == nil { 1677 return nil 1678 } 1679 out := new(RedisStreamEventSource) 1680 in.DeepCopyInto(out) 1681 return out 1682 } 1683 1684 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1685 func (in *ResourceEventSource) DeepCopyInto(out *ResourceEventSource) { 1686 *out = *in 1687 if in.Filter != nil { 1688 in, out := &in.Filter, &out.Filter 1689 *out = new(ResourceFilter) 1690 (*in).DeepCopyInto(*out) 1691 } 1692 out.GroupVersionResource = in.GroupVersionResource 1693 if in.EventTypes != nil { 1694 in, out := &in.EventTypes, &out.EventTypes 1695 *out = make([]ResourceEventType, len(*in)) 1696 copy(*out, *in) 1697 } 1698 if in.Metadata != nil { 1699 in, out := &in.Metadata, &out.Metadata 1700 *out = make(map[string]string, len(*in)) 1701 for key, val := range *in { 1702 (*out)[key] = val 1703 } 1704 } 1705 return 1706 } 1707 1708 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceEventSource. 1709 func (in *ResourceEventSource) DeepCopy() *ResourceEventSource { 1710 if in == nil { 1711 return nil 1712 } 1713 out := new(ResourceEventSource) 1714 in.DeepCopyInto(out) 1715 return out 1716 } 1717 1718 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1719 func (in *ResourceFilter) DeepCopyInto(out *ResourceFilter) { 1720 *out = *in 1721 if in.Labels != nil { 1722 in, out := &in.Labels, &out.Labels 1723 *out = make([]Selector, len(*in)) 1724 copy(*out, *in) 1725 } 1726 if in.Fields != nil { 1727 in, out := &in.Fields, &out.Fields 1728 *out = make([]Selector, len(*in)) 1729 copy(*out, *in) 1730 } 1731 in.CreatedBy.DeepCopyInto(&out.CreatedBy) 1732 return 1733 } 1734 1735 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilter. 1736 func (in *ResourceFilter) DeepCopy() *ResourceFilter { 1737 if in == nil { 1738 return nil 1739 } 1740 out := new(ResourceFilter) 1741 in.DeepCopyInto(out) 1742 return out 1743 } 1744 1745 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1746 func (in *SFTPEventSource) DeepCopyInto(out *SFTPEventSource) { 1747 *out = *in 1748 out.WatchPathConfig = in.WatchPathConfig 1749 if in.Username != nil { 1750 in, out := &in.Username, &out.Username 1751 *out = new(v1.SecretKeySelector) 1752 (*in).DeepCopyInto(*out) 1753 } 1754 if in.Password != nil { 1755 in, out := &in.Password, &out.Password 1756 *out = new(v1.SecretKeySelector) 1757 (*in).DeepCopyInto(*out) 1758 } 1759 if in.SSHKeySecret != nil { 1760 in, out := &in.SSHKeySecret, &out.SSHKeySecret 1761 *out = new(v1.SecretKeySelector) 1762 (*in).DeepCopyInto(*out) 1763 } 1764 if in.Address != nil { 1765 in, out := &in.Address, &out.Address 1766 *out = new(v1.SecretKeySelector) 1767 (*in).DeepCopyInto(*out) 1768 } 1769 if in.Metadata != nil { 1770 in, out := &in.Metadata, &out.Metadata 1771 *out = make(map[string]string, len(*in)) 1772 for key, val := range *in { 1773 (*out)[key] = val 1774 } 1775 } 1776 if in.Filter != nil { 1777 in, out := &in.Filter, &out.Filter 1778 *out = new(EventSourceFilter) 1779 **out = **in 1780 } 1781 return 1782 } 1783 1784 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SFTPEventSource. 1785 func (in *SFTPEventSource) DeepCopy() *SFTPEventSource { 1786 if in == nil { 1787 return nil 1788 } 1789 out := new(SFTPEventSource) 1790 in.DeepCopyInto(out) 1791 return out 1792 } 1793 1794 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1795 func (in *SNSEventSource) DeepCopyInto(out *SNSEventSource) { 1796 *out = *in 1797 if in.Webhook != nil { 1798 in, out := &in.Webhook, &out.Webhook 1799 *out = new(WebhookContext) 1800 (*in).DeepCopyInto(*out) 1801 } 1802 if in.AccessKey != nil { 1803 in, out := &in.AccessKey, &out.AccessKey 1804 *out = new(v1.SecretKeySelector) 1805 (*in).DeepCopyInto(*out) 1806 } 1807 if in.SecretKey != nil { 1808 in, out := &in.SecretKey, &out.SecretKey 1809 *out = new(v1.SecretKeySelector) 1810 (*in).DeepCopyInto(*out) 1811 } 1812 if in.Metadata != nil { 1813 in, out := &in.Metadata, &out.Metadata 1814 *out = make(map[string]string, len(*in)) 1815 for key, val := range *in { 1816 (*out)[key] = val 1817 } 1818 } 1819 if in.Filter != nil { 1820 in, out := &in.Filter, &out.Filter 1821 *out = new(EventSourceFilter) 1822 **out = **in 1823 } 1824 return 1825 } 1826 1827 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SNSEventSource. 1828 func (in *SNSEventSource) DeepCopy() *SNSEventSource { 1829 if in == nil { 1830 return nil 1831 } 1832 out := new(SNSEventSource) 1833 in.DeepCopyInto(out) 1834 return out 1835 } 1836 1837 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1838 func (in *SQSEventSource) DeepCopyInto(out *SQSEventSource) { 1839 *out = *in 1840 if in.AccessKey != nil { 1841 in, out := &in.AccessKey, &out.AccessKey 1842 *out = new(v1.SecretKeySelector) 1843 (*in).DeepCopyInto(*out) 1844 } 1845 if in.SecretKey != nil { 1846 in, out := &in.SecretKey, &out.SecretKey 1847 *out = new(v1.SecretKeySelector) 1848 (*in).DeepCopyInto(*out) 1849 } 1850 if in.Metadata != nil { 1851 in, out := &in.Metadata, &out.Metadata 1852 *out = make(map[string]string, len(*in)) 1853 for key, val := range *in { 1854 (*out)[key] = val 1855 } 1856 } 1857 if in.Filter != nil { 1858 in, out := &in.Filter, &out.Filter 1859 *out = new(EventSourceFilter) 1860 **out = **in 1861 } 1862 if in.SessionToken != nil { 1863 in, out := &in.SessionToken, &out.SessionToken 1864 *out = new(v1.SecretKeySelector) 1865 (*in).DeepCopyInto(*out) 1866 } 1867 return 1868 } 1869 1870 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SQSEventSource. 1871 func (in *SQSEventSource) DeepCopy() *SQSEventSource { 1872 if in == nil { 1873 return nil 1874 } 1875 out := new(SQSEventSource) 1876 in.DeepCopyInto(out) 1877 return out 1878 } 1879 1880 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1881 func (in *Selector) DeepCopyInto(out *Selector) { 1882 *out = *in 1883 return 1884 } 1885 1886 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Selector. 1887 func (in *Selector) DeepCopy() *Selector { 1888 if in == nil { 1889 return nil 1890 } 1891 out := new(Selector) 1892 in.DeepCopyInto(out) 1893 return out 1894 } 1895 1896 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1897 func (in *Service) DeepCopyInto(out *Service) { 1898 *out = *in 1899 if in.Ports != nil { 1900 in, out := &in.Ports, &out.Ports 1901 *out = make([]v1.ServicePort, len(*in)) 1902 for i := range *in { 1903 (*in)[i].DeepCopyInto(&(*out)[i]) 1904 } 1905 } 1906 return 1907 } 1908 1909 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. 1910 func (in *Service) DeepCopy() *Service { 1911 if in == nil { 1912 return nil 1913 } 1914 out := new(Service) 1915 in.DeepCopyInto(out) 1916 return out 1917 } 1918 1919 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1920 func (in *SlackEventSource) DeepCopyInto(out *SlackEventSource) { 1921 *out = *in 1922 if in.SigningSecret != nil { 1923 in, out := &in.SigningSecret, &out.SigningSecret 1924 *out = new(v1.SecretKeySelector) 1925 (*in).DeepCopyInto(*out) 1926 } 1927 if in.Token != nil { 1928 in, out := &in.Token, &out.Token 1929 *out = new(v1.SecretKeySelector) 1930 (*in).DeepCopyInto(*out) 1931 } 1932 if in.Webhook != nil { 1933 in, out := &in.Webhook, &out.Webhook 1934 *out = new(WebhookContext) 1935 (*in).DeepCopyInto(*out) 1936 } 1937 if in.Metadata != nil { 1938 in, out := &in.Metadata, &out.Metadata 1939 *out = make(map[string]string, len(*in)) 1940 for key, val := range *in { 1941 (*out)[key] = val 1942 } 1943 } 1944 if in.Filter != nil { 1945 in, out := &in.Filter, &out.Filter 1946 *out = new(EventSourceFilter) 1947 **out = **in 1948 } 1949 return 1950 } 1951 1952 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackEventSource. 1953 func (in *SlackEventSource) DeepCopy() *SlackEventSource { 1954 if in == nil { 1955 return nil 1956 } 1957 out := new(SlackEventSource) 1958 in.DeepCopyInto(out) 1959 return out 1960 } 1961 1962 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1963 func (in *StorageGridEventSource) DeepCopyInto(out *StorageGridEventSource) { 1964 *out = *in 1965 if in.Webhook != nil { 1966 in, out := &in.Webhook, &out.Webhook 1967 *out = new(WebhookContext) 1968 (*in).DeepCopyInto(*out) 1969 } 1970 if in.Events != nil { 1971 in, out := &in.Events, &out.Events 1972 *out = make([]string, len(*in)) 1973 copy(*out, *in) 1974 } 1975 if in.Filter != nil { 1976 in, out := &in.Filter, &out.Filter 1977 *out = new(StorageGridFilter) 1978 **out = **in 1979 } 1980 if in.AuthToken != nil { 1981 in, out := &in.AuthToken, &out.AuthToken 1982 *out = new(v1.SecretKeySelector) 1983 (*in).DeepCopyInto(*out) 1984 } 1985 if in.Metadata != nil { 1986 in, out := &in.Metadata, &out.Metadata 1987 *out = make(map[string]string, len(*in)) 1988 for key, val := range *in { 1989 (*out)[key] = val 1990 } 1991 } 1992 return 1993 } 1994 1995 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageGridEventSource. 1996 func (in *StorageGridEventSource) DeepCopy() *StorageGridEventSource { 1997 if in == nil { 1998 return nil 1999 } 2000 out := new(StorageGridEventSource) 2001 in.DeepCopyInto(out) 2002 return out 2003 } 2004 2005 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2006 func (in *StorageGridFilter) DeepCopyInto(out *StorageGridFilter) { 2007 *out = *in 2008 return 2009 } 2010 2011 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageGridFilter. 2012 func (in *StorageGridFilter) DeepCopy() *StorageGridFilter { 2013 if in == nil { 2014 return nil 2015 } 2016 out := new(StorageGridFilter) 2017 in.DeepCopyInto(out) 2018 return out 2019 } 2020 2021 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2022 func (in *StripeEventSource) DeepCopyInto(out *StripeEventSource) { 2023 *out = *in 2024 if in.Webhook != nil { 2025 in, out := &in.Webhook, &out.Webhook 2026 *out = new(WebhookContext) 2027 (*in).DeepCopyInto(*out) 2028 } 2029 if in.APIKey != nil { 2030 in, out := &in.APIKey, &out.APIKey 2031 *out = new(v1.SecretKeySelector) 2032 (*in).DeepCopyInto(*out) 2033 } 2034 if in.EventFilter != nil { 2035 in, out := &in.EventFilter, &out.EventFilter 2036 *out = make([]string, len(*in)) 2037 copy(*out, *in) 2038 } 2039 if in.Metadata != nil { 2040 in, out := &in.Metadata, &out.Metadata 2041 *out = make(map[string]string, len(*in)) 2042 for key, val := range *in { 2043 (*out)[key] = val 2044 } 2045 } 2046 return 2047 } 2048 2049 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StripeEventSource. 2050 func (in *StripeEventSource) DeepCopy() *StripeEventSource { 2051 if in == nil { 2052 return nil 2053 } 2054 out := new(StripeEventSource) 2055 in.DeepCopyInto(out) 2056 return out 2057 } 2058 2059 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2060 func (in *Template) DeepCopyInto(out *Template) { 2061 *out = *in 2062 if in.Metadata != nil { 2063 in, out := &in.Metadata, &out.Metadata 2064 *out = new(common.Metadata) 2065 (*in).DeepCopyInto(*out) 2066 } 2067 if in.Container != nil { 2068 in, out := &in.Container, &out.Container 2069 *out = new(v1.Container) 2070 (*in).DeepCopyInto(*out) 2071 } 2072 if in.Volumes != nil { 2073 in, out := &in.Volumes, &out.Volumes 2074 *out = make([]v1.Volume, len(*in)) 2075 for i := range *in { 2076 (*in)[i].DeepCopyInto(&(*out)[i]) 2077 } 2078 } 2079 if in.SecurityContext != nil { 2080 in, out := &in.SecurityContext, &out.SecurityContext 2081 *out = new(v1.PodSecurityContext) 2082 (*in).DeepCopyInto(*out) 2083 } 2084 if in.Affinity != nil { 2085 in, out := &in.Affinity, &out.Affinity 2086 *out = new(v1.Affinity) 2087 (*in).DeepCopyInto(*out) 2088 } 2089 if in.Tolerations != nil { 2090 in, out := &in.Tolerations, &out.Tolerations 2091 *out = make([]v1.Toleration, len(*in)) 2092 for i := range *in { 2093 (*in)[i].DeepCopyInto(&(*out)[i]) 2094 } 2095 } 2096 if in.NodeSelector != nil { 2097 in, out := &in.NodeSelector, &out.NodeSelector 2098 *out = make(map[string]string, len(*in)) 2099 for key, val := range *in { 2100 (*out)[key] = val 2101 } 2102 } 2103 if in.ImagePullSecrets != nil { 2104 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets 2105 *out = make([]v1.LocalObjectReference, len(*in)) 2106 copy(*out, *in) 2107 } 2108 if in.Priority != nil { 2109 in, out := &in.Priority, &out.Priority 2110 *out = new(int32) 2111 **out = **in 2112 } 2113 return 2114 } 2115 2116 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template. 2117 func (in *Template) DeepCopy() *Template { 2118 if in == nil { 2119 return nil 2120 } 2121 out := new(Template) 2122 in.DeepCopyInto(out) 2123 return out 2124 } 2125 2126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2127 func (in *WatchPathConfig) DeepCopyInto(out *WatchPathConfig) { 2128 *out = *in 2129 return 2130 } 2131 2132 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchPathConfig. 2133 func (in *WatchPathConfig) DeepCopy() *WatchPathConfig { 2134 if in == nil { 2135 return nil 2136 } 2137 out := new(WatchPathConfig) 2138 in.DeepCopyInto(out) 2139 return out 2140 } 2141 2142 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2143 func (in *WebhookContext) DeepCopyInto(out *WebhookContext) { 2144 *out = *in 2145 if in.ServerCertSecret != nil { 2146 in, out := &in.ServerCertSecret, &out.ServerCertSecret 2147 *out = new(v1.SecretKeySelector) 2148 (*in).DeepCopyInto(*out) 2149 } 2150 if in.ServerKeySecret != nil { 2151 in, out := &in.ServerKeySecret, &out.ServerKeySecret 2152 *out = new(v1.SecretKeySelector) 2153 (*in).DeepCopyInto(*out) 2154 } 2155 if in.Metadata != nil { 2156 in, out := &in.Metadata, &out.Metadata 2157 *out = make(map[string]string, len(*in)) 2158 for key, val := range *in { 2159 (*out)[key] = val 2160 } 2161 } 2162 if in.AuthSecret != nil { 2163 in, out := &in.AuthSecret, &out.AuthSecret 2164 *out = new(v1.SecretKeySelector) 2165 (*in).DeepCopyInto(*out) 2166 } 2167 if in.MaxPayloadSize != nil { 2168 in, out := &in.MaxPayloadSize, &out.MaxPayloadSize 2169 *out = new(int64) 2170 **out = **in 2171 } 2172 return 2173 } 2174 2175 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookContext. 2176 func (in *WebhookContext) DeepCopy() *WebhookContext { 2177 if in == nil { 2178 return nil 2179 } 2180 out := new(WebhookContext) 2181 in.DeepCopyInto(out) 2182 return out 2183 } 2184 2185 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2186 func (in *WebhookEventSource) DeepCopyInto(out *WebhookEventSource) { 2187 *out = *in 2188 in.WebhookContext.DeepCopyInto(&out.WebhookContext) 2189 if in.Filter != nil { 2190 in, out := &in.Filter, &out.Filter 2191 *out = new(EventSourceFilter) 2192 **out = **in 2193 } 2194 return 2195 } 2196 2197 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookEventSource. 2198 func (in *WebhookEventSource) DeepCopy() *WebhookEventSource { 2199 if in == nil { 2200 return nil 2201 } 2202 out := new(WebhookEventSource) 2203 in.DeepCopyInto(out) 2204 return out 2205 }