zz_generated.deepcopy.go 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  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 v1
  17. import (
  18. corev1 "k8s.io/api/core/v1"
  19. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  20. runtime "k8s.io/apimachinery/pkg/runtime"
  21. intstr "k8s.io/apimachinery/pkg/util/intstr"
  22. )
  23. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  24. func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
  25. *out = *in
  26. if in.PathType != nil {
  27. in, out := &in.PathType, &out.PathType
  28. *out = new(PathType)
  29. **out = **in
  30. }
  31. in.Backend.DeepCopyInto(&out.Backend)
  32. return
  33. }
  34. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
  35. func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
  36. if in == nil {
  37. return nil
  38. }
  39. out := new(HTTPIngressPath)
  40. in.DeepCopyInto(out)
  41. return out
  42. }
  43. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  44. func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
  45. *out = *in
  46. if in.Paths != nil {
  47. in, out := &in.Paths, &out.Paths
  48. *out = make([]HTTPIngressPath, len(*in))
  49. for i := range *in {
  50. (*in)[i].DeepCopyInto(&(*out)[i])
  51. }
  52. }
  53. return
  54. }
  55. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
  56. func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
  57. if in == nil {
  58. return nil
  59. }
  60. out := new(HTTPIngressRuleValue)
  61. in.DeepCopyInto(out)
  62. return out
  63. }
  64. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  65. func (in *IPAddress) DeepCopyInto(out *IPAddress) {
  66. *out = *in
  67. out.TypeMeta = in.TypeMeta
  68. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  69. in.Spec.DeepCopyInto(&out.Spec)
  70. return
  71. }
  72. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddress.
  73. func (in *IPAddress) DeepCopy() *IPAddress {
  74. if in == nil {
  75. return nil
  76. }
  77. out := new(IPAddress)
  78. in.DeepCopyInto(out)
  79. return out
  80. }
  81. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  82. func (in *IPAddress) DeepCopyObject() runtime.Object {
  83. if c := in.DeepCopy(); c != nil {
  84. return c
  85. }
  86. return nil
  87. }
  88. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  89. func (in *IPAddressList) DeepCopyInto(out *IPAddressList) {
  90. *out = *in
  91. out.TypeMeta = in.TypeMeta
  92. in.ListMeta.DeepCopyInto(&out.ListMeta)
  93. if in.Items != nil {
  94. in, out := &in.Items, &out.Items
  95. *out = make([]IPAddress, len(*in))
  96. for i := range *in {
  97. (*in)[i].DeepCopyInto(&(*out)[i])
  98. }
  99. }
  100. return
  101. }
  102. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressList.
  103. func (in *IPAddressList) DeepCopy() *IPAddressList {
  104. if in == nil {
  105. return nil
  106. }
  107. out := new(IPAddressList)
  108. in.DeepCopyInto(out)
  109. return out
  110. }
  111. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  112. func (in *IPAddressList) DeepCopyObject() runtime.Object {
  113. if c := in.DeepCopy(); c != nil {
  114. return c
  115. }
  116. return nil
  117. }
  118. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  119. func (in *IPAddressSpec) DeepCopyInto(out *IPAddressSpec) {
  120. *out = *in
  121. if in.ParentRef != nil {
  122. in, out := &in.ParentRef, &out.ParentRef
  123. *out = new(ParentReference)
  124. **out = **in
  125. }
  126. return
  127. }
  128. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAddressSpec.
  129. func (in *IPAddressSpec) DeepCopy() *IPAddressSpec {
  130. if in == nil {
  131. return nil
  132. }
  133. out := new(IPAddressSpec)
  134. in.DeepCopyInto(out)
  135. return out
  136. }
  137. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  138. func (in *IPBlock) DeepCopyInto(out *IPBlock) {
  139. *out = *in
  140. if in.Except != nil {
  141. in, out := &in.Except, &out.Except
  142. *out = make([]string, len(*in))
  143. copy(*out, *in)
  144. }
  145. return
  146. }
  147. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
  148. func (in *IPBlock) DeepCopy() *IPBlock {
  149. if in == nil {
  150. return nil
  151. }
  152. out := new(IPBlock)
  153. in.DeepCopyInto(out)
  154. return out
  155. }
  156. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  157. func (in *Ingress) DeepCopyInto(out *Ingress) {
  158. *out = *in
  159. out.TypeMeta = in.TypeMeta
  160. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  161. in.Spec.DeepCopyInto(&out.Spec)
  162. in.Status.DeepCopyInto(&out.Status)
  163. return
  164. }
  165. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
  166. func (in *Ingress) DeepCopy() *Ingress {
  167. if in == nil {
  168. return nil
  169. }
  170. out := new(Ingress)
  171. in.DeepCopyInto(out)
  172. return out
  173. }
  174. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  175. func (in *Ingress) DeepCopyObject() runtime.Object {
  176. if c := in.DeepCopy(); c != nil {
  177. return c
  178. }
  179. return nil
  180. }
  181. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  182. func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
  183. *out = *in
  184. if in.Service != nil {
  185. in, out := &in.Service, &out.Service
  186. *out = new(IngressServiceBackend)
  187. **out = **in
  188. }
  189. if in.Resource != nil {
  190. in, out := &in.Resource, &out.Resource
  191. *out = new(corev1.TypedLocalObjectReference)
  192. (*in).DeepCopyInto(*out)
  193. }
  194. return
  195. }
  196. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
  197. func (in *IngressBackend) DeepCopy() *IngressBackend {
  198. if in == nil {
  199. return nil
  200. }
  201. out := new(IngressBackend)
  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 *IngressClass) DeepCopyInto(out *IngressClass) {
  207. *out = *in
  208. out.TypeMeta = in.TypeMeta
  209. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  210. in.Spec.DeepCopyInto(&out.Spec)
  211. return
  212. }
  213. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
  214. func (in *IngressClass) DeepCopy() *IngressClass {
  215. if in == nil {
  216. return nil
  217. }
  218. out := new(IngressClass)
  219. in.DeepCopyInto(out)
  220. return out
  221. }
  222. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  223. func (in *IngressClass) DeepCopyObject() runtime.Object {
  224. if c := in.DeepCopy(); c != nil {
  225. return c
  226. }
  227. return nil
  228. }
  229. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  230. func (in *IngressClassList) DeepCopyInto(out *IngressClassList) {
  231. *out = *in
  232. out.TypeMeta = in.TypeMeta
  233. in.ListMeta.DeepCopyInto(&out.ListMeta)
  234. if in.Items != nil {
  235. in, out := &in.Items, &out.Items
  236. *out = make([]IngressClass, len(*in))
  237. for i := range *in {
  238. (*in)[i].DeepCopyInto(&(*out)[i])
  239. }
  240. }
  241. return
  242. }
  243. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
  244. func (in *IngressClassList) DeepCopy() *IngressClassList {
  245. if in == nil {
  246. return nil
  247. }
  248. out := new(IngressClassList)
  249. in.DeepCopyInto(out)
  250. return out
  251. }
  252. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  253. func (in *IngressClassList) DeepCopyObject() runtime.Object {
  254. if c := in.DeepCopy(); c != nil {
  255. return c
  256. }
  257. return nil
  258. }
  259. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  260. func (in *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference) {
  261. *out = *in
  262. if in.APIGroup != nil {
  263. in, out := &in.APIGroup, &out.APIGroup
  264. *out = new(string)
  265. **out = **in
  266. }
  267. if in.Scope != nil {
  268. in, out := &in.Scope, &out.Scope
  269. *out = new(string)
  270. **out = **in
  271. }
  272. if in.Namespace != nil {
  273. in, out := &in.Namespace, &out.Namespace
  274. *out = new(string)
  275. **out = **in
  276. }
  277. return
  278. }
  279. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
  280. func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference {
  281. if in == nil {
  282. return nil
  283. }
  284. out := new(IngressClassParametersReference)
  285. in.DeepCopyInto(out)
  286. return out
  287. }
  288. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  289. func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec) {
  290. *out = *in
  291. if in.Parameters != nil {
  292. in, out := &in.Parameters, &out.Parameters
  293. *out = new(IngressClassParametersReference)
  294. (*in).DeepCopyInto(*out)
  295. }
  296. return
  297. }
  298. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
  299. func (in *IngressClassSpec) DeepCopy() *IngressClassSpec {
  300. if in == nil {
  301. return nil
  302. }
  303. out := new(IngressClassSpec)
  304. in.DeepCopyInto(out)
  305. return out
  306. }
  307. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  308. func (in *IngressList) DeepCopyInto(out *IngressList) {
  309. *out = *in
  310. out.TypeMeta = in.TypeMeta
  311. in.ListMeta.DeepCopyInto(&out.ListMeta)
  312. if in.Items != nil {
  313. in, out := &in.Items, &out.Items
  314. *out = make([]Ingress, len(*in))
  315. for i := range *in {
  316. (*in)[i].DeepCopyInto(&(*out)[i])
  317. }
  318. }
  319. return
  320. }
  321. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
  322. func (in *IngressList) DeepCopy() *IngressList {
  323. if in == nil {
  324. return nil
  325. }
  326. out := new(IngressList)
  327. in.DeepCopyInto(out)
  328. return out
  329. }
  330. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  331. func (in *IngressList) DeepCopyObject() runtime.Object {
  332. if c := in.DeepCopy(); c != nil {
  333. return c
  334. }
  335. return nil
  336. }
  337. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  338. func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress) {
  339. *out = *in
  340. if in.Ports != nil {
  341. in, out := &in.Ports, &out.Ports
  342. *out = make([]IngressPortStatus, len(*in))
  343. for i := range *in {
  344. (*in)[i].DeepCopyInto(&(*out)[i])
  345. }
  346. }
  347. return
  348. }
  349. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
  350. func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress {
  351. if in == nil {
  352. return nil
  353. }
  354. out := new(IngressLoadBalancerIngress)
  355. in.DeepCopyInto(out)
  356. return out
  357. }
  358. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  359. func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus) {
  360. *out = *in
  361. if in.Ingress != nil {
  362. in, out := &in.Ingress, &out.Ingress
  363. *out = make([]IngressLoadBalancerIngress, len(*in))
  364. for i := range *in {
  365. (*in)[i].DeepCopyInto(&(*out)[i])
  366. }
  367. }
  368. return
  369. }
  370. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerStatus.
  371. func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus {
  372. if in == nil {
  373. return nil
  374. }
  375. out := new(IngressLoadBalancerStatus)
  376. in.DeepCopyInto(out)
  377. return out
  378. }
  379. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  380. func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus) {
  381. *out = *in
  382. if in.Error != nil {
  383. in, out := &in.Error, &out.Error
  384. *out = new(string)
  385. **out = **in
  386. }
  387. return
  388. }
  389. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
  390. func (in *IngressPortStatus) DeepCopy() *IngressPortStatus {
  391. if in == nil {
  392. return nil
  393. }
  394. out := new(IngressPortStatus)
  395. in.DeepCopyInto(out)
  396. return out
  397. }
  398. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  399. func (in *IngressRule) DeepCopyInto(out *IngressRule) {
  400. *out = *in
  401. in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
  402. return
  403. }
  404. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  405. func (in *IngressRule) DeepCopy() *IngressRule {
  406. if in == nil {
  407. return nil
  408. }
  409. out := new(IngressRule)
  410. in.DeepCopyInto(out)
  411. return out
  412. }
  413. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  414. func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
  415. *out = *in
  416. if in.HTTP != nil {
  417. in, out := &in.HTTP, &out.HTTP
  418. *out = new(HTTPIngressRuleValue)
  419. (*in).DeepCopyInto(*out)
  420. }
  421. return
  422. }
  423. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
  424. func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
  425. if in == nil {
  426. return nil
  427. }
  428. out := new(IngressRuleValue)
  429. in.DeepCopyInto(out)
  430. return out
  431. }
  432. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  433. func (in *IngressServiceBackend) DeepCopyInto(out *IngressServiceBackend) {
  434. *out = *in
  435. out.Port = in.Port
  436. return
  437. }
  438. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressServiceBackend.
  439. func (in *IngressServiceBackend) DeepCopy() *IngressServiceBackend {
  440. if in == nil {
  441. return nil
  442. }
  443. out := new(IngressServiceBackend)
  444. in.DeepCopyInto(out)
  445. return out
  446. }
  447. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  448. func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
  449. *out = *in
  450. if in.IngressClassName != nil {
  451. in, out := &in.IngressClassName, &out.IngressClassName
  452. *out = new(string)
  453. **out = **in
  454. }
  455. if in.DefaultBackend != nil {
  456. in, out := &in.DefaultBackend, &out.DefaultBackend
  457. *out = new(IngressBackend)
  458. (*in).DeepCopyInto(*out)
  459. }
  460. if in.TLS != nil {
  461. in, out := &in.TLS, &out.TLS
  462. *out = make([]IngressTLS, len(*in))
  463. for i := range *in {
  464. (*in)[i].DeepCopyInto(&(*out)[i])
  465. }
  466. }
  467. if in.Rules != nil {
  468. in, out := &in.Rules, &out.Rules
  469. *out = make([]IngressRule, len(*in))
  470. for i := range *in {
  471. (*in)[i].DeepCopyInto(&(*out)[i])
  472. }
  473. }
  474. return
  475. }
  476. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
  477. func (in *IngressSpec) DeepCopy() *IngressSpec {
  478. if in == nil {
  479. return nil
  480. }
  481. out := new(IngressSpec)
  482. in.DeepCopyInto(out)
  483. return out
  484. }
  485. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  486. func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
  487. *out = *in
  488. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  489. return
  490. }
  491. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
  492. func (in *IngressStatus) DeepCopy() *IngressStatus {
  493. if in == nil {
  494. return nil
  495. }
  496. out := new(IngressStatus)
  497. in.DeepCopyInto(out)
  498. return out
  499. }
  500. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  501. func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
  502. *out = *in
  503. if in.Hosts != nil {
  504. in, out := &in.Hosts, &out.Hosts
  505. *out = make([]string, len(*in))
  506. copy(*out, *in)
  507. }
  508. return
  509. }
  510. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
  511. func (in *IngressTLS) DeepCopy() *IngressTLS {
  512. if in == nil {
  513. return nil
  514. }
  515. out := new(IngressTLS)
  516. in.DeepCopyInto(out)
  517. return out
  518. }
  519. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  520. func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
  521. *out = *in
  522. out.TypeMeta = in.TypeMeta
  523. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  524. in.Spec.DeepCopyInto(&out.Spec)
  525. return
  526. }
  527. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
  528. func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
  529. if in == nil {
  530. return nil
  531. }
  532. out := new(NetworkPolicy)
  533. in.DeepCopyInto(out)
  534. return out
  535. }
  536. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  537. func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
  538. if c := in.DeepCopy(); c != nil {
  539. return c
  540. }
  541. return nil
  542. }
  543. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  544. func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule) {
  545. *out = *in
  546. if in.Ports != nil {
  547. in, out := &in.Ports, &out.Ports
  548. *out = make([]NetworkPolicyPort, len(*in))
  549. for i := range *in {
  550. (*in)[i].DeepCopyInto(&(*out)[i])
  551. }
  552. }
  553. if in.To != nil {
  554. in, out := &in.To, &out.To
  555. *out = make([]NetworkPolicyPeer, len(*in))
  556. for i := range *in {
  557. (*in)[i].DeepCopyInto(&(*out)[i])
  558. }
  559. }
  560. return
  561. }
  562. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule.
  563. func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule {
  564. if in == nil {
  565. return nil
  566. }
  567. out := new(NetworkPolicyEgressRule)
  568. in.DeepCopyInto(out)
  569. return out
  570. }
  571. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  572. func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) {
  573. *out = *in
  574. if in.Ports != nil {
  575. in, out := &in.Ports, &out.Ports
  576. *out = make([]NetworkPolicyPort, len(*in))
  577. for i := range *in {
  578. (*in)[i].DeepCopyInto(&(*out)[i])
  579. }
  580. }
  581. if in.From != nil {
  582. in, out := &in.From, &out.From
  583. *out = make([]NetworkPolicyPeer, len(*in))
  584. for i := range *in {
  585. (*in)[i].DeepCopyInto(&(*out)[i])
  586. }
  587. }
  588. return
  589. }
  590. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
  591. func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
  592. if in == nil {
  593. return nil
  594. }
  595. out := new(NetworkPolicyIngressRule)
  596. in.DeepCopyInto(out)
  597. return out
  598. }
  599. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  600. func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
  601. *out = *in
  602. out.TypeMeta = in.TypeMeta
  603. in.ListMeta.DeepCopyInto(&out.ListMeta)
  604. if in.Items != nil {
  605. in, out := &in.Items, &out.Items
  606. *out = make([]NetworkPolicy, len(*in))
  607. for i := range *in {
  608. (*in)[i].DeepCopyInto(&(*out)[i])
  609. }
  610. }
  611. return
  612. }
  613. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
  614. func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
  615. if in == nil {
  616. return nil
  617. }
  618. out := new(NetworkPolicyList)
  619. in.DeepCopyInto(out)
  620. return out
  621. }
  622. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  623. func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
  624. if c := in.DeepCopy(); c != nil {
  625. return c
  626. }
  627. return nil
  628. }
  629. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  630. func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
  631. *out = *in
  632. if in.PodSelector != nil {
  633. in, out := &in.PodSelector, &out.PodSelector
  634. *out = new(metav1.LabelSelector)
  635. (*in).DeepCopyInto(*out)
  636. }
  637. if in.NamespaceSelector != nil {
  638. in, out := &in.NamespaceSelector, &out.NamespaceSelector
  639. *out = new(metav1.LabelSelector)
  640. (*in).DeepCopyInto(*out)
  641. }
  642. if in.IPBlock != nil {
  643. in, out := &in.IPBlock, &out.IPBlock
  644. *out = new(IPBlock)
  645. (*in).DeepCopyInto(*out)
  646. }
  647. return
  648. }
  649. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
  650. func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
  651. if in == nil {
  652. return nil
  653. }
  654. out := new(NetworkPolicyPeer)
  655. in.DeepCopyInto(out)
  656. return out
  657. }
  658. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  659. func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
  660. *out = *in
  661. if in.Protocol != nil {
  662. in, out := &in.Protocol, &out.Protocol
  663. *out = new(corev1.Protocol)
  664. **out = **in
  665. }
  666. if in.Port != nil {
  667. in, out := &in.Port, &out.Port
  668. *out = new(intstr.IntOrString)
  669. **out = **in
  670. }
  671. if in.EndPort != nil {
  672. in, out := &in.EndPort, &out.EndPort
  673. *out = new(int32)
  674. **out = **in
  675. }
  676. return
  677. }
  678. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
  679. func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
  680. if in == nil {
  681. return nil
  682. }
  683. out := new(NetworkPolicyPort)
  684. in.DeepCopyInto(out)
  685. return out
  686. }
  687. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  688. func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
  689. *out = *in
  690. in.PodSelector.DeepCopyInto(&out.PodSelector)
  691. if in.Ingress != nil {
  692. in, out := &in.Ingress, &out.Ingress
  693. *out = make([]NetworkPolicyIngressRule, len(*in))
  694. for i := range *in {
  695. (*in)[i].DeepCopyInto(&(*out)[i])
  696. }
  697. }
  698. if in.Egress != nil {
  699. in, out := &in.Egress, &out.Egress
  700. *out = make([]NetworkPolicyEgressRule, len(*in))
  701. for i := range *in {
  702. (*in)[i].DeepCopyInto(&(*out)[i])
  703. }
  704. }
  705. if in.PolicyTypes != nil {
  706. in, out := &in.PolicyTypes, &out.PolicyTypes
  707. *out = make([]PolicyType, len(*in))
  708. copy(*out, *in)
  709. }
  710. return
  711. }
  712. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
  713. func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
  714. if in == nil {
  715. return nil
  716. }
  717. out := new(NetworkPolicySpec)
  718. in.DeepCopyInto(out)
  719. return out
  720. }
  721. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  722. func (in *ParentReference) DeepCopyInto(out *ParentReference) {
  723. *out = *in
  724. return
  725. }
  726. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParentReference.
  727. func (in *ParentReference) DeepCopy() *ParentReference {
  728. if in == nil {
  729. return nil
  730. }
  731. out := new(ParentReference)
  732. in.DeepCopyInto(out)
  733. return out
  734. }
  735. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  736. func (in *ServiceBackendPort) DeepCopyInto(out *ServiceBackendPort) {
  737. *out = *in
  738. return
  739. }
  740. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBackendPort.
  741. func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort {
  742. if in == nil {
  743. return nil
  744. }
  745. out := new(ServiceBackendPort)
  746. in.DeepCopyInto(out)
  747. return out
  748. }
  749. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  750. func (in *ServiceCIDR) DeepCopyInto(out *ServiceCIDR) {
  751. *out = *in
  752. out.TypeMeta = in.TypeMeta
  753. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  754. in.Spec.DeepCopyInto(&out.Spec)
  755. in.Status.DeepCopyInto(&out.Status)
  756. return
  757. }
  758. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDR.
  759. func (in *ServiceCIDR) DeepCopy() *ServiceCIDR {
  760. if in == nil {
  761. return nil
  762. }
  763. out := new(ServiceCIDR)
  764. in.DeepCopyInto(out)
  765. return out
  766. }
  767. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  768. func (in *ServiceCIDR) DeepCopyObject() runtime.Object {
  769. if c := in.DeepCopy(); c != nil {
  770. return c
  771. }
  772. return nil
  773. }
  774. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  775. func (in *ServiceCIDRList) DeepCopyInto(out *ServiceCIDRList) {
  776. *out = *in
  777. out.TypeMeta = in.TypeMeta
  778. in.ListMeta.DeepCopyInto(&out.ListMeta)
  779. if in.Items != nil {
  780. in, out := &in.Items, &out.Items
  781. *out = make([]ServiceCIDR, len(*in))
  782. for i := range *in {
  783. (*in)[i].DeepCopyInto(&(*out)[i])
  784. }
  785. }
  786. return
  787. }
  788. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRList.
  789. func (in *ServiceCIDRList) DeepCopy() *ServiceCIDRList {
  790. if in == nil {
  791. return nil
  792. }
  793. out := new(ServiceCIDRList)
  794. in.DeepCopyInto(out)
  795. return out
  796. }
  797. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  798. func (in *ServiceCIDRList) DeepCopyObject() runtime.Object {
  799. if c := in.DeepCopy(); c != nil {
  800. return c
  801. }
  802. return nil
  803. }
  804. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  805. func (in *ServiceCIDRSpec) DeepCopyInto(out *ServiceCIDRSpec) {
  806. *out = *in
  807. if in.CIDRs != nil {
  808. in, out := &in.CIDRs, &out.CIDRs
  809. *out = make([]string, len(*in))
  810. copy(*out, *in)
  811. }
  812. return
  813. }
  814. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRSpec.
  815. func (in *ServiceCIDRSpec) DeepCopy() *ServiceCIDRSpec {
  816. if in == nil {
  817. return nil
  818. }
  819. out := new(ServiceCIDRSpec)
  820. in.DeepCopyInto(out)
  821. return out
  822. }
  823. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  824. func (in *ServiceCIDRStatus) DeepCopyInto(out *ServiceCIDRStatus) {
  825. *out = *in
  826. if in.Conditions != nil {
  827. in, out := &in.Conditions, &out.Conditions
  828. *out = make([]metav1.Condition, len(*in))
  829. for i := range *in {
  830. (*in)[i].DeepCopyInto(&(*out)[i])
  831. }
  832. }
  833. return
  834. }
  835. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceCIDRStatus.
  836. func (in *ServiceCIDRStatus) DeepCopy() *ServiceCIDRStatus {
  837. if in == nil {
  838. return nil
  839. }
  840. out := new(ServiceCIDRStatus)
  841. in.DeepCopyInto(out)
  842. return out
  843. }