zz_generated.deepcopy.go 6.8 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. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
  21. *out = *in
  22. out.Backend = in.Backend
  23. return
  24. }
  25. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
  26. func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
  27. if in == nil {
  28. return nil
  29. }
  30. out := new(HTTPIngressPath)
  31. in.DeepCopyInto(out)
  32. return out
  33. }
  34. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  35. func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
  36. *out = *in
  37. if in.Paths != nil {
  38. in, out := &in.Paths, &out.Paths
  39. *out = make([]HTTPIngressPath, len(*in))
  40. copy(*out, *in)
  41. }
  42. return
  43. }
  44. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
  45. func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
  46. if in == nil {
  47. return nil
  48. }
  49. out := new(HTTPIngressRuleValue)
  50. in.DeepCopyInto(out)
  51. return out
  52. }
  53. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  54. func (in *Ingress) DeepCopyInto(out *Ingress) {
  55. *out = *in
  56. out.TypeMeta = in.TypeMeta
  57. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  58. in.Spec.DeepCopyInto(&out.Spec)
  59. in.Status.DeepCopyInto(&out.Status)
  60. return
  61. }
  62. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
  63. func (in *Ingress) DeepCopy() *Ingress {
  64. if in == nil {
  65. return nil
  66. }
  67. out := new(Ingress)
  68. in.DeepCopyInto(out)
  69. return out
  70. }
  71. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  72. func (in *Ingress) DeepCopyObject() runtime.Object {
  73. if c := in.DeepCopy(); c != nil {
  74. return c
  75. }
  76. return nil
  77. }
  78. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  79. func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
  80. *out = *in
  81. out.ServicePort = in.ServicePort
  82. return
  83. }
  84. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
  85. func (in *IngressBackend) DeepCopy() *IngressBackend {
  86. if in == nil {
  87. return nil
  88. }
  89. out := new(IngressBackend)
  90. in.DeepCopyInto(out)
  91. return out
  92. }
  93. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  94. func (in *IngressList) DeepCopyInto(out *IngressList) {
  95. *out = *in
  96. out.TypeMeta = in.TypeMeta
  97. out.ListMeta = in.ListMeta
  98. if in.Items != nil {
  99. in, out := &in.Items, &out.Items
  100. *out = make([]Ingress, len(*in))
  101. for i := range *in {
  102. (*in)[i].DeepCopyInto(&(*out)[i])
  103. }
  104. }
  105. return
  106. }
  107. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
  108. func (in *IngressList) DeepCopy() *IngressList {
  109. if in == nil {
  110. return nil
  111. }
  112. out := new(IngressList)
  113. in.DeepCopyInto(out)
  114. return out
  115. }
  116. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  117. func (in *IngressList) DeepCopyObject() runtime.Object {
  118. if c := in.DeepCopy(); c != nil {
  119. return c
  120. }
  121. return nil
  122. }
  123. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  124. func (in *IngressRule) DeepCopyInto(out *IngressRule) {
  125. *out = *in
  126. in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
  127. return
  128. }
  129. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  130. func (in *IngressRule) DeepCopy() *IngressRule {
  131. if in == nil {
  132. return nil
  133. }
  134. out := new(IngressRule)
  135. in.DeepCopyInto(out)
  136. return out
  137. }
  138. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  139. func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
  140. *out = *in
  141. if in.HTTP != nil {
  142. in, out := &in.HTTP, &out.HTTP
  143. *out = new(HTTPIngressRuleValue)
  144. (*in).DeepCopyInto(*out)
  145. }
  146. return
  147. }
  148. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
  149. func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
  150. if in == nil {
  151. return nil
  152. }
  153. out := new(IngressRuleValue)
  154. in.DeepCopyInto(out)
  155. return out
  156. }
  157. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  158. func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
  159. *out = *in
  160. if in.Backend != nil {
  161. in, out := &in.Backend, &out.Backend
  162. *out = new(IngressBackend)
  163. **out = **in
  164. }
  165. if in.TLS != nil {
  166. in, out := &in.TLS, &out.TLS
  167. *out = make([]IngressTLS, len(*in))
  168. for i := range *in {
  169. (*in)[i].DeepCopyInto(&(*out)[i])
  170. }
  171. }
  172. if in.Rules != nil {
  173. in, out := &in.Rules, &out.Rules
  174. *out = make([]IngressRule, len(*in))
  175. for i := range *in {
  176. (*in)[i].DeepCopyInto(&(*out)[i])
  177. }
  178. }
  179. return
  180. }
  181. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
  182. func (in *IngressSpec) DeepCopy() *IngressSpec {
  183. if in == nil {
  184. return nil
  185. }
  186. out := new(IngressSpec)
  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 *IngressStatus) DeepCopyInto(out *IngressStatus) {
  192. *out = *in
  193. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  194. return
  195. }
  196. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
  197. func (in *IngressStatus) DeepCopy() *IngressStatus {
  198. if in == nil {
  199. return nil
  200. }
  201. out := new(IngressStatus)
  202. in.DeepCopyInto(out)
  203. return out
  204. }
  205. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  206. func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
  207. *out = *in
  208. if in.Hosts != nil {
  209. in, out := &in.Hosts, &out.Hosts
  210. *out = make([]string, len(*in))
  211. copy(*out, *in)
  212. }
  213. return
  214. }
  215. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
  216. func (in *IngressTLS) DeepCopy() *IngressTLS {
  217. if in == nil {
  218. return nil
  219. }
  220. out := new(IngressTLS)
  221. in.DeepCopyInto(out)
  222. return out
  223. }