zz_generated.deepcopy.go 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package v1beta1
  16. import (
  17. v1 "k8s.io/api/core/v1"
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. )
  20. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  21. func (in *Endpoint) DeepCopyInto(out *Endpoint) {
  22. *out = *in
  23. if in.Addresses != nil {
  24. in, out := &in.Addresses, &out.Addresses
  25. *out = make([]string, len(*in))
  26. copy(*out, *in)
  27. }
  28. in.Conditions.DeepCopyInto(&out.Conditions)
  29. if in.Hostname != nil {
  30. in, out := &in.Hostname, &out.Hostname
  31. *out = new(string)
  32. **out = **in
  33. }
  34. if in.TargetRef != nil {
  35. in, out := &in.TargetRef, &out.TargetRef
  36. *out = new(v1.ObjectReference)
  37. **out = **in
  38. }
  39. if in.Topology != nil {
  40. in, out := &in.Topology, &out.Topology
  41. *out = make(map[string]string, len(*in))
  42. for key, val := range *in {
  43. (*out)[key] = val
  44. }
  45. }
  46. if in.NodeName != nil {
  47. in, out := &in.NodeName, &out.NodeName
  48. *out = new(string)
  49. **out = **in
  50. }
  51. if in.Hints != nil {
  52. in, out := &in.Hints, &out.Hints
  53. *out = new(EndpointHints)
  54. (*in).DeepCopyInto(*out)
  55. }
  56. return
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
  59. func (in *Endpoint) DeepCopy() *Endpoint {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(Endpoint)
  64. in.DeepCopyInto(out)
  65. return out
  66. }
  67. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  68. func (in *EndpointConditions) DeepCopyInto(out *EndpointConditions) {
  69. *out = *in
  70. if in.Ready != nil {
  71. in, out := &in.Ready, &out.Ready
  72. *out = new(bool)
  73. **out = **in
  74. }
  75. if in.Serving != nil {
  76. in, out := &in.Serving, &out.Serving
  77. *out = new(bool)
  78. **out = **in
  79. }
  80. if in.Terminating != nil {
  81. in, out := &in.Terminating, &out.Terminating
  82. *out = new(bool)
  83. **out = **in
  84. }
  85. return
  86. }
  87. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointConditions.
  88. func (in *EndpointConditions) DeepCopy() *EndpointConditions {
  89. if in == nil {
  90. return nil
  91. }
  92. out := new(EndpointConditions)
  93. in.DeepCopyInto(out)
  94. return out
  95. }
  96. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  97. func (in *EndpointHints) DeepCopyInto(out *EndpointHints) {
  98. *out = *in
  99. if in.ForZones != nil {
  100. in, out := &in.ForZones, &out.ForZones
  101. *out = make([]ForZone, len(*in))
  102. copy(*out, *in)
  103. }
  104. return
  105. }
  106. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointHints.
  107. func (in *EndpointHints) DeepCopy() *EndpointHints {
  108. if in == nil {
  109. return nil
  110. }
  111. out := new(EndpointHints)
  112. in.DeepCopyInto(out)
  113. return out
  114. }
  115. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  116. func (in *EndpointPort) DeepCopyInto(out *EndpointPort) {
  117. *out = *in
  118. if in.Name != nil {
  119. in, out := &in.Name, &out.Name
  120. *out = new(string)
  121. **out = **in
  122. }
  123. if in.Protocol != nil {
  124. in, out := &in.Protocol, &out.Protocol
  125. *out = new(v1.Protocol)
  126. **out = **in
  127. }
  128. if in.Port != nil {
  129. in, out := &in.Port, &out.Port
  130. *out = new(int32)
  131. **out = **in
  132. }
  133. if in.AppProtocol != nil {
  134. in, out := &in.AppProtocol, &out.AppProtocol
  135. *out = new(string)
  136. **out = **in
  137. }
  138. return
  139. }
  140. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort.
  141. func (in *EndpointPort) DeepCopy() *EndpointPort {
  142. if in == nil {
  143. return nil
  144. }
  145. out := new(EndpointPort)
  146. in.DeepCopyInto(out)
  147. return out
  148. }
  149. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  150. func (in *EndpointSlice) DeepCopyInto(out *EndpointSlice) {
  151. *out = *in
  152. out.TypeMeta = in.TypeMeta
  153. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  154. if in.Endpoints != nil {
  155. in, out := &in.Endpoints, &out.Endpoints
  156. *out = make([]Endpoint, len(*in))
  157. for i := range *in {
  158. (*in)[i].DeepCopyInto(&(*out)[i])
  159. }
  160. }
  161. if in.Ports != nil {
  162. in, out := &in.Ports, &out.Ports
  163. *out = make([]EndpointPort, len(*in))
  164. for i := range *in {
  165. (*in)[i].DeepCopyInto(&(*out)[i])
  166. }
  167. }
  168. return
  169. }
  170. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSlice.
  171. func (in *EndpointSlice) DeepCopy() *EndpointSlice {
  172. if in == nil {
  173. return nil
  174. }
  175. out := new(EndpointSlice)
  176. in.DeepCopyInto(out)
  177. return out
  178. }
  179. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  180. func (in *EndpointSlice) DeepCopyObject() runtime.Object {
  181. if c := in.DeepCopy(); c != nil {
  182. return c
  183. }
  184. return nil
  185. }
  186. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  187. func (in *EndpointSliceList) DeepCopyInto(out *EndpointSliceList) {
  188. *out = *in
  189. out.TypeMeta = in.TypeMeta
  190. in.ListMeta.DeepCopyInto(&out.ListMeta)
  191. if in.Items != nil {
  192. in, out := &in.Items, &out.Items
  193. *out = make([]EndpointSlice, len(*in))
  194. for i := range *in {
  195. (*in)[i].DeepCopyInto(&(*out)[i])
  196. }
  197. }
  198. return
  199. }
  200. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSliceList.
  201. func (in *EndpointSliceList) DeepCopy() *EndpointSliceList {
  202. if in == nil {
  203. return nil
  204. }
  205. out := new(EndpointSliceList)
  206. in.DeepCopyInto(out)
  207. return out
  208. }
  209. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  210. func (in *EndpointSliceList) DeepCopyObject() runtime.Object {
  211. if c := in.DeepCopy(); c != nil {
  212. return c
  213. }
  214. return nil
  215. }
  216. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  217. func (in *ForZone) DeepCopyInto(out *ForZone) {
  218. *out = *in
  219. return
  220. }
  221. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForZone.
  222. func (in *ForZone) DeepCopy() *ForZone {
  223. if in == nil {
  224. return nil
  225. }
  226. out := new(ForZone)
  227. in.DeepCopyInto(out)
  228. return out
  229. }