zz_generated.deepcopy.go 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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 *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference) {
  162. *out = *in
  163. if in.APIGroup != nil {
  164. in, out := &in.APIGroup, &out.APIGroup
  165. *out = new(string)
  166. **out = **in
  167. }
  168. if in.Scope != nil {
  169. in, out := &in.Scope, &out.Scope
  170. *out = new(string)
  171. **out = **in
  172. }
  173. if in.Namespace != nil {
  174. in, out := &in.Namespace, &out.Namespace
  175. *out = new(string)
  176. **out = **in
  177. }
  178. return
  179. }
  180. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
  181. func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference {
  182. if in == nil {
  183. return nil
  184. }
  185. out := new(IngressClassParametersReference)
  186. in.DeepCopyInto(out)
  187. return out
  188. }
  189. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  190. func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) {
  191. *out = *in
  192. if in.Parameters != nil {
  193. in, out := &in.Parameters, &out.Parameters
  194. *out = new(IngressClassParametersReference)
  195. (*in).DeepCopyInto(*out)
  196. }
  197. return
  198. }
  199. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
  200. func (in *IngressClassSpec) DeepCopy() *IngressClassSpec {
  201. if in == nil {
  202. return nil
  203. }
  204. out := new(IngressClassSpec)
  205. in.DeepCopyInto(out)
  206. return out
  207. }
  208. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  209. func (in *IngressList) DeepCopyInto(out *IngressList) {
  210. *out = *in
  211. out.TypeMeta = in.TypeMeta
  212. in.ListMeta.DeepCopyInto(&out.ListMeta)
  213. if in.Items != nil {
  214. in, out := &in.Items, &out.Items
  215. *out = make([]Ingress, len(*in))
  216. for i := range *in {
  217. (*in)[i].DeepCopyInto(&(*out)[i])
  218. }
  219. }
  220. return
  221. }
  222. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
  223. func (in *IngressList) DeepCopy() *IngressList {
  224. if in == nil {
  225. return nil
  226. }
  227. out := new(IngressList)
  228. in.DeepCopyInto(out)
  229. return out
  230. }
  231. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  232. func (in *IngressList) DeepCopyObject() runtime.Object {
  233. if c := in.DeepCopy(); c != nil {
  234. return c
  235. }
  236. return nil
  237. }
  238. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  239. func (in *IngressRule) DeepCopyInto(out *IngressRule) {
  240. *out = *in
  241. in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
  242. return
  243. }
  244. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  245. func (in *IngressRule) DeepCopy() *IngressRule {
  246. if in == nil {
  247. return nil
  248. }
  249. out := new(IngressRule)
  250. in.DeepCopyInto(out)
  251. return out
  252. }
  253. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  254. func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
  255. *out = *in
  256. if in.HTTP != nil {
  257. in, out := &in.HTTP, &out.HTTP
  258. *out = new(HTTPIngressRuleValue)
  259. (*in).DeepCopyInto(*out)
  260. }
  261. return
  262. }
  263. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
  264. func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
  265. if in == nil {
  266. return nil
  267. }
  268. out := new(IngressRuleValue)
  269. in.DeepCopyInto(out)
  270. return out
  271. }
  272. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  273. func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
  274. *out = *in
  275. if in.IngressClassName != nil {
  276. in, out := &in.IngressClassName, &out.IngressClassName
  277. *out = new(string)
  278. **out = **in
  279. }
  280. if in.Backend != nil {
  281. in, out := &in.Backend, &out.Backend
  282. *out = new(IngressBackend)
  283. (*in).DeepCopyInto(*out)
  284. }
  285. if in.TLS != nil {
  286. in, out := &in.TLS, &out.TLS
  287. *out = make([]IngressTLS, len(*in))
  288. for i := range *in {
  289. (*in)[i].DeepCopyInto(&(*out)[i])
  290. }
  291. }
  292. if in.Rules != nil {
  293. in, out := &in.Rules, &out.Rules
  294. *out = make([]IngressRule, len(*in))
  295. for i := range *in {
  296. (*in)[i].DeepCopyInto(&(*out)[i])
  297. }
  298. }
  299. return
  300. }
  301. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
  302. func (in *IngressSpec) DeepCopy() *IngressSpec {
  303. if in == nil {
  304. return nil
  305. }
  306. out := new(IngressSpec)
  307. in.DeepCopyInto(out)
  308. return out
  309. }
  310. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  311. func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
  312. *out = *in
  313. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  314. return
  315. }
  316. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
  317. func (in *IngressStatus) DeepCopy() *IngressStatus {
  318. if in == nil {
  319. return nil
  320. }
  321. out := new(IngressStatus)
  322. in.DeepCopyInto(out)
  323. return out
  324. }
  325. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  326. func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
  327. *out = *in
  328. if in.Hosts != nil {
  329. in, out := &in.Hosts, &out.Hosts
  330. *out = make([]string, len(*in))
  331. copy(*out, *in)
  332. }
  333. return
  334. }
  335. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
  336. func (in *IngressTLS) DeepCopy() *IngressTLS {
  337. if in == nil {
  338. return nil
  339. }
  340. out := new(IngressTLS)
  341. in.DeepCopyInto(out)
  342. return out
  343. }