kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/iam/v1alpha2/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 v1alpha2 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 *ClusterSelector) DeepCopyInto(out *ClusterSelector) { 31 *out = *in 32 if in.MatchLabels != nil { 33 in, out := &in.MatchLabels, &out.MatchLabels 34 *out = make(map[string]string, len(*in)) 35 for key, val := range *in { 36 (*out)[key] = val 37 } 38 } 39 } 40 41 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelector. 42 func (in *ClusterSelector) DeepCopy() *ClusterSelector { 43 if in == nil { 44 return nil 45 } 46 out := new(ClusterSelector) 47 in.DeepCopyInto(out) 48 return out 49 } 50 51 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 52 func (in *GlobalRole) DeepCopyInto(out *GlobalRole) { 53 *out = *in 54 out.TypeMeta = in.TypeMeta 55 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 56 if in.Rules != nil { 57 in, out := &in.Rules, &out.Rules 58 *out = make([]v1.PolicyRule, len(*in)) 59 for i := range *in { 60 (*in)[i].DeepCopyInto(&(*out)[i]) 61 } 62 } 63 } 64 65 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRole. 66 func (in *GlobalRole) DeepCopy() *GlobalRole { 67 if in == nil { 68 return nil 69 } 70 out := new(GlobalRole) 71 in.DeepCopyInto(out) 72 return out 73 } 74 75 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 76 func (in *GlobalRole) DeepCopyObject() runtime.Object { 77 if c := in.DeepCopy(); c != nil { 78 return c 79 } 80 return nil 81 } 82 83 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 84 func (in *GlobalRoleBinding) DeepCopyInto(out *GlobalRoleBinding) { 85 *out = *in 86 out.TypeMeta = in.TypeMeta 87 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 88 if in.Subjects != nil { 89 in, out := &in.Subjects, &out.Subjects 90 *out = make([]v1.Subject, len(*in)) 91 copy(*out, *in) 92 } 93 out.RoleRef = in.RoleRef 94 } 95 96 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleBinding. 97 func (in *GlobalRoleBinding) DeepCopy() *GlobalRoleBinding { 98 if in == nil { 99 return nil 100 } 101 out := new(GlobalRoleBinding) 102 in.DeepCopyInto(out) 103 return out 104 } 105 106 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 107 func (in *GlobalRoleBinding) DeepCopyObject() runtime.Object { 108 if c := in.DeepCopy(); c != nil { 109 return c 110 } 111 return nil 112 } 113 114 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 115 func (in *GlobalRoleBindingList) DeepCopyInto(out *GlobalRoleBindingList) { 116 *out = *in 117 out.TypeMeta = in.TypeMeta 118 in.ListMeta.DeepCopyInto(&out.ListMeta) 119 if in.Items != nil { 120 in, out := &in.Items, &out.Items 121 *out = make([]GlobalRoleBinding, len(*in)) 122 for i := range *in { 123 (*in)[i].DeepCopyInto(&(*out)[i]) 124 } 125 } 126 } 127 128 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleBindingList. 129 func (in *GlobalRoleBindingList) DeepCopy() *GlobalRoleBindingList { 130 if in == nil { 131 return nil 132 } 133 out := new(GlobalRoleBindingList) 134 in.DeepCopyInto(out) 135 return out 136 } 137 138 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 139 func (in *GlobalRoleBindingList) DeepCopyObject() runtime.Object { 140 if c := in.DeepCopy(); c != nil { 141 return c 142 } 143 return nil 144 } 145 146 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 147 func (in *GlobalRoleList) DeepCopyInto(out *GlobalRoleList) { 148 *out = *in 149 out.TypeMeta = in.TypeMeta 150 in.ListMeta.DeepCopyInto(&out.ListMeta) 151 if in.Items != nil { 152 in, out := &in.Items, &out.Items 153 *out = make([]GlobalRole, len(*in)) 154 for i := range *in { 155 (*in)[i].DeepCopyInto(&(*out)[i]) 156 } 157 } 158 } 159 160 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleList. 161 func (in *GlobalRoleList) DeepCopy() *GlobalRoleList { 162 if in == nil { 163 return nil 164 } 165 out := new(GlobalRoleList) 166 in.DeepCopyInto(out) 167 return out 168 } 169 170 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 171 func (in *GlobalRoleList) DeepCopyObject() runtime.Object { 172 if c := in.DeepCopy(); c != nil { 173 return c 174 } 175 return nil 176 } 177 178 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 179 func (in *Group) DeepCopyInto(out *Group) { 180 *out = *in 181 out.TypeMeta = in.TypeMeta 182 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 183 out.Spec = in.Spec 184 out.Status = in.Status 185 } 186 187 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group. 188 func (in *Group) DeepCopy() *Group { 189 if in == nil { 190 return nil 191 } 192 out := new(Group) 193 in.DeepCopyInto(out) 194 return out 195 } 196 197 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 198 func (in *Group) DeepCopyObject() runtime.Object { 199 if c := in.DeepCopy(); c != nil { 200 return c 201 } 202 return nil 203 } 204 205 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 206 func (in *GroupBinding) DeepCopyInto(out *GroupBinding) { 207 *out = *in 208 out.TypeMeta = in.TypeMeta 209 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 210 out.GroupRef = in.GroupRef 211 if in.Users != nil { 212 in, out := &in.Users, &out.Users 213 *out = make([]string, len(*in)) 214 copy(*out, *in) 215 } 216 } 217 218 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupBinding. 219 func (in *GroupBinding) DeepCopy() *GroupBinding { 220 if in == nil { 221 return nil 222 } 223 out := new(GroupBinding) 224 in.DeepCopyInto(out) 225 return out 226 } 227 228 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 229 func (in *GroupBinding) DeepCopyObject() runtime.Object { 230 if c := in.DeepCopy(); c != nil { 231 return c 232 } 233 return nil 234 } 235 236 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 237 func (in *GroupBindingList) DeepCopyInto(out *GroupBindingList) { 238 *out = *in 239 out.TypeMeta = in.TypeMeta 240 in.ListMeta.DeepCopyInto(&out.ListMeta) 241 if in.Items != nil { 242 in, out := &in.Items, &out.Items 243 *out = make([]GroupBinding, len(*in)) 244 for i := range *in { 245 (*in)[i].DeepCopyInto(&(*out)[i]) 246 } 247 } 248 } 249 250 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupBindingList. 251 func (in *GroupBindingList) DeepCopy() *GroupBindingList { 252 if in == nil { 253 return nil 254 } 255 out := new(GroupBindingList) 256 in.DeepCopyInto(out) 257 return out 258 } 259 260 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 261 func (in *GroupBindingList) DeepCopyObject() runtime.Object { 262 if c := in.DeepCopy(); c != nil { 263 return c 264 } 265 return nil 266 } 267 268 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 269 func (in *GroupList) DeepCopyInto(out *GroupList) { 270 *out = *in 271 out.TypeMeta = in.TypeMeta 272 in.ListMeta.DeepCopyInto(&out.ListMeta) 273 if in.Items != nil { 274 in, out := &in.Items, &out.Items 275 *out = make([]Group, len(*in)) 276 for i := range *in { 277 (*in)[i].DeepCopyInto(&(*out)[i]) 278 } 279 } 280 } 281 282 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList. 283 func (in *GroupList) DeepCopy() *GroupList { 284 if in == nil { 285 return nil 286 } 287 out := new(GroupList) 288 in.DeepCopyInto(out) 289 return out 290 } 291 292 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 293 func (in *GroupList) DeepCopyObject() runtime.Object { 294 if c := in.DeepCopy(); c != nil { 295 return c 296 } 297 return nil 298 } 299 300 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 301 func (in *GroupRef) DeepCopyInto(out *GroupRef) { 302 *out = *in 303 } 304 305 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupRef. 306 func (in *GroupRef) DeepCopy() *GroupRef { 307 if in == nil { 308 return nil 309 } 310 out := new(GroupRef) 311 in.DeepCopyInto(out) 312 return out 313 } 314 315 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 316 func (in *GroupSpec) DeepCopyInto(out *GroupSpec) { 317 *out = *in 318 } 319 320 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec. 321 func (in *GroupSpec) DeepCopy() *GroupSpec { 322 if in == nil { 323 return nil 324 } 325 out := new(GroupSpec) 326 in.DeepCopyInto(out) 327 return out 328 } 329 330 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 331 func (in *GroupStatus) DeepCopyInto(out *GroupStatus) { 332 *out = *in 333 } 334 335 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupStatus. 336 func (in *GroupStatus) DeepCopy() *GroupStatus { 337 if in == nil { 338 return nil 339 } 340 out := new(GroupStatus) 341 in.DeepCopyInto(out) 342 return out 343 } 344 345 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 346 func (in *LoginRecord) DeepCopyInto(out *LoginRecord) { 347 *out = *in 348 out.TypeMeta = in.TypeMeta 349 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 350 out.Spec = in.Spec 351 } 352 353 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoginRecord. 354 func (in *LoginRecord) DeepCopy() *LoginRecord { 355 if in == nil { 356 return nil 357 } 358 out := new(LoginRecord) 359 in.DeepCopyInto(out) 360 return out 361 } 362 363 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 364 func (in *LoginRecord) DeepCopyObject() runtime.Object { 365 if c := in.DeepCopy(); c != nil { 366 return c 367 } 368 return nil 369 } 370 371 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 372 func (in *LoginRecordList) DeepCopyInto(out *LoginRecordList) { 373 *out = *in 374 out.TypeMeta = in.TypeMeta 375 in.ListMeta.DeepCopyInto(&out.ListMeta) 376 if in.Items != nil { 377 in, out := &in.Items, &out.Items 378 *out = make([]LoginRecord, len(*in)) 379 for i := range *in { 380 (*in)[i].DeepCopyInto(&(*out)[i]) 381 } 382 } 383 } 384 385 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoginRecordList. 386 func (in *LoginRecordList) DeepCopy() *LoginRecordList { 387 if in == nil { 388 return nil 389 } 390 out := new(LoginRecordList) 391 in.DeepCopyInto(out) 392 return out 393 } 394 395 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 396 func (in *LoginRecordList) DeepCopyObject() runtime.Object { 397 if c := in.DeepCopy(); c != nil { 398 return c 399 } 400 return nil 401 } 402 403 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 404 func (in *LoginRecordSpec) DeepCopyInto(out *LoginRecordSpec) { 405 *out = *in 406 } 407 408 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoginRecordSpec. 409 func (in *LoginRecordSpec) DeepCopy() *LoginRecordSpec { 410 if in == nil { 411 return nil 412 } 413 out := new(LoginRecordSpec) 414 in.DeepCopyInto(out) 415 return out 416 } 417 418 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 419 func (in *RoleBase) DeepCopyInto(out *RoleBase) { 420 *out = *in 421 out.TypeMeta = in.TypeMeta 422 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 423 in.Role.DeepCopyInto(&out.Role) 424 } 425 426 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBase. 427 func (in *RoleBase) DeepCopy() *RoleBase { 428 if in == nil { 429 return nil 430 } 431 out := new(RoleBase) 432 in.DeepCopyInto(out) 433 return out 434 } 435 436 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 437 func (in *RoleBase) DeepCopyObject() runtime.Object { 438 if c := in.DeepCopy(); c != nil { 439 return c 440 } 441 return nil 442 } 443 444 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 445 func (in *RoleBaseList) DeepCopyInto(out *RoleBaseList) { 446 *out = *in 447 out.TypeMeta = in.TypeMeta 448 in.ListMeta.DeepCopyInto(&out.ListMeta) 449 if in.Items != nil { 450 in, out := &in.Items, &out.Items 451 *out = make([]RoleBase, len(*in)) 452 for i := range *in { 453 (*in)[i].DeepCopyInto(&(*out)[i]) 454 } 455 } 456 } 457 458 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBaseList. 459 func (in *RoleBaseList) DeepCopy() *RoleBaseList { 460 if in == nil { 461 return nil 462 } 463 out := new(RoleBaseList) 464 in.DeepCopyInto(out) 465 return out 466 } 467 468 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 469 func (in *RoleBaseList) DeepCopyObject() runtime.Object { 470 if c := in.DeepCopy(); c != nil { 471 return c 472 } 473 return nil 474 } 475 476 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 477 func (in *User) DeepCopyInto(out *User) { 478 *out = *in 479 out.TypeMeta = in.TypeMeta 480 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 481 in.Spec.DeepCopyInto(&out.Spec) 482 in.Status.DeepCopyInto(&out.Status) 483 } 484 485 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User. 486 func (in *User) DeepCopy() *User { 487 if in == nil { 488 return nil 489 } 490 out := new(User) 491 in.DeepCopyInto(out) 492 return out 493 } 494 495 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 496 func (in *User) DeepCopyObject() runtime.Object { 497 if c := in.DeepCopy(); c != nil { 498 return c 499 } 500 return nil 501 } 502 503 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 504 func (in *UserList) DeepCopyInto(out *UserList) { 505 *out = *in 506 out.TypeMeta = in.TypeMeta 507 in.ListMeta.DeepCopyInto(&out.ListMeta) 508 if in.Items != nil { 509 in, out := &in.Items, &out.Items 510 *out = make([]User, len(*in)) 511 for i := range *in { 512 (*in)[i].DeepCopyInto(&(*out)[i]) 513 } 514 } 515 } 516 517 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList. 518 func (in *UserList) DeepCopy() *UserList { 519 if in == nil { 520 return nil 521 } 522 out := new(UserList) 523 in.DeepCopyInto(out) 524 return out 525 } 526 527 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 528 func (in *UserList) DeepCopyObject() runtime.Object { 529 if c := in.DeepCopy(); c != nil { 530 return c 531 } 532 return nil 533 } 534 535 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 536 func (in *UserSpec) DeepCopyInto(out *UserSpec) { 537 *out = *in 538 if in.Groups != nil { 539 in, out := &in.Groups, &out.Groups 540 *out = make([]string, len(*in)) 541 copy(*out, *in) 542 } 543 } 544 545 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec. 546 func (in *UserSpec) DeepCopy() *UserSpec { 547 if in == nil { 548 return nil 549 } 550 out := new(UserSpec) 551 in.DeepCopyInto(out) 552 return out 553 } 554 555 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 556 func (in *UserStatus) DeepCopyInto(out *UserStatus) { 557 *out = *in 558 if in.LastTransitionTime != nil { 559 in, out := &in.LastTransitionTime, &out.LastTransitionTime 560 *out = (*in).DeepCopy() 561 } 562 if in.LastLoginTime != nil { 563 in, out := &in.LastLoginTime, &out.LastLoginTime 564 *out = (*in).DeepCopy() 565 } 566 } 567 568 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus. 569 func (in *UserStatus) DeepCopy() *UserStatus { 570 if in == nil { 571 return nil 572 } 573 out := new(UserStatus) 574 in.DeepCopyInto(out) 575 return out 576 } 577 578 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 579 func (in *WorkspaceRole) DeepCopyInto(out *WorkspaceRole) { 580 *out = *in 581 out.TypeMeta = in.TypeMeta 582 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 583 if in.Rules != nil { 584 in, out := &in.Rules, &out.Rules 585 *out = make([]v1.PolicyRule, len(*in)) 586 for i := range *in { 587 (*in)[i].DeepCopyInto(&(*out)[i]) 588 } 589 } 590 } 591 592 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRole. 593 func (in *WorkspaceRole) DeepCopy() *WorkspaceRole { 594 if in == nil { 595 return nil 596 } 597 out := new(WorkspaceRole) 598 in.DeepCopyInto(out) 599 return out 600 } 601 602 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 603 func (in *WorkspaceRole) DeepCopyObject() runtime.Object { 604 if c := in.DeepCopy(); c != nil { 605 return c 606 } 607 return nil 608 } 609 610 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 611 func (in *WorkspaceRoleBinding) DeepCopyInto(out *WorkspaceRoleBinding) { 612 *out = *in 613 out.TypeMeta = in.TypeMeta 614 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 615 if in.Subjects != nil { 616 in, out := &in.Subjects, &out.Subjects 617 *out = make([]v1.Subject, len(*in)) 618 copy(*out, *in) 619 } 620 out.RoleRef = in.RoleRef 621 } 622 623 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRoleBinding. 624 func (in *WorkspaceRoleBinding) DeepCopy() *WorkspaceRoleBinding { 625 if in == nil { 626 return nil 627 } 628 out := new(WorkspaceRoleBinding) 629 in.DeepCopyInto(out) 630 return out 631 } 632 633 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 634 func (in *WorkspaceRoleBinding) DeepCopyObject() runtime.Object { 635 if c := in.DeepCopy(); c != nil { 636 return c 637 } 638 return nil 639 } 640 641 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 642 func (in *WorkspaceRoleBindingList) DeepCopyInto(out *WorkspaceRoleBindingList) { 643 *out = *in 644 out.TypeMeta = in.TypeMeta 645 in.ListMeta.DeepCopyInto(&out.ListMeta) 646 if in.Items != nil { 647 in, out := &in.Items, &out.Items 648 *out = make([]WorkspaceRoleBinding, len(*in)) 649 for i := range *in { 650 (*in)[i].DeepCopyInto(&(*out)[i]) 651 } 652 } 653 } 654 655 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRoleBindingList. 656 func (in *WorkspaceRoleBindingList) DeepCopy() *WorkspaceRoleBindingList { 657 if in == nil { 658 return nil 659 } 660 out := new(WorkspaceRoleBindingList) 661 in.DeepCopyInto(out) 662 return out 663 } 664 665 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 666 func (in *WorkspaceRoleBindingList) DeepCopyObject() runtime.Object { 667 if c := in.DeepCopy(); c != nil { 668 return c 669 } 670 return nil 671 } 672 673 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 674 func (in *WorkspaceRoleList) DeepCopyInto(out *WorkspaceRoleList) { 675 *out = *in 676 out.TypeMeta = in.TypeMeta 677 in.ListMeta.DeepCopyInto(&out.ListMeta) 678 if in.Items != nil { 679 in, out := &in.Items, &out.Items 680 *out = make([]WorkspaceRole, len(*in)) 681 for i := range *in { 682 (*in)[i].DeepCopyInto(&(*out)[i]) 683 } 684 } 685 } 686 687 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceRoleList. 688 func (in *WorkspaceRoleList) DeepCopy() *WorkspaceRoleList { 689 if in == nil { 690 return nil 691 } 692 out := new(WorkspaceRoleList) 693 in.DeepCopyInto(out) 694 return out 695 } 696 697 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 698 func (in *WorkspaceRoleList) DeepCopyObject() runtime.Object { 699 if c := in.DeepCopy(); c != nil { 700 return c 701 } 702 return nil 703 }