zz_generated.deepcopy.go 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. //go:build !ignore_autogenerated
  2. // +build !ignore_autogenerated
  3. /*
  4. Copyright The Kubernetes Authors.
  5. Licensed under the Apache License, Version 2.0 (the "License");
  6. you may not use this file except in compliance with the License.
  7. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. */
  15. // Code generated by deepcopy-gen. DO NOT EDIT.
  16. package v1alpha1
  17. import (
  18. v1 "k8s.io/api/core/v1"
  19. runtime "k8s.io/apimachinery/pkg/runtime"
  20. )
  21. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  22. func (in *ClusterCIDR) DeepCopyInto(out *ClusterCIDR) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. in.Spec.DeepCopyInto(&out.Spec)
  27. return
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDR.
  30. func (in *ClusterCIDR) DeepCopy() *ClusterCIDR {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(ClusterCIDR)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  39. func (in *ClusterCIDR) DeepCopyObject() runtime.Object {
  40. if c := in.DeepCopy(); c != nil {
  41. return c
  42. }
  43. return nil
  44. }
  45. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  46. func (in *ClusterCIDRList) DeepCopyInto(out *ClusterCIDRList) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ListMeta.DeepCopyInto(&out.ListMeta)
  50. if in.Items != nil {
  51. in, out := &in.Items, &out.Items
  52. *out = make([]ClusterCIDR, len(*in))
  53. for i := range *in {
  54. (*in)[i].DeepCopyInto(&(*out)[i])
  55. }
  56. }
  57. return
  58. }
  59. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRList.
  60. func (in *ClusterCIDRList) DeepCopy() *ClusterCIDRList {
  61. if in == nil {
  62. return nil
  63. }
  64. out := new(ClusterCIDRList)
  65. in.DeepCopyInto(out)
  66. return out
  67. }
  68. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  69. func (in *ClusterCIDRList) DeepCopyObject() runtime.Object {
  70. if c := in.DeepCopy(); c != nil {
  71. return c
  72. }
  73. return nil
  74. }
  75. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  76. func (in *ClusterCIDRSpec) DeepCopyInto(out *ClusterCIDRSpec) {
  77. *out = *in
  78. if in.NodeSelector != nil {
  79. in, out := &in.NodeSelector, &out.NodeSelector
  80. *out = new(v1.NodeSelector)
  81. (*in).DeepCopyInto(*out)
  82. }
  83. return
  84. }
  85. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRSpec.
  86. func (in *ClusterCIDRSpec) DeepCopy() *ClusterCIDRSpec {
  87. if in == nil {
  88. return nil
  89. }
  90. out := new(ClusterCIDRSpec)
  91. in.DeepCopyInto(out)
  92. return out
  93. }