zz_generated.deepcopy.go 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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. }
  94. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  95. func (in *IPAddress) DeepCopyInto(out *IPAddress) {
  96. *out = *in
  97. out.TypeMeta = in.TypeMeta
  98. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  99. in.Spec.DeepCopyInto(&out.Spec)
  100. return
  101. }
  102. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddress.
  103. func (in *IPAddress) DeepCopy() *IPAddress {
  104. if in == nil {
  105. return nil
  106. }
  107. out := new(IPAddress)
  108. in.DeepCopyInto(out)
  109. return out
  110. }
  111. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  112. func (in *IPAddress) DeepCopyObject() runtime.Object {
  113. if c := in.DeepCopy(); c != nil {
  114. return c
  115. }
  116. return nil
  117. }
  118. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  119. func (in *IPAddressList) DeepCopyInto(out *IPAddressList) {
  120. *out = *in
  121. out.TypeMeta = in.TypeMeta
  122. in.ListMeta.DeepCopyInto(&out.ListMeta)
  123. if in.Items != nil {
  124. in, out := &in.Items, &out.Items
  125. *out = make([]IPAddress, len(*in))
  126. for i := range *in {
  127. (*in)[i].DeepCopyInto(&(*out)[i])
  128. }
  129. }
  130. return
  131. }
  132. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressList.
  133. func (in *IPAddressList) DeepCopy() *IPAddressList {
  134. if in == nil {
  135. return nil
  136. }
  137. out := new(IPAddressList)
  138. in.DeepCopyInto(out)
  139. return out
  140. }
  141. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  142. func (in *IPAddressList) DeepCopyObject() runtime.Object {
  143. if c := in.DeepCopy(); c != nil {
  144. return c
  145. }
  146. return nil
  147. }
  148. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  149. func (in *IPAddressSpec) DeepCopyInto(out *IPAddressSpec) {
  150. *out = *in
  151. if in.ParentRef != nil {
  152. in, out := &in.ParentRef, &out.ParentRef
  153. *out = new(ParentReference)
  154. **out = **in
  155. }
  156. return
  157. }
  158. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressSpec.
  159. func (in *IPAddressSpec) DeepCopy() *IPAddressSpec {
  160. if in == nil {
  161. return nil
  162. }
  163. out := new(IPAddressSpec)
  164. in.DeepCopyInto(out)
  165. return out
  166. }
  167. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  168. func (in *ParentReference) DeepCopyInto(out *ParentReference) {
  169. *out = *in
  170. return
  171. }
  172. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentReference.
  173. func (in *ParentReference) DeepCopy() *ParentReference {
  174. if in == nil {
  175. return nil
  176. }
  177. out := new(ParentReference)
  178. in.DeepCopyInto(out)
  179. return out
  180. }