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