github.com/argoproj/argo-events@v1.9.1/pkg/apis/sensor/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 *AWSLambdaTrigger) DeepCopyInto(out *AWSLambdaTrigger) { 32 *out = *in 33 if in.AccessKey != nil { 34 in, out := &in.AccessKey, &out.AccessKey 35 *out = new(v1.SecretKeySelector) 36 (*in).DeepCopyInto(*out) 37 } 38 if in.SecretKey != nil { 39 in, out := &in.SecretKey, &out.SecretKey 40 *out = new(v1.SecretKeySelector) 41 (*in).DeepCopyInto(*out) 42 } 43 if in.Payload != nil { 44 in, out := &in.Payload, &out.Payload 45 *out = make([]TriggerParameter, len(*in)) 46 for i := range *in { 47 (*in)[i].DeepCopyInto(&(*out)[i]) 48 } 49 } 50 if in.Parameters != nil { 51 in, out := &in.Parameters, &out.Parameters 52 *out = make([]TriggerParameter, len(*in)) 53 for i := range *in { 54 (*in)[i].DeepCopyInto(&(*out)[i]) 55 } 56 } 57 if in.InvocationType != nil { 58 in, out := &in.InvocationType, &out.InvocationType 59 *out = new(string) 60 **out = **in 61 } 62 return 63 } 64 65 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSLambdaTrigger. 66 func (in *AWSLambdaTrigger) DeepCopy() *AWSLambdaTrigger { 67 if in == nil { 68 return nil 69 } 70 out := new(AWSLambdaTrigger) 71 in.DeepCopyInto(out) 72 return out 73 } 74 75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 76 func (in *ArgoWorkflowTrigger) DeepCopyInto(out *ArgoWorkflowTrigger) { 77 *out = *in 78 if in.Source != nil { 79 in, out := &in.Source, &out.Source 80 *out = new(ArtifactLocation) 81 (*in).DeepCopyInto(*out) 82 } 83 if in.Parameters != nil { 84 in, out := &in.Parameters, &out.Parameters 85 *out = make([]TriggerParameter, len(*in)) 86 for i := range *in { 87 (*in)[i].DeepCopyInto(&(*out)[i]) 88 } 89 } 90 if in.Args != nil { 91 in, out := &in.Args, &out.Args 92 *out = make([]string, len(*in)) 93 copy(*out, *in) 94 } 95 return 96 } 97 98 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoWorkflowTrigger. 99 func (in *ArgoWorkflowTrigger) DeepCopy() *ArgoWorkflowTrigger { 100 if in == nil { 101 return nil 102 } 103 out := new(ArgoWorkflowTrigger) 104 in.DeepCopyInto(out) 105 return out 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *ArtifactLocation) DeepCopyInto(out *ArtifactLocation) { 110 *out = *in 111 if in.S3 != nil { 112 in, out := &in.S3, &out.S3 113 *out = new(common.S3Artifact) 114 (*in).DeepCopyInto(*out) 115 } 116 if in.Inline != nil { 117 in, out := &in.Inline, &out.Inline 118 *out = new(string) 119 **out = **in 120 } 121 if in.File != nil { 122 in, out := &in.File, &out.File 123 *out = new(FileArtifact) 124 **out = **in 125 } 126 if in.URL != nil { 127 in, out := &in.URL, &out.URL 128 *out = new(URLArtifact) 129 **out = **in 130 } 131 if in.Configmap != nil { 132 in, out := &in.Configmap, &out.Configmap 133 *out = new(v1.ConfigMapKeySelector) 134 (*in).DeepCopyInto(*out) 135 } 136 if in.Git != nil { 137 in, out := &in.Git, &out.Git 138 *out = new(GitArtifact) 139 (*in).DeepCopyInto(*out) 140 } 141 if in.Resource != nil { 142 in, out := &in.Resource, &out.Resource 143 *out = new(common.Resource) 144 (*in).DeepCopyInto(*out) 145 } 146 return 147 } 148 149 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactLocation. 150 func (in *ArtifactLocation) DeepCopy() *ArtifactLocation { 151 if in == nil { 152 return nil 153 } 154 out := new(ArtifactLocation) 155 in.DeepCopyInto(out) 156 return out 157 } 158 159 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 160 func (in *AzureEventHubsTrigger) DeepCopyInto(out *AzureEventHubsTrigger) { 161 *out = *in 162 if in.SharedAccessKeyName != nil { 163 in, out := &in.SharedAccessKeyName, &out.SharedAccessKeyName 164 *out = new(v1.SecretKeySelector) 165 (*in).DeepCopyInto(*out) 166 } 167 if in.SharedAccessKey != nil { 168 in, out := &in.SharedAccessKey, &out.SharedAccessKey 169 *out = new(v1.SecretKeySelector) 170 (*in).DeepCopyInto(*out) 171 } 172 if in.Payload != nil { 173 in, out := &in.Payload, &out.Payload 174 *out = make([]TriggerParameter, len(*in)) 175 for i := range *in { 176 (*in)[i].DeepCopyInto(&(*out)[i]) 177 } 178 } 179 if in.Parameters != nil { 180 in, out := &in.Parameters, &out.Parameters 181 *out = make([]TriggerParameter, len(*in)) 182 for i := range *in { 183 (*in)[i].DeepCopyInto(&(*out)[i]) 184 } 185 } 186 return 187 } 188 189 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureEventHubsTrigger. 190 func (in *AzureEventHubsTrigger) DeepCopy() *AzureEventHubsTrigger { 191 if in == nil { 192 return nil 193 } 194 out := new(AzureEventHubsTrigger) 195 in.DeepCopyInto(out) 196 return out 197 } 198 199 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 200 func (in *AzureServiceBusTrigger) DeepCopyInto(out *AzureServiceBusTrigger) { 201 *out = *in 202 if in.ConnectionString != nil { 203 in, out := &in.ConnectionString, &out.ConnectionString 204 *out = new(v1.SecretKeySelector) 205 (*in).DeepCopyInto(*out) 206 } 207 if in.TLS != nil { 208 in, out := &in.TLS, &out.TLS 209 *out = new(common.TLSConfig) 210 (*in).DeepCopyInto(*out) 211 } 212 if in.Payload != nil { 213 in, out := &in.Payload, &out.Payload 214 *out = make([]TriggerParameter, len(*in)) 215 for i := range *in { 216 (*in)[i].DeepCopyInto(&(*out)[i]) 217 } 218 } 219 if in.Parameters != nil { 220 in, out := &in.Parameters, &out.Parameters 221 *out = make([]TriggerParameter, len(*in)) 222 for i := range *in { 223 (*in)[i].DeepCopyInto(&(*out)[i]) 224 } 225 } 226 return 227 } 228 229 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureServiceBusTrigger. 230 func (in *AzureServiceBusTrigger) DeepCopy() *AzureServiceBusTrigger { 231 if in == nil { 232 return nil 233 } 234 out := new(AzureServiceBusTrigger) 235 in.DeepCopyInto(out) 236 return out 237 } 238 239 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 240 func (in *ConditionsResetByTime) DeepCopyInto(out *ConditionsResetByTime) { 241 *out = *in 242 return 243 } 244 245 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsResetByTime. 246 func (in *ConditionsResetByTime) DeepCopy() *ConditionsResetByTime { 247 if in == nil { 248 return nil 249 } 250 out := new(ConditionsResetByTime) 251 in.DeepCopyInto(out) 252 return out 253 } 254 255 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 256 func (in *ConditionsResetCriteria) DeepCopyInto(out *ConditionsResetCriteria) { 257 *out = *in 258 if in.ByTime != nil { 259 in, out := &in.ByTime, &out.ByTime 260 *out = new(ConditionsResetByTime) 261 **out = **in 262 } 263 return 264 } 265 266 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionsResetCriteria. 267 func (in *ConditionsResetCriteria) DeepCopy() *ConditionsResetCriteria { 268 if in == nil { 269 return nil 270 } 271 out := new(ConditionsResetCriteria) 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 *CustomTrigger) DeepCopyInto(out *CustomTrigger) { 278 *out = *in 279 if in.CertSecret != nil { 280 in, out := &in.CertSecret, &out.CertSecret 281 *out = new(v1.SecretKeySelector) 282 (*in).DeepCopyInto(*out) 283 } 284 if in.Spec != nil { 285 in, out := &in.Spec, &out.Spec 286 *out = make(map[string]string, len(*in)) 287 for key, val := range *in { 288 (*out)[key] = val 289 } 290 } 291 if in.Parameters != nil { 292 in, out := &in.Parameters, &out.Parameters 293 *out = make([]TriggerParameter, len(*in)) 294 for i := range *in { 295 (*in)[i].DeepCopyInto(&(*out)[i]) 296 } 297 } 298 if in.Payload != nil { 299 in, out := &in.Payload, &out.Payload 300 *out = make([]TriggerParameter, len(*in)) 301 for i := range *in { 302 (*in)[i].DeepCopyInto(&(*out)[i]) 303 } 304 } 305 return 306 } 307 308 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomTrigger. 309 func (in *CustomTrigger) DeepCopy() *CustomTrigger { 310 if in == nil { 311 return nil 312 } 313 out := new(CustomTrigger) 314 in.DeepCopyInto(out) 315 return out 316 } 317 318 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 319 func (in *DataFilter) DeepCopyInto(out *DataFilter) { 320 *out = *in 321 if in.Value != nil { 322 in, out := &in.Value, &out.Value 323 *out = make([]string, len(*in)) 324 copy(*out, *in) 325 } 326 return 327 } 328 329 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataFilter. 330 func (in *DataFilter) DeepCopy() *DataFilter { 331 if in == nil { 332 return nil 333 } 334 out := new(DataFilter) 335 in.DeepCopyInto(out) 336 return out 337 } 338 339 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 340 func (in *EmailTrigger) DeepCopyInto(out *EmailTrigger) { 341 *out = *in 342 if in.Parameters != nil { 343 in, out := &in.Parameters, &out.Parameters 344 *out = make([]TriggerParameter, len(*in)) 345 for i := range *in { 346 (*in)[i].DeepCopyInto(&(*out)[i]) 347 } 348 } 349 if in.SMTPPassword != nil { 350 in, out := &in.SMTPPassword, &out.SMTPPassword 351 *out = new(v1.SecretKeySelector) 352 (*in).DeepCopyInto(*out) 353 } 354 if in.To != nil { 355 in, out := &in.To, &out.To 356 *out = make([]string, len(*in)) 357 copy(*out, *in) 358 } 359 return 360 } 361 362 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailTrigger. 363 func (in *EmailTrigger) DeepCopy() *EmailTrigger { 364 if in == nil { 365 return nil 366 } 367 out := new(EmailTrigger) 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 *Event) DeepCopyInto(out *Event) { 374 *out = *in 375 if in.Context != nil { 376 in, out := &in.Context, &out.Context 377 *out = new(EventContext) 378 (*in).DeepCopyInto(*out) 379 } 380 if in.Data != nil { 381 in, out := &in.Data, &out.Data 382 *out = make([]byte, len(*in)) 383 copy(*out, *in) 384 } 385 return 386 } 387 388 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. 389 func (in *Event) DeepCopy() *Event { 390 if in == nil { 391 return nil 392 } 393 out := new(Event) 394 in.DeepCopyInto(out) 395 return out 396 } 397 398 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 399 func (in *EventContext) DeepCopyInto(out *EventContext) { 400 *out = *in 401 in.Time.DeepCopyInto(&out.Time) 402 return 403 } 404 405 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventContext. 406 func (in *EventContext) DeepCopy() *EventContext { 407 if in == nil { 408 return nil 409 } 410 out := new(EventContext) 411 in.DeepCopyInto(out) 412 return out 413 } 414 415 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 416 func (in *EventDependency) DeepCopyInto(out *EventDependency) { 417 *out = *in 418 if in.Filters != nil { 419 in, out := &in.Filters, &out.Filters 420 *out = new(EventDependencyFilter) 421 (*in).DeepCopyInto(*out) 422 } 423 if in.Transform != nil { 424 in, out := &in.Transform, &out.Transform 425 *out = new(EventDependencyTransformer) 426 **out = **in 427 } 428 return 429 } 430 431 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDependency. 432 func (in *EventDependency) DeepCopy() *EventDependency { 433 if in == nil { 434 return nil 435 } 436 out := new(EventDependency) 437 in.DeepCopyInto(out) 438 return out 439 } 440 441 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 442 func (in *EventDependencyFilter) DeepCopyInto(out *EventDependencyFilter) { 443 *out = *in 444 if in.Time != nil { 445 in, out := &in.Time, &out.Time 446 *out = new(TimeFilter) 447 **out = **in 448 } 449 if in.Context != nil { 450 in, out := &in.Context, &out.Context 451 *out = new(EventContext) 452 (*in).DeepCopyInto(*out) 453 } 454 if in.Data != nil { 455 in, out := &in.Data, &out.Data 456 *out = make([]DataFilter, len(*in)) 457 for i := range *in { 458 (*in)[i].DeepCopyInto(&(*out)[i]) 459 } 460 } 461 if in.Exprs != nil { 462 in, out := &in.Exprs, &out.Exprs 463 *out = make([]ExprFilter, len(*in)) 464 for i := range *in { 465 (*in)[i].DeepCopyInto(&(*out)[i]) 466 } 467 } 468 return 469 } 470 471 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDependencyFilter. 472 func (in *EventDependencyFilter) DeepCopy() *EventDependencyFilter { 473 if in == nil { 474 return nil 475 } 476 out := new(EventDependencyFilter) 477 in.DeepCopyInto(out) 478 return out 479 } 480 481 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 482 func (in *EventDependencyTransformer) DeepCopyInto(out *EventDependencyTransformer) { 483 *out = *in 484 return 485 } 486 487 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDependencyTransformer. 488 func (in *EventDependencyTransformer) DeepCopy() *EventDependencyTransformer { 489 if in == nil { 490 return nil 491 } 492 out := new(EventDependencyTransformer) 493 in.DeepCopyInto(out) 494 return out 495 } 496 497 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 498 func (in *ExprFilter) DeepCopyInto(out *ExprFilter) { 499 *out = *in 500 if in.Fields != nil { 501 in, out := &in.Fields, &out.Fields 502 *out = make([]PayloadField, len(*in)) 503 copy(*out, *in) 504 } 505 return 506 } 507 508 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExprFilter. 509 func (in *ExprFilter) DeepCopy() *ExprFilter { 510 if in == nil { 511 return nil 512 } 513 out := new(ExprFilter) 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 *FileArtifact) DeepCopyInto(out *FileArtifact) { 520 *out = *in 521 return 522 } 523 524 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileArtifact. 525 func (in *FileArtifact) DeepCopy() *FileArtifact { 526 if in == nil { 527 return nil 528 } 529 out := new(FileArtifact) 530 in.DeepCopyInto(out) 531 return out 532 } 533 534 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 535 func (in *GitArtifact) DeepCopyInto(out *GitArtifact) { 536 *out = *in 537 if in.Creds != nil { 538 in, out := &in.Creds, &out.Creds 539 *out = new(GitCreds) 540 (*in).DeepCopyInto(*out) 541 } 542 if in.SSHKeySecret != nil { 543 in, out := &in.SSHKeySecret, &out.SSHKeySecret 544 *out = new(v1.SecretKeySelector) 545 (*in).DeepCopyInto(*out) 546 } 547 if in.Remote != nil { 548 in, out := &in.Remote, &out.Remote 549 *out = new(GitRemoteConfig) 550 (*in).DeepCopyInto(*out) 551 } 552 return 553 } 554 555 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitArtifact. 556 func (in *GitArtifact) DeepCopy() *GitArtifact { 557 if in == nil { 558 return nil 559 } 560 out := new(GitArtifact) 561 in.DeepCopyInto(out) 562 return out 563 } 564 565 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 566 func (in *GitCreds) DeepCopyInto(out *GitCreds) { 567 *out = *in 568 if in.Username != nil { 569 in, out := &in.Username, &out.Username 570 *out = new(v1.SecretKeySelector) 571 (*in).DeepCopyInto(*out) 572 } 573 if in.Password != nil { 574 in, out := &in.Password, &out.Password 575 *out = new(v1.SecretKeySelector) 576 (*in).DeepCopyInto(*out) 577 } 578 return 579 } 580 581 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitCreds. 582 func (in *GitCreds) DeepCopy() *GitCreds { 583 if in == nil { 584 return nil 585 } 586 out := new(GitCreds) 587 in.DeepCopyInto(out) 588 return out 589 } 590 591 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 592 func (in *GitRemoteConfig) DeepCopyInto(out *GitRemoteConfig) { 593 *out = *in 594 if in.URLS != nil { 595 in, out := &in.URLS, &out.URLS 596 *out = make([]string, len(*in)) 597 copy(*out, *in) 598 } 599 return 600 } 601 602 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRemoteConfig. 603 func (in *GitRemoteConfig) DeepCopy() *GitRemoteConfig { 604 if in == nil { 605 return nil 606 } 607 out := new(GitRemoteConfig) 608 in.DeepCopyInto(out) 609 return out 610 } 611 612 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 613 func (in *HTTPTrigger) DeepCopyInto(out *HTTPTrigger) { 614 *out = *in 615 if in.Payload != nil { 616 in, out := &in.Payload, &out.Payload 617 *out = make([]TriggerParameter, len(*in)) 618 for i := range *in { 619 (*in)[i].DeepCopyInto(&(*out)[i]) 620 } 621 } 622 if in.TLS != nil { 623 in, out := &in.TLS, &out.TLS 624 *out = new(common.TLSConfig) 625 (*in).DeepCopyInto(*out) 626 } 627 if in.Parameters != nil { 628 in, out := &in.Parameters, &out.Parameters 629 *out = make([]TriggerParameter, len(*in)) 630 for i := range *in { 631 (*in)[i].DeepCopyInto(&(*out)[i]) 632 } 633 } 634 if in.BasicAuth != nil { 635 in, out := &in.BasicAuth, &out.BasicAuth 636 *out = new(common.BasicAuth) 637 (*in).DeepCopyInto(*out) 638 } 639 if in.Headers != nil { 640 in, out := &in.Headers, &out.Headers 641 *out = make(map[string]string, len(*in)) 642 for key, val := range *in { 643 (*out)[key] = val 644 } 645 } 646 if in.SecureHeaders != nil { 647 in, out := &in.SecureHeaders, &out.SecureHeaders 648 *out = make([]*common.SecureHeader, len(*in)) 649 for i := range *in { 650 if (*in)[i] != nil { 651 in, out := &(*in)[i], &(*out)[i] 652 *out = new(common.SecureHeader) 653 (*in).DeepCopyInto(*out) 654 } 655 } 656 } 657 return 658 } 659 660 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPTrigger. 661 func (in *HTTPTrigger) DeepCopy() *HTTPTrigger { 662 if in == nil { 663 return nil 664 } 665 out := new(HTTPTrigger) 666 in.DeepCopyInto(out) 667 return out 668 } 669 670 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 671 func (in *K8SResourcePolicy) DeepCopyInto(out *K8SResourcePolicy) { 672 *out = *in 673 if in.Labels != nil { 674 in, out := &in.Labels, &out.Labels 675 *out = make(map[string]string, len(*in)) 676 for key, val := range *in { 677 (*out)[key] = val 678 } 679 } 680 if in.Backoff != nil { 681 in, out := &in.Backoff, &out.Backoff 682 *out = new(common.Backoff) 683 (*in).DeepCopyInto(*out) 684 } 685 return 686 } 687 688 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SResourcePolicy. 689 func (in *K8SResourcePolicy) DeepCopy() *K8SResourcePolicy { 690 if in == nil { 691 return nil 692 } 693 out := new(K8SResourcePolicy) 694 in.DeepCopyInto(out) 695 return out 696 } 697 698 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 699 func (in *KafkaTrigger) DeepCopyInto(out *KafkaTrigger) { 700 *out = *in 701 if in.Parameters != nil { 702 in, out := &in.Parameters, &out.Parameters 703 *out = make([]TriggerParameter, len(*in)) 704 for i := range *in { 705 (*in)[i].DeepCopyInto(&(*out)[i]) 706 } 707 } 708 if in.TLS != nil { 709 in, out := &in.TLS, &out.TLS 710 *out = new(common.TLSConfig) 711 (*in).DeepCopyInto(*out) 712 } 713 if in.Payload != nil { 714 in, out := &in.Payload, &out.Payload 715 *out = make([]TriggerParameter, len(*in)) 716 for i := range *in { 717 (*in)[i].DeepCopyInto(&(*out)[i]) 718 } 719 } 720 if in.PartitioningKey != nil { 721 in, out := &in.PartitioningKey, &out.PartitioningKey 722 *out = new(string) 723 **out = **in 724 } 725 if in.SASL != nil { 726 in, out := &in.SASL, &out.SASL 727 *out = new(common.SASLConfig) 728 (*in).DeepCopyInto(*out) 729 } 730 if in.SchemaRegistry != nil { 731 in, out := &in.SchemaRegistry, &out.SchemaRegistry 732 *out = new(common.SchemaRegistryConfig) 733 (*in).DeepCopyInto(*out) 734 } 735 return 736 } 737 738 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaTrigger. 739 func (in *KafkaTrigger) DeepCopy() *KafkaTrigger { 740 if in == nil { 741 return nil 742 } 743 out := new(KafkaTrigger) 744 in.DeepCopyInto(out) 745 return out 746 } 747 748 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 749 func (in *LogTrigger) DeepCopyInto(out *LogTrigger) { 750 *out = *in 751 return 752 } 753 754 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogTrigger. 755 func (in *LogTrigger) DeepCopy() *LogTrigger { 756 if in == nil { 757 return nil 758 } 759 out := new(LogTrigger) 760 in.DeepCopyInto(out) 761 return out 762 } 763 764 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 765 func (in *NATSTrigger) DeepCopyInto(out *NATSTrigger) { 766 *out = *in 767 if in.Payload != nil { 768 in, out := &in.Payload, &out.Payload 769 *out = make([]TriggerParameter, len(*in)) 770 for i := range *in { 771 (*in)[i].DeepCopyInto(&(*out)[i]) 772 } 773 } 774 if in.Parameters != nil { 775 in, out := &in.Parameters, &out.Parameters 776 *out = make([]TriggerParameter, len(*in)) 777 for i := range *in { 778 (*in)[i].DeepCopyInto(&(*out)[i]) 779 } 780 } 781 if in.TLS != nil { 782 in, out := &in.TLS, &out.TLS 783 *out = new(common.TLSConfig) 784 (*in).DeepCopyInto(*out) 785 } 786 return 787 } 788 789 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NATSTrigger. 790 func (in *NATSTrigger) DeepCopy() *NATSTrigger { 791 if in == nil { 792 return nil 793 } 794 out := new(NATSTrigger) 795 in.DeepCopyInto(out) 796 return out 797 } 798 799 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 800 func (in *OpenWhiskTrigger) DeepCopyInto(out *OpenWhiskTrigger) { 801 *out = *in 802 if in.AuthToken != nil { 803 in, out := &in.AuthToken, &out.AuthToken 804 *out = new(v1.SecretKeySelector) 805 (*in).DeepCopyInto(*out) 806 } 807 if in.Payload != nil { 808 in, out := &in.Payload, &out.Payload 809 *out = make([]TriggerParameter, len(*in)) 810 for i := range *in { 811 (*in)[i].DeepCopyInto(&(*out)[i]) 812 } 813 } 814 if in.Parameters != nil { 815 in, out := &in.Parameters, &out.Parameters 816 *out = make([]TriggerParameter, len(*in)) 817 for i := range *in { 818 (*in)[i].DeepCopyInto(&(*out)[i]) 819 } 820 } 821 return 822 } 823 824 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenWhiskTrigger. 825 func (in *OpenWhiskTrigger) DeepCopy() *OpenWhiskTrigger { 826 if in == nil { 827 return nil 828 } 829 out := new(OpenWhiskTrigger) 830 in.DeepCopyInto(out) 831 return out 832 } 833 834 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 835 func (in *PayloadField) DeepCopyInto(out *PayloadField) { 836 *out = *in 837 return 838 } 839 840 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PayloadField. 841 func (in *PayloadField) DeepCopy() *PayloadField { 842 if in == nil { 843 return nil 844 } 845 out := new(PayloadField) 846 in.DeepCopyInto(out) 847 return out 848 } 849 850 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 851 func (in *PulsarTrigger) DeepCopyInto(out *PulsarTrigger) { 852 *out = *in 853 if in.Parameters != nil { 854 in, out := &in.Parameters, &out.Parameters 855 *out = make([]TriggerParameter, len(*in)) 856 for i := range *in { 857 (*in)[i].DeepCopyInto(&(*out)[i]) 858 } 859 } 860 if in.Payload != nil { 861 in, out := &in.Payload, &out.Payload 862 *out = make([]TriggerParameter, len(*in)) 863 for i := range *in { 864 (*in)[i].DeepCopyInto(&(*out)[i]) 865 } 866 } 867 if in.TLSTrustCertsSecret != nil { 868 in, out := &in.TLSTrustCertsSecret, &out.TLSTrustCertsSecret 869 *out = new(v1.SecretKeySelector) 870 (*in).DeepCopyInto(*out) 871 } 872 if in.TLS != nil { 873 in, out := &in.TLS, &out.TLS 874 *out = new(common.TLSConfig) 875 (*in).DeepCopyInto(*out) 876 } 877 if in.AuthTokenSecret != nil { 878 in, out := &in.AuthTokenSecret, &out.AuthTokenSecret 879 *out = new(v1.SecretKeySelector) 880 (*in).DeepCopyInto(*out) 881 } 882 if in.ConnectionBackoff != nil { 883 in, out := &in.ConnectionBackoff, &out.ConnectionBackoff 884 *out = new(common.Backoff) 885 (*in).DeepCopyInto(*out) 886 } 887 if in.AuthAthenzParams != nil { 888 in, out := &in.AuthAthenzParams, &out.AuthAthenzParams 889 *out = make(map[string]string, len(*in)) 890 for key, val := range *in { 891 (*out)[key] = val 892 } 893 } 894 if in.AuthAthenzSecret != nil { 895 in, out := &in.AuthAthenzSecret, &out.AuthAthenzSecret 896 *out = new(v1.SecretKeySelector) 897 (*in).DeepCopyInto(*out) 898 } 899 return 900 } 901 902 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PulsarTrigger. 903 func (in *PulsarTrigger) DeepCopy() *PulsarTrigger { 904 if in == nil { 905 return nil 906 } 907 out := new(PulsarTrigger) 908 in.DeepCopyInto(out) 909 return out 910 } 911 912 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 913 func (in *RateLimit) DeepCopyInto(out *RateLimit) { 914 *out = *in 915 return 916 } 917 918 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RateLimit. 919 func (in *RateLimit) DeepCopy() *RateLimit { 920 if in == nil { 921 return nil 922 } 923 out := new(RateLimit) 924 in.DeepCopyInto(out) 925 return out 926 } 927 928 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 929 func (in *Sensor) DeepCopyInto(out *Sensor) { 930 *out = *in 931 out.TypeMeta = in.TypeMeta 932 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 933 in.Spec.DeepCopyInto(&out.Spec) 934 in.Status.DeepCopyInto(&out.Status) 935 return 936 } 937 938 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sensor. 939 func (in *Sensor) DeepCopy() *Sensor { 940 if in == nil { 941 return nil 942 } 943 out := new(Sensor) 944 in.DeepCopyInto(out) 945 return out 946 } 947 948 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 949 func (in *Sensor) DeepCopyObject() runtime.Object { 950 if c := in.DeepCopy(); c != nil { 951 return c 952 } 953 return nil 954 } 955 956 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 957 func (in *SensorList) DeepCopyInto(out *SensorList) { 958 *out = *in 959 out.TypeMeta = in.TypeMeta 960 in.ListMeta.DeepCopyInto(&out.ListMeta) 961 if in.Items != nil { 962 in, out := &in.Items, &out.Items 963 *out = make([]Sensor, len(*in)) 964 for i := range *in { 965 (*in)[i].DeepCopyInto(&(*out)[i]) 966 } 967 } 968 return 969 } 970 971 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensorList. 972 func (in *SensorList) DeepCopy() *SensorList { 973 if in == nil { 974 return nil 975 } 976 out := new(SensorList) 977 in.DeepCopyInto(out) 978 return out 979 } 980 981 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 982 func (in *SensorList) DeepCopyObject() runtime.Object { 983 if c := in.DeepCopy(); c != nil { 984 return c 985 } 986 return nil 987 } 988 989 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 990 func (in *SensorSpec) DeepCopyInto(out *SensorSpec) { 991 *out = *in 992 if in.Dependencies != nil { 993 in, out := &in.Dependencies, &out.Dependencies 994 *out = make([]EventDependency, len(*in)) 995 for i := range *in { 996 (*in)[i].DeepCopyInto(&(*out)[i]) 997 } 998 } 999 if in.Triggers != nil { 1000 in, out := &in.Triggers, &out.Triggers 1001 *out = make([]Trigger, len(*in)) 1002 for i := range *in { 1003 (*in)[i].DeepCopyInto(&(*out)[i]) 1004 } 1005 } 1006 if in.Template != nil { 1007 in, out := &in.Template, &out.Template 1008 *out = new(Template) 1009 (*in).DeepCopyInto(*out) 1010 } 1011 if in.Replicas != nil { 1012 in, out := &in.Replicas, &out.Replicas 1013 *out = new(int32) 1014 **out = **in 1015 } 1016 if in.RevisionHistoryLimit != nil { 1017 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit 1018 *out = new(int32) 1019 **out = **in 1020 } 1021 if in.LoggingFields != nil { 1022 in, out := &in.LoggingFields, &out.LoggingFields 1023 *out = make(map[string]string, len(*in)) 1024 for key, val := range *in { 1025 (*out)[key] = val 1026 } 1027 } 1028 return 1029 } 1030 1031 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensorSpec. 1032 func (in *SensorSpec) DeepCopy() *SensorSpec { 1033 if in == nil { 1034 return nil 1035 } 1036 out := new(SensorSpec) 1037 in.DeepCopyInto(out) 1038 return out 1039 } 1040 1041 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1042 func (in *SensorStatus) DeepCopyInto(out *SensorStatus) { 1043 *out = *in 1044 in.Status.DeepCopyInto(&out.Status) 1045 return 1046 } 1047 1048 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SensorStatus. 1049 func (in *SensorStatus) DeepCopy() *SensorStatus { 1050 if in == nil { 1051 return nil 1052 } 1053 out := new(SensorStatus) 1054 in.DeepCopyInto(out) 1055 return out 1056 } 1057 1058 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1059 func (in *SlackSender) DeepCopyInto(out *SlackSender) { 1060 *out = *in 1061 return 1062 } 1063 1064 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackSender. 1065 func (in *SlackSender) DeepCopy() *SlackSender { 1066 if in == nil { 1067 return nil 1068 } 1069 out := new(SlackSender) 1070 in.DeepCopyInto(out) 1071 return out 1072 } 1073 1074 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1075 func (in *SlackThread) DeepCopyInto(out *SlackThread) { 1076 *out = *in 1077 return 1078 } 1079 1080 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackThread. 1081 func (in *SlackThread) DeepCopy() *SlackThread { 1082 if in == nil { 1083 return nil 1084 } 1085 out := new(SlackThread) 1086 in.DeepCopyInto(out) 1087 return out 1088 } 1089 1090 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1091 func (in *SlackTrigger) DeepCopyInto(out *SlackTrigger) { 1092 *out = *in 1093 if in.Parameters != nil { 1094 in, out := &in.Parameters, &out.Parameters 1095 *out = make([]TriggerParameter, len(*in)) 1096 for i := range *in { 1097 (*in)[i].DeepCopyInto(&(*out)[i]) 1098 } 1099 } 1100 if in.SlackToken != nil { 1101 in, out := &in.SlackToken, &out.SlackToken 1102 *out = new(v1.SecretKeySelector) 1103 (*in).DeepCopyInto(*out) 1104 } 1105 out.Thread = in.Thread 1106 out.Sender = in.Sender 1107 return 1108 } 1109 1110 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackTrigger. 1111 func (in *SlackTrigger) DeepCopy() *SlackTrigger { 1112 if in == nil { 1113 return nil 1114 } 1115 out := new(SlackTrigger) 1116 in.DeepCopyInto(out) 1117 return out 1118 } 1119 1120 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1121 func (in *StandardK8STrigger) DeepCopyInto(out *StandardK8STrigger) { 1122 *out = *in 1123 if in.Source != nil { 1124 in, out := &in.Source, &out.Source 1125 *out = new(ArtifactLocation) 1126 (*in).DeepCopyInto(*out) 1127 } 1128 if in.Parameters != nil { 1129 in, out := &in.Parameters, &out.Parameters 1130 *out = make([]TriggerParameter, len(*in)) 1131 for i := range *in { 1132 (*in)[i].DeepCopyInto(&(*out)[i]) 1133 } 1134 } 1135 return 1136 } 1137 1138 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StandardK8STrigger. 1139 func (in *StandardK8STrigger) DeepCopy() *StandardK8STrigger { 1140 if in == nil { 1141 return nil 1142 } 1143 out := new(StandardK8STrigger) 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 *StatusPolicy) DeepCopyInto(out *StatusPolicy) { 1150 *out = *in 1151 if in.Allow != nil { 1152 in, out := &in.Allow, &out.Allow 1153 *out = make([]int32, len(*in)) 1154 copy(*out, *in) 1155 } 1156 return 1157 } 1158 1159 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusPolicy. 1160 func (in *StatusPolicy) DeepCopy() *StatusPolicy { 1161 if in == nil { 1162 return nil 1163 } 1164 out := new(StatusPolicy) 1165 in.DeepCopyInto(out) 1166 return out 1167 } 1168 1169 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1170 func (in *Template) DeepCopyInto(out *Template) { 1171 *out = *in 1172 if in.Metadata != nil { 1173 in, out := &in.Metadata, &out.Metadata 1174 *out = new(common.Metadata) 1175 (*in).DeepCopyInto(*out) 1176 } 1177 if in.Container != nil { 1178 in, out := &in.Container, &out.Container 1179 *out = new(v1.Container) 1180 (*in).DeepCopyInto(*out) 1181 } 1182 if in.Volumes != nil { 1183 in, out := &in.Volumes, &out.Volumes 1184 *out = make([]v1.Volume, len(*in)) 1185 for i := range *in { 1186 (*in)[i].DeepCopyInto(&(*out)[i]) 1187 } 1188 } 1189 if in.SecurityContext != nil { 1190 in, out := &in.SecurityContext, &out.SecurityContext 1191 *out = new(v1.PodSecurityContext) 1192 (*in).DeepCopyInto(*out) 1193 } 1194 if in.NodeSelector != nil { 1195 in, out := &in.NodeSelector, &out.NodeSelector 1196 *out = make(map[string]string, len(*in)) 1197 for key, val := range *in { 1198 (*out)[key] = val 1199 } 1200 } 1201 if in.Tolerations != nil { 1202 in, out := &in.Tolerations, &out.Tolerations 1203 *out = make([]v1.Toleration, len(*in)) 1204 for i := range *in { 1205 (*in)[i].DeepCopyInto(&(*out)[i]) 1206 } 1207 } 1208 if in.ImagePullSecrets != nil { 1209 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets 1210 *out = make([]v1.LocalObjectReference, len(*in)) 1211 copy(*out, *in) 1212 } 1213 if in.Priority != nil { 1214 in, out := &in.Priority, &out.Priority 1215 *out = new(int32) 1216 **out = **in 1217 } 1218 if in.Affinity != nil { 1219 in, out := &in.Affinity, &out.Affinity 1220 *out = new(v1.Affinity) 1221 (*in).DeepCopyInto(*out) 1222 } 1223 return 1224 } 1225 1226 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template. 1227 func (in *Template) DeepCopy() *Template { 1228 if in == nil { 1229 return nil 1230 } 1231 out := new(Template) 1232 in.DeepCopyInto(out) 1233 return out 1234 } 1235 1236 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1237 func (in *TimeFilter) DeepCopyInto(out *TimeFilter) { 1238 *out = *in 1239 return 1240 } 1241 1242 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeFilter. 1243 func (in *TimeFilter) DeepCopy() *TimeFilter { 1244 if in == nil { 1245 return nil 1246 } 1247 out := new(TimeFilter) 1248 in.DeepCopyInto(out) 1249 return out 1250 } 1251 1252 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1253 func (in *Trigger) DeepCopyInto(out *Trigger) { 1254 *out = *in 1255 if in.Template != nil { 1256 in, out := &in.Template, &out.Template 1257 *out = new(TriggerTemplate) 1258 (*in).DeepCopyInto(*out) 1259 } 1260 if in.Parameters != nil { 1261 in, out := &in.Parameters, &out.Parameters 1262 *out = make([]TriggerParameter, len(*in)) 1263 for i := range *in { 1264 (*in)[i].DeepCopyInto(&(*out)[i]) 1265 } 1266 } 1267 if in.Policy != nil { 1268 in, out := &in.Policy, &out.Policy 1269 *out = new(TriggerPolicy) 1270 (*in).DeepCopyInto(*out) 1271 } 1272 if in.RetryStrategy != nil { 1273 in, out := &in.RetryStrategy, &out.RetryStrategy 1274 *out = new(common.Backoff) 1275 (*in).DeepCopyInto(*out) 1276 } 1277 if in.RateLimit != nil { 1278 in, out := &in.RateLimit, &out.RateLimit 1279 *out = new(RateLimit) 1280 **out = **in 1281 } 1282 return 1283 } 1284 1285 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger. 1286 func (in *Trigger) DeepCopy() *Trigger { 1287 if in == nil { 1288 return nil 1289 } 1290 out := new(Trigger) 1291 in.DeepCopyInto(out) 1292 return out 1293 } 1294 1295 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1296 func (in *TriggerParameter) DeepCopyInto(out *TriggerParameter) { 1297 *out = *in 1298 if in.Src != nil { 1299 in, out := &in.Src, &out.Src 1300 *out = new(TriggerParameterSource) 1301 (*in).DeepCopyInto(*out) 1302 } 1303 return 1304 } 1305 1306 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameter. 1307 func (in *TriggerParameter) DeepCopy() *TriggerParameter { 1308 if in == nil { 1309 return nil 1310 } 1311 out := new(TriggerParameter) 1312 in.DeepCopyInto(out) 1313 return out 1314 } 1315 1316 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1317 func (in *TriggerParameterSource) DeepCopyInto(out *TriggerParameterSource) { 1318 *out = *in 1319 if in.Value != nil { 1320 in, out := &in.Value, &out.Value 1321 *out = new(string) 1322 **out = **in 1323 } 1324 return 1325 } 1326 1327 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerParameterSource. 1328 func (in *TriggerParameterSource) DeepCopy() *TriggerParameterSource { 1329 if in == nil { 1330 return nil 1331 } 1332 out := new(TriggerParameterSource) 1333 in.DeepCopyInto(out) 1334 return out 1335 } 1336 1337 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1338 func (in *TriggerPolicy) DeepCopyInto(out *TriggerPolicy) { 1339 *out = *in 1340 if in.K8s != nil { 1341 in, out := &in.K8s, &out.K8s 1342 *out = new(K8SResourcePolicy) 1343 (*in).DeepCopyInto(*out) 1344 } 1345 if in.Status != nil { 1346 in, out := &in.Status, &out.Status 1347 *out = new(StatusPolicy) 1348 (*in).DeepCopyInto(*out) 1349 } 1350 return 1351 } 1352 1353 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerPolicy. 1354 func (in *TriggerPolicy) DeepCopy() *TriggerPolicy { 1355 if in == nil { 1356 return nil 1357 } 1358 out := new(TriggerPolicy) 1359 in.DeepCopyInto(out) 1360 return out 1361 } 1362 1363 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1364 func (in *TriggerTemplate) DeepCopyInto(out *TriggerTemplate) { 1365 *out = *in 1366 if in.K8s != nil { 1367 in, out := &in.K8s, &out.K8s 1368 *out = new(StandardK8STrigger) 1369 (*in).DeepCopyInto(*out) 1370 } 1371 if in.ArgoWorkflow != nil { 1372 in, out := &in.ArgoWorkflow, &out.ArgoWorkflow 1373 *out = new(ArgoWorkflowTrigger) 1374 (*in).DeepCopyInto(*out) 1375 } 1376 if in.HTTP != nil { 1377 in, out := &in.HTTP, &out.HTTP 1378 *out = new(HTTPTrigger) 1379 (*in).DeepCopyInto(*out) 1380 } 1381 if in.AWSLambda != nil { 1382 in, out := &in.AWSLambda, &out.AWSLambda 1383 *out = new(AWSLambdaTrigger) 1384 (*in).DeepCopyInto(*out) 1385 } 1386 if in.CustomTrigger != nil { 1387 in, out := &in.CustomTrigger, &out.CustomTrigger 1388 *out = new(CustomTrigger) 1389 (*in).DeepCopyInto(*out) 1390 } 1391 if in.Kafka != nil { 1392 in, out := &in.Kafka, &out.Kafka 1393 *out = new(KafkaTrigger) 1394 (*in).DeepCopyInto(*out) 1395 } 1396 if in.NATS != nil { 1397 in, out := &in.NATS, &out.NATS 1398 *out = new(NATSTrigger) 1399 (*in).DeepCopyInto(*out) 1400 } 1401 if in.Slack != nil { 1402 in, out := &in.Slack, &out.Slack 1403 *out = new(SlackTrigger) 1404 (*in).DeepCopyInto(*out) 1405 } 1406 if in.OpenWhisk != nil { 1407 in, out := &in.OpenWhisk, &out.OpenWhisk 1408 *out = new(OpenWhiskTrigger) 1409 (*in).DeepCopyInto(*out) 1410 } 1411 if in.Log != nil { 1412 in, out := &in.Log, &out.Log 1413 *out = new(LogTrigger) 1414 **out = **in 1415 } 1416 if in.AzureEventHubs != nil { 1417 in, out := &in.AzureEventHubs, &out.AzureEventHubs 1418 *out = new(AzureEventHubsTrigger) 1419 (*in).DeepCopyInto(*out) 1420 } 1421 if in.Pulsar != nil { 1422 in, out := &in.Pulsar, &out.Pulsar 1423 *out = new(PulsarTrigger) 1424 (*in).DeepCopyInto(*out) 1425 } 1426 if in.ConditionsReset != nil { 1427 in, out := &in.ConditionsReset, &out.ConditionsReset 1428 *out = make([]ConditionsResetCriteria, len(*in)) 1429 for i := range *in { 1430 (*in)[i].DeepCopyInto(&(*out)[i]) 1431 } 1432 } 1433 if in.AzureServiceBus != nil { 1434 in, out := &in.AzureServiceBus, &out.AzureServiceBus 1435 *out = new(AzureServiceBusTrigger) 1436 (*in).DeepCopyInto(*out) 1437 } 1438 if in.Email != nil { 1439 in, out := &in.Email, &out.Email 1440 *out = new(EmailTrigger) 1441 (*in).DeepCopyInto(*out) 1442 } 1443 return 1444 } 1445 1446 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplate. 1447 func (in *TriggerTemplate) DeepCopy() *TriggerTemplate { 1448 if in == nil { 1449 return nil 1450 } 1451 out := new(TriggerTemplate) 1452 in.DeepCopyInto(out) 1453 return out 1454 } 1455 1456 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1457 func (in *URLArtifact) DeepCopyInto(out *URLArtifact) { 1458 *out = *in 1459 return 1460 } 1461 1462 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifact. 1463 func (in *URLArtifact) DeepCopy() *URLArtifact { 1464 if in == nil { 1465 return nil 1466 } 1467 out := new(URLArtifact) 1468 in.DeepCopyInto(out) 1469 return out 1470 }