zz_generated.deepcopy.go 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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 *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
  22. *out = *in
  23. if in.PathType != nil {
  24. in, out := &in.PathType, &out.PathType
  25. *out = new(PathType)
  26. **out = **in
  27. }
  28. in.Backend.DeepCopyInto(&out.Backend)
  29. return
  30. }
  31. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
  32. func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
  33. if in == nil {
  34. return nil
  35. }
  36. out := new(HTTPIngressPath)
  37. in.DeepCopyInto(out)
  38. return out
  39. }
  40. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  41. func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
  42. *out = *in
  43. if in.Paths != nil {
  44. in, out := &in.Paths, &out.Paths
  45. *out = make([]HTTPIngressPath, len(*in))
  46. for i := range *in {
  47. (*in)[i].DeepCopyInto(&(*out)[i])
  48. }
  49. }
  50. return
  51. }
  52. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
  53. func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
  54. if in == nil {
  55. return nil
  56. }
  57. out := new(HTTPIngressRuleValue)
  58. in.DeepCopyInto(out)
  59. return out
  60. }
  61. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  62. func (in *Ingress) DeepCopyInto(out *Ingress) {
  63. *out = *in
  64. out.TypeMeta = in.TypeMeta
  65. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  66. in.Spec.DeepCopyInto(&out.Spec)
  67. in.Status.DeepCopyInto(&out.Status)
  68. return
  69. }
  70. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
  71. func (in *Ingress) DeepCopy() *Ingress {
  72. if in == nil {
  73. return nil
  74. }
  75. out := new(Ingress)
  76. in.DeepCopyInto(out)
  77. return out
  78. }
  79. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  80. func (in *Ingress) DeepCopyObject() runtime.Object {
  81. if c := in.DeepCopy(); c != nil {
  82. return c
  83. }
  84. return nil
  85. }
  86. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  87. func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
  88. *out = *in
  89. out.ServicePort = in.ServicePort
  90. if in.Resource != nil {
  91. in, out := &in.Resource, &out.Resource
  92. *out = new(v1.TypedLocalObjectReference)
  93. (*in).DeepCopyInto(*out)
  94. }
  95. return
  96. }
  97. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
  98. func (in *IngressBackend) DeepCopy() *IngressBackend {
  99. if in == nil {
  100. return nil
  101. }
  102. out := new(IngressBackend)
  103. in.DeepCopyInto(out)
  104. return out
  105. }
  106. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  107. func (in *IngressClass) DeepCopyInto(out *IngressClass) {
  108. *out = *in
  109. out.TypeMeta = in.TypeMeta
  110. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  111. in.Spec.DeepCopyInto(&out.Spec)
  112. return
  113. }
  114. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
  115. func (in *IngressClass) DeepCopy() *IngressClass {
  116. if in == nil {
  117. return nil
  118. }
  119. out := new(IngressClass)
  120. in.DeepCopyInto(out)
  121. return out
  122. }
  123. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  124. func (in *IngressClass) DeepCopyObject() runtime.Object {
  125. if c := in.DeepCopy(); c != nil {
  126. return c
  127. }
  128. return nil
  129. }
  130. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  131. func (in *IngressClassList) DeepCopyInto(out *IngressClassList) {
  132. *out = *in
  133. out.TypeMeta = in.TypeMeta
  134. in.ListMeta.DeepCopyInto(&out.ListMeta)
  135. if in.Items != nil {
  136. in, out := &in.Items, &out.Items
  137. *out = make([]IngressClass, len(*in))
  138. for i := range *in {
  139. (*in)[i].DeepCopyInto(&(*out)[i])
  140. }
  141. }
  142. return
  143. }
  144. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
  145. func (in *IngressClassList) DeepCopy() *IngressClassList {
  146. if in == nil {
  147. return nil
  148. }
  149. out := new(IngressClassList)
  150. in.DeepCopyInto(out)
  151. return out
  152. }
  153. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  154. func (in *IngressClassList) DeepCopyObject() runtime.Object {
  155. if c := in.DeepCopy(); c != nil {
  156. return c
  157. }
  158. return nil
  159. }
  160. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  161. func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) {
  162. *out = *in
  163. if in.Parameters != nil {
  164. in, out := &in.Parameters, &out.Parameters
  165. *out = new(v1.TypedLocalObjectReference)
  166. (*in).DeepCopyInto(*out)
  167. }
  168. return
  169. }
  170. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
  171. func (in *IngressClassSpec) DeepCopy() *IngressClassSpec {
  172. if in == nil {
  173. return nil
  174. }
  175. out := new(IngressClassSpec)
  176. in.DeepCopyInto(out)
  177. return out
  178. }
  179. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  180. func (in *IngressList) DeepCopyInto(out *IngressList) {
  181. *out = *in
  182. out.TypeMeta = in.TypeMeta
  183. in.ListMeta.DeepCopyInto(&out.ListMeta)
  184. if in.Items != nil {
  185. in, out := &in.Items, &out.Items
  186. *out = make([]Ingress, len(*in))
  187. for i := range *in {
  188. (*in)[i].DeepCopyInto(&(*out)[i])
  189. }
  190. }
  191. return
  192. }
  193. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
  194. func (in *IngressList) DeepCopy() *IngressList {
  195. if in == nil {
  196. return nil
  197. }
  198. out := new(IngressList)
  199. in.DeepCopyInto(out)
  200. return out
  201. }
  202. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  203. func (in *IngressList) DeepCopyObject() runtime.Object {
  204. if c := in.DeepCopy(); c != nil {
  205. return c
  206. }
  207. return nil
  208. }
  209. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  210. func (in *IngressRule) DeepCopyInto(out *IngressRule) {
  211. *out = *in
  212. in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
  213. return
  214. }
  215. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  216. func (in *IngressRule) DeepCopy() *IngressRule {
  217. if in == nil {
  218. return nil
  219. }
  220. out := new(IngressRule)
  221. in.DeepCopyInto(out)
  222. return out
  223. }
  224. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  225. func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
  226. *out = *in
  227. if in.HTTP != nil {
  228. in, out := &in.HTTP, &out.HTTP
  229. *out = new(HTTPIngressRuleValue)
  230. (*in).DeepCopyInto(*out)
  231. }
  232. return
  233. }
  234. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
  235. func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
  236. if in == nil {
  237. return nil
  238. }
  239. out := new(IngressRuleValue)
  240. in.DeepCopyInto(out)
  241. return out
  242. }
  243. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  244. func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
  245. *out = *in
  246. if in.IngressClassName != nil {
  247. in, out := &in.IngressClassName, &out.IngressClassName
  248. *out = new(string)
  249. **out = **in
  250. }
  251. if in.Backend != nil {
  252. in, out := &in.Backend, &out.Backend
  253. *out = new(IngressBackend)
  254. (*in).DeepCopyInto(*out)
  255. }
  256. if in.TLS != nil {
  257. in, out := &in.TLS, &out.TLS
  258. *out = make([]IngressTLS, len(*in))
  259. for i := range *in {
  260. (*in)[i].DeepCopyInto(&(*out)[i])
  261. }
  262. }
  263. if in.Rules != nil {
  264. in, out := &in.Rules, &out.Rules
  265. *out = make([]IngressRule, len(*in))
  266. for i := range *in {
  267. (*in)[i].DeepCopyInto(&(*out)[i])
  268. }
  269. }
  270. return
  271. }
  272. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
  273. func (in *IngressSpec) DeepCopy() *IngressSpec {
  274. if in == nil {
  275. return nil
  276. }
  277. out := new(IngressSpec)
  278. in.DeepCopyInto(out)
  279. return out
  280. }
  281. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  282. func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
  283. *out = *in
  284. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  285. return
  286. }
  287. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
  288. func (in *IngressStatus) DeepCopy() *IngressStatus {
  289. if in == nil {
  290. return nil
  291. }
  292. out := new(IngressStatus)
  293. in.DeepCopyInto(out)
  294. return out
  295. }
  296. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  297. func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
  298. *out = *in
  299. if in.Hosts != nil {
  300. in, out := &in.Hosts, &out.Hosts
  301. *out = make([]string, len(*in))
  302. copy(*out, *in)
  303. }
  304. return
  305. }
  306. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
  307. func (in *IngressTLS) DeepCopy() *IngressTLS {
  308. if in == nil {
  309. return nil
  310. }
  311. out := new(IngressTLS)
  312. in.DeepCopyInto(out)
  313. return out
  314. }