kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/iam/v1beta1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2020 The KubeSphere Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by controller-gen. DO NOT EDIT. 21 22 package v1beta1 23 24 import ( 25 "k8s.io/api/rbac/v1" 26 "k8s.io/apimachinery/pkg/runtime" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *AggregationRoleTemplates) DeepCopyInto(out *AggregationRoleTemplates) { 31 *out = *in 32 if in.TemplateNames != nil { 33 in, out := &in.TemplateNames, &out.TemplateNames 34 *out = make([]string, len(*in)) 35 copy(*out, *in) 36 } 37 in.Selector.DeepCopyInto(&out.Selector) 38 } 39 40 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AggregationRoleTemplates. 41 func (in *AggregationRoleTemplates) DeepCopy() *AggregationRoleTemplates { 42 if in == nil { 43 return nil 44 } 45 out := new(AggregationRoleTemplates) 46 in.DeepCopyInto(out) 47 return out 48 } 49 50 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 51 func (in *Category) DeepCopyInto(out *Category) { 52 *out = *in 53 out.TypeMeta = in.TypeMeta 54 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 55 in.Spec.DeepCopyInto(&out.Spec) 56 } 57 58 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Category. 59 func (in *Category) DeepCopy() *Category { 60 if in == nil { 61 return nil 62 } 63 out := new(Category) 64 in.DeepCopyInto(out) 65 return out 66 } 67 68 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 69 func (in *Category) DeepCopyObject() runtime.Object { 70 if c := in.DeepCopy(); c != nil { 71 return c 72 } 73 return nil 74 } 75 76 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 77 func (in *CategoryList) DeepCopyInto(out *CategoryList) { 78 *out = *in 79 out.TypeMeta = in.TypeMeta 80 in.ListMeta.DeepCopyInto(&out.ListMeta) 81 if in.Items != nil { 82 in, out := &in.Items, &out.Items 83 *out = make([]Category, len(*in)) 84 for i := range *in { 85 (*in)[i].DeepCopyInto(&(*out)[i]) 86 } 87 } 88 } 89 90 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategoryList. 91 func (in *CategoryList) DeepCopy() *CategoryList { 92 if in == nil { 93 return nil 94 } 95 out := new(CategoryList) 96 in.DeepCopyInto(out) 97 return out 98 } 99 100 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 101 func (in *CategoryList) DeepCopyObject() runtime.Object { 102 if c := in.DeepCopy(); c != nil { 103 return c 104 } 105 return nil 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *CategorySpec) DeepCopyInto(out *CategorySpec) { 110 *out = *in 111 if in.DisplayName != nil { 112 in, out := &in.DisplayName, &out.DisplayName 113 *out = make(map[string]string, len(*in)) 114 for key, val := range *in { 115 (*out)[key] = val 116 } 117 } 118 if in.Description != nil { 119 in, out := &in.Description, &out.Description 120 *out = make(map[string]string, len(*in)) 121 for key, val := range *in { 122 (*out)[key] = val 123 } 124 } 125 } 126 127 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CategorySpec. 128 func (in *CategorySpec) DeepCopy() *CategorySpec { 129 if in == nil { 130 return nil 131 } 132 out := new(CategorySpec) 133 in.DeepCopyInto(out) 134 return out 135 } 136 137 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 138 func (in *ClusterRole) DeepCopyInto(out *ClusterRole) { 139 *out = *in 140 out.TypeMeta = in.TypeMeta 141 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 142 in.AggregationRoleTemplates.DeepCopyInto(&out.AggregationRoleTemplates) 143 if in.Rules != nil { 144 in, out := &in.Rules, &out.Rules 145 *out = make([]v1.PolicyRule, len(*in)) 146 for i := range *in { 147 (*in)[i].DeepCopyInto(&(*out)[i]) 148 } 149 } 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. 153 func (in *ClusterRole) DeepCopy() *ClusterRole { 154 if in == nil { 155 return nil 156 } 157 out := new(ClusterRole) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 163 func (in *ClusterRole) DeepCopyObject() runtime.Object { 164 if c := in.DeepCopy(); c != nil { 165 return c 166 } 167 return nil 168 } 169 170 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 171 func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) { 172 *out = *in 173 out.TypeMeta = in.TypeMeta 174 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 175 if in.Subjects != nil { 176 in, out := &in.Subjects, &out.Subjects 177 *out = make([]v1.Subject, len(*in)) 178 copy(*out, *in) 179 } 180 out.RoleRef = in.RoleRef 181 } 182 183 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. 184 func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { 185 if in == nil { 186 return nil 187 } 188 out := new(ClusterRoleBinding) 189 in.DeepCopyInto(out) 190 return out 191 } 192 193 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 194 func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object { 195 if c := in.DeepCopy(); c != nil { 196 return c 197 } 198 return nil 199 } 200 201 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 202 func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) { 203 *out = *in 204 out.TypeMeta = in.TypeMeta 205 in.ListMeta.DeepCopyInto(&out.ListMeta) 206 if in.Items != nil { 207 in, out := &in.Items, &out.Items 208 *out = make([]ClusterRoleBinding, len(*in)) 209 for i := range *in { 210 (*in)[i].DeepCopyInto(&(*out)[i]) 211 } 212 } 213 } 214 215 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. 216 func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { 217 if in == nil { 218 return nil 219 } 220 out := new(ClusterRoleBindingList) 221 in.DeepCopyInto(out) 222 return out 223 } 224 225 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 226 func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object { 227 if c := in.DeepCopy(); c != nil { 228 return c 229 } 230 return nil 231 } 232 233 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 234 func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) { 235 *out = *in 236 out.TypeMeta = in.TypeMeta 237 in.ListMeta.DeepCopyInto(&out.ListMeta) 238 if in.Items != nil { 239 in, out := &in.Items, &out.Items 240 *out = make([]ClusterRole, len(*in)) 241 for i := range *in { 242 (*in)[i].DeepCopyInto(&(*out)[i]) 243 } 244 } 245 } 246 247 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. 248 func (in *ClusterRoleList) DeepCopy() *ClusterRoleList { 249 if in == nil { 250 return nil 251 } 252 out := new(ClusterRoleList) 253 in.DeepCopyInto(out) 254 return out 255 } 256 257 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 258 func (in *ClusterRoleList) DeepCopyObject() runtime.Object { 259 if c := in.DeepCopy(); c != nil { 260 return c 261 } 262 return nil 263 } 264 265 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 266 func (in *GlobalRole) DeepCopyInto(out *GlobalRole) { 267 *out = *in 268 out.TypeMeta = in.TypeMeta 269 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 270 in.AggregationRoleTemplates.DeepCopyInto(&out.AggregationRoleTemplates) 271 if in.Rules != nil { 272 in, out := &in.Rules, &out.Rules 273 *out = make([]v1.PolicyRule, len(*in)) 274 for i := range *in { 275 (*in)[i].DeepCopyInto(&(*out)[i]) 276 } 277 } 278 } 279 280 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRole. 281 func (in *GlobalRole) DeepCopy() *GlobalRole { 282 if in == nil { 283 return nil 284 } 285 out := new(GlobalRole) 286 in.DeepCopyInto(out) 287 return out 288 } 289 290 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 291 func (in *GlobalRole) DeepCopyObject() runtime.Object { 292 if c := in.DeepCopy(); c != nil { 293 return c 294 } 295 return nil 296 } 297 298 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 299 func (in *GlobalRoleBinding) DeepCopyInto(out *GlobalRoleBinding) { 300 *out = *in 301 out.TypeMeta = in.TypeMeta 302 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 303 if in.Subjects != nil { 304 in, out := &in.Subjects, &out.Subjects 305 *out = make([]v1.Subject, len(*in)) 306 copy(*out, *in) 307 } 308 out.RoleRef = in.RoleRef 309 } 310 311 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleBinding. 312 func (in *GlobalRoleBinding) DeepCopy() *GlobalRoleBinding { 313 if in == nil { 314 return nil 315 } 316 out := new(GlobalRoleBinding) 317 in.DeepCopyInto(out) 318 return out 319 } 320 321 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 322 func (in *GlobalRoleBinding) DeepCopyObject() runtime.Object { 323 if c := in.DeepCopy(); c != nil { 324 return c 325 } 326 return nil 327 } 328 329 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 330 func (in *GlobalRoleBindingList) DeepCopyInto(out *GlobalRoleBindingList) { 331 *out = *in 332 out.TypeMeta = in.TypeMeta 333 in.ListMeta.DeepCopyInto(&out.ListMeta) 334 if in.Items != nil { 335 in, out := &in.Items, &out.Items 336 *out = make([]GlobalRoleBinding, len(*in)) 337 for i := range *in { 338 (*in)[i].DeepCopyInto(&(*out)[i]) 339 } 340 } 341 } 342 343 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleBindingList. 344 func (in *GlobalRoleBindingList) DeepCopy() *GlobalRoleBindingList { 345 if in == nil { 346 return nil 347 } 348 out := new(GlobalRoleBindingList) 349 in.DeepCopyInto(out) 350 return out 351 } 352 353 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 354 func (in *GlobalRoleBindingList) DeepCopyObject() runtime.Object { 355 if c := in.DeepCopy(); c != nil { 356 return c 357 } 358 return nil 359 } 360 361 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 362 func (in *GlobalRoleList) DeepCopyInto(out *GlobalRoleList) { 363 *out = *in 364 out.TypeMeta = in.TypeMeta 365 in.ListMeta.DeepCopyInto(&out.ListMeta) 366 if in.Items != nil { 367 in, out := &in.Items, &out.Items 368 *out = make([]GlobalRole, len(*in)) 369 for i := range *in { 370 (*in)[i].DeepCopyInto(&(*out)[i]) 371 } 372 } 373 } 374 375 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleList. 376 func (in *GlobalRoleList) DeepCopy() *GlobalRoleList { 377 if in == nil { 378 return nil 379 } 380 out := new(GlobalRoleList) 381 in.DeepCopyInto(out) 382 return out 383 } 384 385 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 386 func (in *GlobalRoleList) DeepCopyObject() runtime.Object { 387 if c := in.DeepCopy(); c != nil { 388 return c 389 } 390 return nil 391 } 392 393 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 394 func (in *Role) DeepCopyInto(out *Role) { 395 *out = *in 396 out.TypeMeta = in.TypeMeta 397 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 398 in.AggregationRoleTemplates.DeepCopyInto(&out.AggregationRoleTemplates) 399 if in.Rules != nil { 400 in, out := &in.Rules, &out.Rules 401 *out = make([]v1.PolicyRule, len(*in)) 402 for i := range *in { 403 (*in)[i].DeepCopyInto(&(*out)[i]) 404 } 405 } 406 } 407 408 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role. 409 func (in *Role) DeepCopy() *Role { 410 if in == nil { 411 return nil 412 } 413 out := new(Role) 414 in.DeepCopyInto(out) 415 return out 416 } 417 418 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 419 func (in *Role) DeepCopyObject() runtime.Object { 420 if c := in.DeepCopy(); c != nil { 421 return c 422 } 423 return nil 424 } 425 426 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 427 func (in *RoleBinding) DeepCopyInto(out *RoleBinding) { 428 *out = *in 429 out.TypeMeta = in.TypeMeta 430 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 431 if in.Subjects != nil { 432 in, out := &in.Subjects, &out.Subjects 433 *out = make([]v1.Subject, len(*in)) 434 copy(*out, *in) 435 } 436 out.RoleRef = in.RoleRef 437 } 438 439 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. 440 func (in *RoleBinding) DeepCopy() *RoleBinding { 441 if in == nil { 442 return nil 443 } 444 out := new(RoleBinding) 445 in.DeepCopyInto(out) 446 return out 447 } 448 449 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 450 func (in *RoleBinding) DeepCopyObject() runtime.Object { 451 if c := in.DeepCopy(); c != nil { 452 return c 453 } 454 return nil 455 } 456 457 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 458 func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) { 459 *out = *in 460 out.TypeMeta = in.TypeMeta 461 in.ListMeta.DeepCopyInto(&out.ListMeta) 462 if in.Items != nil { 463 in, out := &in.Items, &out.Items 464 *out = make([]RoleBinding, len(*in)) 465 for i := range *in { 466 (*in)[i].DeepCopyInto(&(*out)[i]) 467 } 468 } 469 } 470 471 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. 472 func (in *RoleBindingList) DeepCopy() *RoleBindingList { 473 if in == nil { 474 return nil 475 } 476 out := new(RoleBindingList) 477 in.DeepCopyInto(out) 478 return out 479 } 480 481 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 482 func (in *RoleBindingList) DeepCopyObject() runtime.Object { 483 if c := in.DeepCopy(); c != nil { 484 return c 485 } 486 return nil 487 } 488 489 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 490 func (in *RoleList) DeepCopyInto(out *RoleList) { 491 *out = *in 492 out.TypeMeta = in.TypeMeta 493 in.ListMeta.DeepCopyInto(&out.ListMeta) 494 if in.Items != nil { 495 in, out := &in.Items, &out.Items 496 *out = make([]Role, len(*in)) 497 for i := range *in { 498 (*in)[i].DeepCopyInto(&(*out)[i]) 499 } 500 } 501 } 502 503 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. 504 func (in *RoleList) DeepCopy() *RoleList { 505 if in == nil { 506 return nil 507 } 508 out := new(RoleList) 509 in.DeepCopyInto(out) 510 return out 511 } 512 513 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 514 func (in *RoleList) DeepCopyObject() runtime.Object { 515 if c := in.DeepCopy(); c != nil { 516 return c 517 } 518 return nil 519 } 520 521 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 522 func (in *RoleTemplate) DeepCopyInto(out *RoleTemplate) { 523 *out = *in 524 out.TypeMeta = in.TypeMeta 525 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 526 in.Spec.DeepCopyInto(&out.Spec) 527 } 528 529 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplate. 530 func (in *RoleTemplate) DeepCopy() *RoleTemplate { 531 if in == nil { 532 return nil 533 } 534 out := new(RoleTemplate) 535 in.DeepCopyInto(out) 536 return out 537 } 538 539 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 540 func (in *RoleTemplate) DeepCopyObject() runtime.Object { 541 if c := in.DeepCopy(); c != nil { 542 return c 543 } 544 return nil 545 } 546 547 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 548 func (in *RoleTemplateList) DeepCopyInto(out *RoleTemplateList) { 549 *out = *in 550 out.TypeMeta = in.TypeMeta 551 in.ListMeta.DeepCopyInto(&out.ListMeta) 552 if in.Items != nil { 553 in, out := &in.Items, &out.Items 554 *out = make([]RoleTemplate, len(*in)) 555 for i := range *in { 556 (*in)[i].DeepCopyInto(&(*out)[i]) 557 } 558 } 559 } 560 561 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateList. 562 func (in *RoleTemplateList) DeepCopy() *RoleTemplateList { 563 if in == nil { 564 return nil 565 } 566 out := new(RoleTemplateList) 567 in.DeepCopyInto(out) 568 return out 569 } 570 571 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 572 func (in *RoleTemplateList) DeepCopyObject() runtime.Object { 573 if c := in.DeepCopy(); c != nil { 574 return c 575 } 576 return nil 577 } 578 579 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 580 func (in *RoleTemplateSpec) DeepCopyInto(out *RoleTemplateSpec) { 581 *out = *in 582 if in.DisplayName != nil { 583 in, out := &in.DisplayName, &out.DisplayName 584 *out = make(map[string]string, len(*in)) 585 for key, val := range *in { 586 (*out)[key] = val 587 } 588 } 589 if in.Description != nil { 590 in, out := &in.Description, &out.Description 591 *out = make(map[string]string, len(*in)) 592 for key, val := range *in { 593 (*out)[key] = val 594 } 595 } 596 if in.Rules != nil { 597 in, out := &in.Rules, &out.Rules 598 *out = make([]v1.PolicyRule, len(*in)) 599 for i := range *in { 600 (*in)[i].DeepCopyInto(&(*out)[i]) 601 } 602 } 603 } 604 605 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateSpec. 606 func (in *RoleTemplateSpec) DeepCopy() *RoleTemplateSpec { 607 if in == nil { 608 return nil 609 } 610 out := new(RoleTemplateSpec) 611 in.DeepCopyInto(out) 612 return out 613 } 614 615 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 616 func (in *WorkspaceRole) DeepCopyInto(out *WorkspaceRole) { 617 *out = *in 618 out.TypeMeta = in.TypeMeta 619 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 620 in.AggregationRoleTemplates.DeepCopyInto(&out.AggregationRoleTemplates) 621 if in.Rules != nil { 622 in, out := &in.Rules, &out.Rules 623 *out = make([]v1.PolicyRule, len(*in)) 624 for i := range *in { 625 (*in)[i].DeepCopyInto(&(*out)[i]) 626 } 627 } 628 } 629 630 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRole. 631 func (in *WorkspaceRole) DeepCopy() *WorkspaceRole { 632 if in == nil { 633 return nil 634 } 635 out := new(WorkspaceRole) 636 in.DeepCopyInto(out) 637 return out 638 } 639 640 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 641 func (in *WorkspaceRole) DeepCopyObject() runtime.Object { 642 if c := in.DeepCopy(); c != nil { 643 return c 644 } 645 return nil 646 } 647 648 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 649 func (in *WorkspaceRoleBinding) DeepCopyInto(out *WorkspaceRoleBinding) { 650 *out = *in 651 out.TypeMeta = in.TypeMeta 652 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 653 if in.Subjects != nil { 654 in, out := &in.Subjects, &out.Subjects 655 *out = make([]v1.Subject, len(*in)) 656 copy(*out, *in) 657 } 658 out.RoleRef = in.RoleRef 659 } 660 661 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRoleBinding. 662 func (in *WorkspaceRoleBinding) DeepCopy() *WorkspaceRoleBinding { 663 if in == nil { 664 return nil 665 } 666 out := new(WorkspaceRoleBinding) 667 in.DeepCopyInto(out) 668 return out 669 } 670 671 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 672 func (in *WorkspaceRoleBinding) DeepCopyObject() runtime.Object { 673 if c := in.DeepCopy(); c != nil { 674 return c 675 } 676 return nil 677 } 678 679 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 680 func (in *WorkspaceRoleBindingList) DeepCopyInto(out *WorkspaceRoleBindingList) { 681 *out = *in 682 out.TypeMeta = in.TypeMeta 683 in.ListMeta.DeepCopyInto(&out.ListMeta) 684 if in.Items != nil { 685 in, out := &in.Items, &out.Items 686 *out = make([]WorkspaceRoleBinding, len(*in)) 687 for i := range *in { 688 (*in)[i].DeepCopyInto(&(*out)[i]) 689 } 690 } 691 } 692 693 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRoleBindingList. 694 func (in *WorkspaceRoleBindingList) DeepCopy() *WorkspaceRoleBindingList { 695 if in == nil { 696 return nil 697 } 698 out := new(WorkspaceRoleBindingList) 699 in.DeepCopyInto(out) 700 return out 701 } 702 703 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 704 func (in *WorkspaceRoleBindingList) DeepCopyObject() runtime.Object { 705 if c := in.DeepCopy(); c != nil { 706 return c 707 } 708 return nil 709 } 710 711 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 712 func (in *WorkspaceRoleList) DeepCopyInto(out *WorkspaceRoleList) { 713 *out = *in 714 out.TypeMeta = in.TypeMeta 715 in.ListMeta.DeepCopyInto(&out.ListMeta) 716 if in.Items != nil { 717 in, out := &in.Items, &out.Items 718 *out = make([]WorkspaceRole, len(*in)) 719 for i := range *in { 720 (*in)[i].DeepCopyInto(&(*out)[i]) 721 } 722 } 723 } 724 725 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRoleList. 726 func (in *WorkspaceRoleList) DeepCopy() *WorkspaceRoleList { 727 if in == nil { 728 return nil 729 } 730 out := new(WorkspaceRoleList) 731 in.DeepCopyInto(out) 732 return out 733 } 734 735 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 736 func (in *WorkspaceRoleList) DeepCopyObject() runtime.Object { 737 if c := in.DeepCopy(); c != nil { 738 return c 739 } 740 return nil 741 }