zz_generated.deepcopy.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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 v1beta1
  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 *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
  23. *out = *in
  24. if in.PathType != nil {
  25. in, out := &in.PathType, &out.PathType
  26. *out = new(PathType)
  27. **out = **in
  28. }
  29. in.Backend.DeepCopyInto(&out.Backend)
  30. return
  31. }
  32. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
  33. func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
  34. if in == nil {
  35. return nil
  36. }
  37. out := new(HTTPIngressPath)
  38. in.DeepCopyInto(out)
  39. return out
  40. }
  41. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  42. func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
  43. *out = *in
  44. if in.Paths != nil {
  45. in, out := &in.Paths, &out.Paths
  46. *out = make([]HTTPIngressPath, len(*in))
  47. for i := range *in {
  48. (*in)[i].DeepCopyInto(&(*out)[i])
  49. }
  50. }
  51. return
  52. }
  53. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
  54. func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
  55. if in == nil {
  56. return nil
  57. }
  58. out := new(HTTPIngressRuleValue)
  59. in.DeepCopyInto(out)
  60. return out
  61. }
  62. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  63. func (in *Ingress) DeepCopyInto(out *Ingress) {
  64. *out = *in
  65. out.TypeMeta = in.TypeMeta
  66. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  67. in.Spec.DeepCopyInto(&out.Spec)
  68. in.Status.DeepCopyInto(&out.Status)
  69. return
  70. }
  71. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
  72. func (in *Ingress) DeepCopy() *Ingress {
  73. if in == nil {
  74. return nil
  75. }
  76. out := new(Ingress)
  77. in.DeepCopyInto(out)
  78. return out
  79. }
  80. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  81. func (in *Ingress) DeepCopyObject() runtime.Object {
  82. if c := in.DeepCopy(); c != nil {
  83. return c
  84. }
  85. return nil
  86. }
  87. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  88. func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
  89. *out = *in
  90. out.ServicePort = in.ServicePort
  91. if in.Resource != nil {
  92. in, out := &in.Resource, &out.Resource
  93. *out = new(v1.TypedLocalObjectReference)
  94. (*in).DeepCopyInto(*out)
  95. }
  96. return
  97. }
  98. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
  99. func (in *IngressBackend) DeepCopy() *IngressBackend {
  100. if in == nil {
  101. return nil
  102. }
  103. out := new(IngressBackend)
  104. in.DeepCopyInto(out)
  105. return out
  106. }
  107. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  108. func (in *IngressClass) DeepCopyInto(out *IngressClass) {
  109. *out = *in
  110. out.TypeMeta = in.TypeMeta
  111. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  112. in.Spec.DeepCopyInto(&out.Spec)
  113. return
  114. }
  115. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
  116. func (in *IngressClass) DeepCopy() *IngressClass {
  117. if in == nil {
  118. return nil
  119. }
  120. out := new(IngressClass)
  121. in.DeepCopyInto(out)
  122. return out
  123. }
  124. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  125. func (in *IngressClass) DeepCopyObject() runtime.Object {
  126. if c := in.DeepCopy(); c != nil {
  127. return c
  128. }
  129. return nil
  130. }
  131. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  132. func (in *IngressClassList) DeepCopyInto(out *IngressClassList) {
  133. *out = *in
  134. out.TypeMeta = in.TypeMeta
  135. in.ListMeta.DeepCopyInto(&out.ListMeta)
  136. if in.Items != nil {
  137. in, out := &in.Items, &out.Items
  138. *out = make([]IngressClass, len(*in))
  139. for i := range *in {
  140. (*in)[i].DeepCopyInto(&(*out)[i])
  141. }
  142. }
  143. return
  144. }
  145. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
  146. func (in *IngressClassList) DeepCopy() *IngressClassList {
  147. if in == nil {
  148. return nil
  149. }
  150. out := new(IngressClassList)
  151. in.DeepCopyInto(out)
  152. return out
  153. }
  154. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  155. func (in *IngressClassList) DeepCopyObject() runtime.Object {
  156. if c := in.DeepCopy(); c != nil {
  157. return c
  158. }
  159. return nil
  160. }
  161. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  162. func (in *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference) {
  163. *out = *in
  164. if in.APIGroup != nil {
  165. in, out := &in.APIGroup, &out.APIGroup
  166. *out = new(string)
  167. **out = **in
  168. }
  169. if in.Scope != nil {
  170. in, out := &in.Scope, &out.Scope
  171. *out = new(string)
  172. **out = **in
  173. }
  174. if in.Namespace != nil {
  175. in, out := &in.Namespace, &out.Namespace
  176. *out = new(string)
  177. **out = **in
  178. }
  179. return
  180. }
  181. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
  182. func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference {
  183. if in == nil {
  184. return nil
  185. }
  186. out := new(IngressClassParametersReference)
  187. in.DeepCopyInto(out)
  188. return out
  189. }
  190. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  191. func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) {
  192. *out = *in
  193. if in.Parameters != nil {
  194. in, out := &in.Parameters, &out.Parameters
  195. *out = new(IngressClassParametersReference)
  196. (*in).DeepCopyInto(*out)
  197. }
  198. return
  199. }
  200. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
  201. func (in *IngressClassSpec) DeepCopy() *IngressClassSpec {
  202. if in == nil {
  203. return nil
  204. }
  205. out := new(IngressClassSpec)
  206. in.DeepCopyInto(out)
  207. return out
  208. }
  209. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  210. func (in *IngressList) DeepCopyInto(out *IngressList) {
  211. *out = *in
  212. out.TypeMeta = in.TypeMeta
  213. in.ListMeta.DeepCopyInto(&out.ListMeta)
  214. if in.Items != nil {
  215. in, out := &in.Items, &out.Items
  216. *out = make([]Ingress, len(*in))
  217. for i := range *in {
  218. (*in)[i].DeepCopyInto(&(*out)[i])
  219. }
  220. }
  221. return
  222. }
  223. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
  224. func (in *IngressList) DeepCopy() *IngressList {
  225. if in == nil {
  226. return nil
  227. }
  228. out := new(IngressList)
  229. in.DeepCopyInto(out)
  230. return out
  231. }
  232. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  233. func (in *IngressList) DeepCopyObject() runtime.Object {
  234. if c := in.DeepCopy(); c != nil {
  235. return c
  236. }
  237. return nil
  238. }
  239. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  240. func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress) {
  241. *out = *in
  242. if in.Ports != nil {
  243. in, out := &in.Ports, &out.Ports
  244. *out = make([]IngressPortStatus, len(*in))
  245. for i := range *in {
  246. (*in)[i].DeepCopyInto(&(*out)[i])
  247. }
  248. }
  249. return
  250. }
  251. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
  252. func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress {
  253. if in == nil {
  254. return nil
  255. }
  256. out := new(IngressLoadBalancerIngress)
  257. in.DeepCopyInto(out)
  258. return out
  259. }
  260. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  261. func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus) {
  262. *out = *in
  263. if in.Ingress != nil {
  264. in, out := &in.Ingress, &out.Ingress
  265. *out = make([]IngressLoadBalancerIngress, 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 IngressLoadBalancerStatus.
  273. func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus {
  274. if in == nil {
  275. return nil
  276. }
  277. out := new(IngressLoadBalancerStatus)
  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 *IngressPortStatus) DeepCopyInto(out *IngressPortStatus) {
  283. *out = *in
  284. if in.Error != nil {
  285. in, out := &in.Error, &out.Error
  286. *out = new(string)
  287. **out = **in
  288. }
  289. return
  290. }
  291. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
  292. func (in *IngressPortStatus) DeepCopy() *IngressPortStatus {
  293. if in == nil {
  294. return nil
  295. }
  296. out := new(IngressPortStatus)
  297. in.DeepCopyInto(out)
  298. return out
  299. }
  300. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  301. func (in *IngressRule) DeepCopyInto(out *IngressRule) {
  302. *out = *in
  303. in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
  304. return
  305. }
  306. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  307. func (in *IngressRule) DeepCopy() *IngressRule {
  308. if in == nil {
  309. return nil
  310. }
  311. out := new(IngressRule)
  312. in.DeepCopyInto(out)
  313. return out
  314. }
  315. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  316. func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
  317. *out = *in
  318. if in.HTTP != nil {
  319. in, out := &in.HTTP, &out.HTTP
  320. *out = new(HTTPIngressRuleValue)
  321. (*in).DeepCopyInto(*out)
  322. }
  323. return
  324. }
  325. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
  326. func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
  327. if in == nil {
  328. return nil
  329. }
  330. out := new(IngressRuleValue)
  331. in.DeepCopyInto(out)
  332. return out
  333. }
  334. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  335. func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
  336. *out = *in
  337. if in.IngressClassName != nil {
  338. in, out := &in.IngressClassName, &out.IngressClassName
  339. *out = new(string)
  340. **out = **in
  341. }
  342. if in.Backend != nil {
  343. in, out := &in.Backend, &out.Backend
  344. *out = new(IngressBackend)
  345. (*in).DeepCopyInto(*out)
  346. }
  347. if in.TLS != nil {
  348. in, out := &in.TLS, &out.TLS
  349. *out = make([]IngressTLS, len(*in))
  350. for i := range *in {
  351. (*in)[i].DeepCopyInto(&(*out)[i])
  352. }
  353. }
  354. if in.Rules != nil {
  355. in, out := &in.Rules, &out.Rules
  356. *out = make([]IngressRule, len(*in))
  357. for i := range *in {
  358. (*in)[i].DeepCopyInto(&(*out)[i])
  359. }
  360. }
  361. return
  362. }
  363. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
  364. func (in *IngressSpec) DeepCopy() *IngressSpec {
  365. if in == nil {
  366. return nil
  367. }
  368. out := new(IngressSpec)
  369. in.DeepCopyInto(out)
  370. return out
  371. }
  372. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  373. func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
  374. *out = *in
  375. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  376. return
  377. }
  378. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
  379. func (in *IngressStatus) DeepCopy() *IngressStatus {
  380. if in == nil {
  381. return nil
  382. }
  383. out := new(IngressStatus)
  384. in.DeepCopyInto(out)
  385. return out
  386. }
  387. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  388. func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
  389. *out = *in
  390. if in.Hosts != nil {
  391. in, out := &in.Hosts, &out.Hosts
  392. *out = make([]string, len(*in))
  393. copy(*out, *in)
  394. }
  395. return
  396. }
  397. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
  398. func (in *IngressTLS) DeepCopy() *IngressTLS {
  399. if in == nil {
  400. return nil
  401. }
  402. out := new(IngressTLS)
  403. in.DeepCopyInto(out)
  404. return out
  405. }