zz_generated.deepcopy.go 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  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 *IngressRule) DeepCopyInto(out *IngressRule) {
  241. *out = *in
  242. in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
  243. return
  244. }
  245. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  246. func (in *IngressRule) DeepCopy() *IngressRule {
  247. if in == nil {
  248. return nil
  249. }
  250. out := new(IngressRule)
  251. in.DeepCopyInto(out)
  252. return out
  253. }
  254. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  255. func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
  256. *out = *in
  257. if in.HTTP != nil {
  258. in, out := &in.HTTP, &out.HTTP
  259. *out = new(HTTPIngressRuleValue)
  260. (*in).DeepCopyInto(*out)
  261. }
  262. return
  263. }
  264. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
  265. func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
  266. if in == nil {
  267. return nil
  268. }
  269. out := new(IngressRuleValue)
  270. in.DeepCopyInto(out)
  271. return out
  272. }
  273. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  274. func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
  275. *out = *in
  276. if in.IngressClassName != nil {
  277. in, out := &in.IngressClassName, &out.IngressClassName
  278. *out = new(string)
  279. **out = **in
  280. }
  281. if in.Backend != nil {
  282. in, out := &in.Backend, &out.Backend
  283. *out = new(IngressBackend)
  284. (*in).DeepCopyInto(*out)
  285. }
  286. if in.TLS != nil {
  287. in, out := &in.TLS, &out.TLS
  288. *out = make([]IngressTLS, len(*in))
  289. for i := range *in {
  290. (*in)[i].DeepCopyInto(&(*out)[i])
  291. }
  292. }
  293. if in.Rules != nil {
  294. in, out := &in.Rules, &out.Rules
  295. *out = make([]IngressRule, len(*in))
  296. for i := range *in {
  297. (*in)[i].DeepCopyInto(&(*out)[i])
  298. }
  299. }
  300. return
  301. }
  302. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
  303. func (in *IngressSpec) DeepCopy() *IngressSpec {
  304. if in == nil {
  305. return nil
  306. }
  307. out := new(IngressSpec)
  308. in.DeepCopyInto(out)
  309. return out
  310. }
  311. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  312. func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
  313. *out = *in
  314. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  315. return
  316. }
  317. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
  318. func (in *IngressStatus) DeepCopy() *IngressStatus {
  319. if in == nil {
  320. return nil
  321. }
  322. out := new(IngressStatus)
  323. in.DeepCopyInto(out)
  324. return out
  325. }
  326. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  327. func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
  328. *out = *in
  329. if in.Hosts != nil {
  330. in, out := &in.Hosts, &out.Hosts
  331. *out = make([]string, len(*in))
  332. copy(*out, *in)
  333. }
  334. return
  335. }
  336. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
  337. func (in *IngressTLS) DeepCopy() *IngressTLS {
  338. if in == nil {
  339. return nil
  340. }
  341. out := new(IngressTLS)
  342. in.DeepCopyInto(out)
  343. return out
  344. }