zz_generated.deepcopy.go 45 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591
  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. corev1 "k8s.io/api/core/v1"
  19. v1 "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 *AllowedCSIDriver) DeepCopyInto(out *AllowedCSIDriver) {
  25. *out = *in
  26. return
  27. }
  28. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedCSIDriver.
  29. func (in *AllowedCSIDriver) DeepCopy() *AllowedCSIDriver {
  30. if in == nil {
  31. return nil
  32. }
  33. out := new(AllowedCSIDriver)
  34. in.DeepCopyInto(out)
  35. return out
  36. }
  37. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  38. func (in *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume) {
  39. *out = *in
  40. return
  41. }
  42. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedFlexVolume.
  43. func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume {
  44. if in == nil {
  45. return nil
  46. }
  47. out := new(AllowedFlexVolume)
  48. in.DeepCopyInto(out)
  49. return out
  50. }
  51. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  52. func (in *AllowedHostPath) DeepCopyInto(out *AllowedHostPath) {
  53. *out = *in
  54. return
  55. }
  56. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPath.
  57. func (in *AllowedHostPath) DeepCopy() *AllowedHostPath {
  58. if in == nil {
  59. return nil
  60. }
  61. out := new(AllowedHostPath)
  62. in.DeepCopyInto(out)
  63. return out
  64. }
  65. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  66. func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
  67. *out = *in
  68. out.TypeMeta = in.TypeMeta
  69. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  70. in.Spec.DeepCopyInto(&out.Spec)
  71. in.Status.DeepCopyInto(&out.Status)
  72. return
  73. }
  74. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
  75. func (in *DaemonSet) DeepCopy() *DaemonSet {
  76. if in == nil {
  77. return nil
  78. }
  79. out := new(DaemonSet)
  80. in.DeepCopyInto(out)
  81. return out
  82. }
  83. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  84. func (in *DaemonSet) DeepCopyObject() runtime.Object {
  85. if c := in.DeepCopy(); c != nil {
  86. return c
  87. }
  88. return nil
  89. }
  90. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  91. func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
  92. *out = *in
  93. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  94. return
  95. }
  96. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition.
  97. func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
  98. if in == nil {
  99. return nil
  100. }
  101. out := new(DaemonSetCondition)
  102. in.DeepCopyInto(out)
  103. return out
  104. }
  105. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  106. func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
  107. *out = *in
  108. out.TypeMeta = in.TypeMeta
  109. in.ListMeta.DeepCopyInto(&out.ListMeta)
  110. if in.Items != nil {
  111. in, out := &in.Items, &out.Items
  112. *out = make([]DaemonSet, len(*in))
  113. for i := range *in {
  114. (*in)[i].DeepCopyInto(&(*out)[i])
  115. }
  116. }
  117. return
  118. }
  119. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
  120. func (in *DaemonSetList) DeepCopy() *DaemonSetList {
  121. if in == nil {
  122. return nil
  123. }
  124. out := new(DaemonSetList)
  125. in.DeepCopyInto(out)
  126. return out
  127. }
  128. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  129. func (in *DaemonSetList) DeepCopyObject() runtime.Object {
  130. if c := in.DeepCopy(); c != nil {
  131. return c
  132. }
  133. return nil
  134. }
  135. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  136. func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
  137. *out = *in
  138. if in.Selector != nil {
  139. in, out := &in.Selector, &out.Selector
  140. *out = new(v1.LabelSelector)
  141. (*in).DeepCopyInto(*out)
  142. }
  143. in.Template.DeepCopyInto(&out.Template)
  144. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  145. if in.RevisionHistoryLimit != nil {
  146. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  147. *out = new(int32)
  148. **out = **in
  149. }
  150. return
  151. }
  152. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
  153. func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
  154. if in == nil {
  155. return nil
  156. }
  157. out := new(DaemonSetSpec)
  158. in.DeepCopyInto(out)
  159. return out
  160. }
  161. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  162. func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
  163. *out = *in
  164. if in.CollisionCount != nil {
  165. in, out := &in.CollisionCount, &out.CollisionCount
  166. *out = new(int32)
  167. **out = **in
  168. }
  169. if in.Conditions != nil {
  170. in, out := &in.Conditions, &out.Conditions
  171. *out = make([]DaemonSetCondition, len(*in))
  172. for i := range *in {
  173. (*in)[i].DeepCopyInto(&(*out)[i])
  174. }
  175. }
  176. return
  177. }
  178. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
  179. func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
  180. if in == nil {
  181. return nil
  182. }
  183. out := new(DaemonSetStatus)
  184. in.DeepCopyInto(out)
  185. return out
  186. }
  187. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  188. func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
  189. *out = *in
  190. if in.RollingUpdate != nil {
  191. in, out := &in.RollingUpdate, &out.RollingUpdate
  192. *out = new(RollingUpdateDaemonSet)
  193. (*in).DeepCopyInto(*out)
  194. }
  195. return
  196. }
  197. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
  198. func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
  199. if in == nil {
  200. return nil
  201. }
  202. out := new(DaemonSetUpdateStrategy)
  203. in.DeepCopyInto(out)
  204. return out
  205. }
  206. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  207. func (in *Deployment) DeepCopyInto(out *Deployment) {
  208. *out = *in
  209. out.TypeMeta = in.TypeMeta
  210. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  211. in.Spec.DeepCopyInto(&out.Spec)
  212. in.Status.DeepCopyInto(&out.Status)
  213. return
  214. }
  215. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
  216. func (in *Deployment) DeepCopy() *Deployment {
  217. if in == nil {
  218. return nil
  219. }
  220. out := new(Deployment)
  221. in.DeepCopyInto(out)
  222. return out
  223. }
  224. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  225. func (in *Deployment) DeepCopyObject() runtime.Object {
  226. if c := in.DeepCopy(); c != nil {
  227. return c
  228. }
  229. return nil
  230. }
  231. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  232. func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
  233. *out = *in
  234. in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
  235. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  236. return
  237. }
  238. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
  239. func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
  240. if in == nil {
  241. return nil
  242. }
  243. out := new(DeploymentCondition)
  244. in.DeepCopyInto(out)
  245. return out
  246. }
  247. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  248. func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
  249. *out = *in
  250. out.TypeMeta = in.TypeMeta
  251. in.ListMeta.DeepCopyInto(&out.ListMeta)
  252. if in.Items != nil {
  253. in, out := &in.Items, &out.Items
  254. *out = make([]Deployment, len(*in))
  255. for i := range *in {
  256. (*in)[i].DeepCopyInto(&(*out)[i])
  257. }
  258. }
  259. return
  260. }
  261. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
  262. func (in *DeploymentList) DeepCopy() *DeploymentList {
  263. if in == nil {
  264. return nil
  265. }
  266. out := new(DeploymentList)
  267. in.DeepCopyInto(out)
  268. return out
  269. }
  270. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  271. func (in *DeploymentList) DeepCopyObject() runtime.Object {
  272. if c := in.DeepCopy(); c != nil {
  273. return c
  274. }
  275. return nil
  276. }
  277. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  278. func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
  279. *out = *in
  280. out.TypeMeta = in.TypeMeta
  281. if in.UpdatedAnnotations != nil {
  282. in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
  283. *out = make(map[string]string, len(*in))
  284. for key, val := range *in {
  285. (*out)[key] = val
  286. }
  287. }
  288. out.RollbackTo = in.RollbackTo
  289. return
  290. }
  291. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
  292. func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
  293. if in == nil {
  294. return nil
  295. }
  296. out := new(DeploymentRollback)
  297. in.DeepCopyInto(out)
  298. return out
  299. }
  300. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  301. func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
  302. if c := in.DeepCopy(); c != nil {
  303. return c
  304. }
  305. return nil
  306. }
  307. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  308. func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
  309. *out = *in
  310. if in.Replicas != nil {
  311. in, out := &in.Replicas, &out.Replicas
  312. *out = new(int32)
  313. **out = **in
  314. }
  315. if in.Selector != nil {
  316. in, out := &in.Selector, &out.Selector
  317. *out = new(v1.LabelSelector)
  318. (*in).DeepCopyInto(*out)
  319. }
  320. in.Template.DeepCopyInto(&out.Template)
  321. in.Strategy.DeepCopyInto(&out.Strategy)
  322. if in.RevisionHistoryLimit != nil {
  323. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  324. *out = new(int32)
  325. **out = **in
  326. }
  327. if in.RollbackTo != nil {
  328. in, out := &in.RollbackTo, &out.RollbackTo
  329. *out = new(RollbackConfig)
  330. **out = **in
  331. }
  332. if in.ProgressDeadlineSeconds != nil {
  333. in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
  334. *out = new(int32)
  335. **out = **in
  336. }
  337. return
  338. }
  339. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
  340. func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
  341. if in == nil {
  342. return nil
  343. }
  344. out := new(DeploymentSpec)
  345. in.DeepCopyInto(out)
  346. return out
  347. }
  348. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  349. func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
  350. *out = *in
  351. if in.Conditions != nil {
  352. in, out := &in.Conditions, &out.Conditions
  353. *out = make([]DeploymentCondition, len(*in))
  354. for i := range *in {
  355. (*in)[i].DeepCopyInto(&(*out)[i])
  356. }
  357. }
  358. if in.CollisionCount != nil {
  359. in, out := &in.CollisionCount, &out.CollisionCount
  360. *out = new(int32)
  361. **out = **in
  362. }
  363. return
  364. }
  365. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
  366. func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
  367. if in == nil {
  368. return nil
  369. }
  370. out := new(DeploymentStatus)
  371. in.DeepCopyInto(out)
  372. return out
  373. }
  374. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  375. func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
  376. *out = *in
  377. if in.RollingUpdate != nil {
  378. in, out := &in.RollingUpdate, &out.RollingUpdate
  379. *out = new(RollingUpdateDeployment)
  380. (*in).DeepCopyInto(*out)
  381. }
  382. return
  383. }
  384. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
  385. func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
  386. if in == nil {
  387. return nil
  388. }
  389. out := new(DeploymentStrategy)
  390. in.DeepCopyInto(out)
  391. return out
  392. }
  393. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  394. func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) {
  395. *out = *in
  396. if in.Ranges != nil {
  397. in, out := &in.Ranges, &out.Ranges
  398. *out = make([]IDRange, len(*in))
  399. copy(*out, *in)
  400. }
  401. return
  402. }
  403. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions.
  404. func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions {
  405. if in == nil {
  406. return nil
  407. }
  408. out := new(FSGroupStrategyOptions)
  409. in.DeepCopyInto(out)
  410. return out
  411. }
  412. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  413. func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) {
  414. *out = *in
  415. if in.PathType != nil {
  416. in, out := &in.PathType, &out.PathType
  417. *out = new(PathType)
  418. **out = **in
  419. }
  420. in.Backend.DeepCopyInto(&out.Backend)
  421. return
  422. }
  423. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
  424. func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath {
  425. if in == nil {
  426. return nil
  427. }
  428. out := new(HTTPIngressPath)
  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 *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) {
  434. *out = *in
  435. if in.Paths != nil {
  436. in, out := &in.Paths, &out.Paths
  437. *out = make([]HTTPIngressPath, len(*in))
  438. for i := range *in {
  439. (*in)[i].DeepCopyInto(&(*out)[i])
  440. }
  441. }
  442. return
  443. }
  444. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
  445. func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue {
  446. if in == nil {
  447. return nil
  448. }
  449. out := new(HTTPIngressRuleValue)
  450. in.DeepCopyInto(out)
  451. return out
  452. }
  453. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  454. func (in *HostPortRange) DeepCopyInto(out *HostPortRange) {
  455. *out = *in
  456. return
  457. }
  458. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange.
  459. func (in *HostPortRange) DeepCopy() *HostPortRange {
  460. if in == nil {
  461. return nil
  462. }
  463. out := new(HostPortRange)
  464. in.DeepCopyInto(out)
  465. return out
  466. }
  467. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  468. func (in *IDRange) DeepCopyInto(out *IDRange) {
  469. *out = *in
  470. return
  471. }
  472. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange.
  473. func (in *IDRange) DeepCopy() *IDRange {
  474. if in == nil {
  475. return nil
  476. }
  477. out := new(IDRange)
  478. in.DeepCopyInto(out)
  479. return out
  480. }
  481. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  482. func (in *IPBlock) DeepCopyInto(out *IPBlock) {
  483. *out = *in
  484. if in.Except != nil {
  485. in, out := &in.Except, &out.Except
  486. *out = make([]string, len(*in))
  487. copy(*out, *in)
  488. }
  489. return
  490. }
  491. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
  492. func (in *IPBlock) DeepCopy() *IPBlock {
  493. if in == nil {
  494. return nil
  495. }
  496. out := new(IPBlock)
  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 *Ingress) DeepCopyInto(out *Ingress) {
  502. *out = *in
  503. out.TypeMeta = in.TypeMeta
  504. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  505. in.Spec.DeepCopyInto(&out.Spec)
  506. in.Status.DeepCopyInto(&out.Status)
  507. return
  508. }
  509. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
  510. func (in *Ingress) DeepCopy() *Ingress {
  511. if in == nil {
  512. return nil
  513. }
  514. out := new(Ingress)
  515. in.DeepCopyInto(out)
  516. return out
  517. }
  518. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  519. func (in *Ingress) DeepCopyObject() runtime.Object {
  520. if c := in.DeepCopy(); c != nil {
  521. return c
  522. }
  523. return nil
  524. }
  525. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  526. func (in *IngressBackend) DeepCopyInto(out *IngressBackend) {
  527. *out = *in
  528. out.ServicePort = in.ServicePort
  529. if in.Resource != nil {
  530. in, out := &in.Resource, &out.Resource
  531. *out = new(corev1.TypedLocalObjectReference)
  532. (*in).DeepCopyInto(*out)
  533. }
  534. return
  535. }
  536. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
  537. func (in *IngressBackend) DeepCopy() *IngressBackend {
  538. if in == nil {
  539. return nil
  540. }
  541. out := new(IngressBackend)
  542. in.DeepCopyInto(out)
  543. return out
  544. }
  545. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  546. func (in *IngressList) DeepCopyInto(out *IngressList) {
  547. *out = *in
  548. out.TypeMeta = in.TypeMeta
  549. in.ListMeta.DeepCopyInto(&out.ListMeta)
  550. if in.Items != nil {
  551. in, out := &in.Items, &out.Items
  552. *out = make([]Ingress, len(*in))
  553. for i := range *in {
  554. (*in)[i].DeepCopyInto(&(*out)[i])
  555. }
  556. }
  557. return
  558. }
  559. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
  560. func (in *IngressList) DeepCopy() *IngressList {
  561. if in == nil {
  562. return nil
  563. }
  564. out := new(IngressList)
  565. in.DeepCopyInto(out)
  566. return out
  567. }
  568. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  569. func (in *IngressList) DeepCopyObject() runtime.Object {
  570. if c := in.DeepCopy(); c != nil {
  571. return c
  572. }
  573. return nil
  574. }
  575. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  576. func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress) {
  577. *out = *in
  578. if in.Ports != nil {
  579. in, out := &in.Ports, &out.Ports
  580. *out = make([]IngressPortStatus, len(*in))
  581. for i := range *in {
  582. (*in)[i].DeepCopyInto(&(*out)[i])
  583. }
  584. }
  585. return
  586. }
  587. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
  588. func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress {
  589. if in == nil {
  590. return nil
  591. }
  592. out := new(IngressLoadBalancerIngress)
  593. in.DeepCopyInto(out)
  594. return out
  595. }
  596. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  597. func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus) {
  598. *out = *in
  599. if in.Ingress != nil {
  600. in, out := &in.Ingress, &out.Ingress
  601. *out = make([]IngressLoadBalancerIngress, len(*in))
  602. for i := range *in {
  603. (*in)[i].DeepCopyInto(&(*out)[i])
  604. }
  605. }
  606. return
  607. }
  608. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerStatus.
  609. func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus {
  610. if in == nil {
  611. return nil
  612. }
  613. out := new(IngressLoadBalancerStatus)
  614. in.DeepCopyInto(out)
  615. return out
  616. }
  617. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  618. func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus) {
  619. *out = *in
  620. if in.Error != nil {
  621. in, out := &in.Error, &out.Error
  622. *out = new(string)
  623. **out = **in
  624. }
  625. return
  626. }
  627. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
  628. func (in *IngressPortStatus) DeepCopy() *IngressPortStatus {
  629. if in == nil {
  630. return nil
  631. }
  632. out := new(IngressPortStatus)
  633. in.DeepCopyInto(out)
  634. return out
  635. }
  636. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  637. func (in *IngressRule) DeepCopyInto(out *IngressRule) {
  638. *out = *in
  639. in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue)
  640. return
  641. }
  642. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  643. func (in *IngressRule) DeepCopy() *IngressRule {
  644. if in == nil {
  645. return nil
  646. }
  647. out := new(IngressRule)
  648. in.DeepCopyInto(out)
  649. return out
  650. }
  651. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  652. func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) {
  653. *out = *in
  654. if in.HTTP != nil {
  655. in, out := &in.HTTP, &out.HTTP
  656. *out = new(HTTPIngressRuleValue)
  657. (*in).DeepCopyInto(*out)
  658. }
  659. return
  660. }
  661. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
  662. func (in *IngressRuleValue) DeepCopy() *IngressRuleValue {
  663. if in == nil {
  664. return nil
  665. }
  666. out := new(IngressRuleValue)
  667. in.DeepCopyInto(out)
  668. return out
  669. }
  670. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  671. func (in *IngressSpec) DeepCopyInto(out *IngressSpec) {
  672. *out = *in
  673. if in.IngressClassName != nil {
  674. in, out := &in.IngressClassName, &out.IngressClassName
  675. *out = new(string)
  676. **out = **in
  677. }
  678. if in.Backend != nil {
  679. in, out := &in.Backend, &out.Backend
  680. *out = new(IngressBackend)
  681. (*in).DeepCopyInto(*out)
  682. }
  683. if in.TLS != nil {
  684. in, out := &in.TLS, &out.TLS
  685. *out = make([]IngressTLS, len(*in))
  686. for i := range *in {
  687. (*in)[i].DeepCopyInto(&(*out)[i])
  688. }
  689. }
  690. if in.Rules != nil {
  691. in, out := &in.Rules, &out.Rules
  692. *out = make([]IngressRule, len(*in))
  693. for i := range *in {
  694. (*in)[i].DeepCopyInto(&(*out)[i])
  695. }
  696. }
  697. return
  698. }
  699. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
  700. func (in *IngressSpec) DeepCopy() *IngressSpec {
  701. if in == nil {
  702. return nil
  703. }
  704. out := new(IngressSpec)
  705. in.DeepCopyInto(out)
  706. return out
  707. }
  708. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  709. func (in *IngressStatus) DeepCopyInto(out *IngressStatus) {
  710. *out = *in
  711. in.LoadBalancer.DeepCopyInto(&out.LoadBalancer)
  712. return
  713. }
  714. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
  715. func (in *IngressStatus) DeepCopy() *IngressStatus {
  716. if in == nil {
  717. return nil
  718. }
  719. out := new(IngressStatus)
  720. in.DeepCopyInto(out)
  721. return out
  722. }
  723. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  724. func (in *IngressTLS) DeepCopyInto(out *IngressTLS) {
  725. *out = *in
  726. if in.Hosts != nil {
  727. in, out := &in.Hosts, &out.Hosts
  728. *out = make([]string, len(*in))
  729. copy(*out, *in)
  730. }
  731. return
  732. }
  733. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
  734. func (in *IngressTLS) DeepCopy() *IngressTLS {
  735. if in == nil {
  736. return nil
  737. }
  738. out := new(IngressTLS)
  739. in.DeepCopyInto(out)
  740. return out
  741. }
  742. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  743. func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
  744. *out = *in
  745. out.TypeMeta = in.TypeMeta
  746. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  747. in.Spec.DeepCopyInto(&out.Spec)
  748. in.Status.DeepCopyInto(&out.Status)
  749. return
  750. }
  751. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
  752. func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
  753. if in == nil {
  754. return nil
  755. }
  756. out := new(NetworkPolicy)
  757. in.DeepCopyInto(out)
  758. return out
  759. }
  760. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  761. func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
  762. if c := in.DeepCopy(); c != nil {
  763. return c
  764. }
  765. return nil
  766. }
  767. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  768. func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule) {
  769. *out = *in
  770. if in.Ports != nil {
  771. in, out := &in.Ports, &out.Ports
  772. *out = make([]NetworkPolicyPort, len(*in))
  773. for i := range *in {
  774. (*in)[i].DeepCopyInto(&(*out)[i])
  775. }
  776. }
  777. if in.To != nil {
  778. in, out := &in.To, &out.To
  779. *out = make([]NetworkPolicyPeer, len(*in))
  780. for i := range *in {
  781. (*in)[i].DeepCopyInto(&(*out)[i])
  782. }
  783. }
  784. return
  785. }
  786. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule.
  787. func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule {
  788. if in == nil {
  789. return nil
  790. }
  791. out := new(NetworkPolicyEgressRule)
  792. in.DeepCopyInto(out)
  793. return out
  794. }
  795. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  796. func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) {
  797. *out = *in
  798. if in.Ports != nil {
  799. in, out := &in.Ports, &out.Ports
  800. *out = make([]NetworkPolicyPort, len(*in))
  801. for i := range *in {
  802. (*in)[i].DeepCopyInto(&(*out)[i])
  803. }
  804. }
  805. if in.From != nil {
  806. in, out := &in.From, &out.From
  807. *out = make([]NetworkPolicyPeer, len(*in))
  808. for i := range *in {
  809. (*in)[i].DeepCopyInto(&(*out)[i])
  810. }
  811. }
  812. return
  813. }
  814. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
  815. func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
  816. if in == nil {
  817. return nil
  818. }
  819. out := new(NetworkPolicyIngressRule)
  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 *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
  825. *out = *in
  826. out.TypeMeta = in.TypeMeta
  827. in.ListMeta.DeepCopyInto(&out.ListMeta)
  828. if in.Items != nil {
  829. in, out := &in.Items, &out.Items
  830. *out = make([]NetworkPolicy, len(*in))
  831. for i := range *in {
  832. (*in)[i].DeepCopyInto(&(*out)[i])
  833. }
  834. }
  835. return
  836. }
  837. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
  838. func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
  839. if in == nil {
  840. return nil
  841. }
  842. out := new(NetworkPolicyList)
  843. in.DeepCopyInto(out)
  844. return out
  845. }
  846. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  847. func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
  848. if c := in.DeepCopy(); c != nil {
  849. return c
  850. }
  851. return nil
  852. }
  853. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  854. func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
  855. *out = *in
  856. if in.PodSelector != nil {
  857. in, out := &in.PodSelector, &out.PodSelector
  858. *out = new(v1.LabelSelector)
  859. (*in).DeepCopyInto(*out)
  860. }
  861. if in.NamespaceSelector != nil {
  862. in, out := &in.NamespaceSelector, &out.NamespaceSelector
  863. *out = new(v1.LabelSelector)
  864. (*in).DeepCopyInto(*out)
  865. }
  866. if in.IPBlock != nil {
  867. in, out := &in.IPBlock, &out.IPBlock
  868. *out = new(IPBlock)
  869. (*in).DeepCopyInto(*out)
  870. }
  871. return
  872. }
  873. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
  874. func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
  875. if in == nil {
  876. return nil
  877. }
  878. out := new(NetworkPolicyPeer)
  879. in.DeepCopyInto(out)
  880. return out
  881. }
  882. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  883. func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
  884. *out = *in
  885. if in.Protocol != nil {
  886. in, out := &in.Protocol, &out.Protocol
  887. *out = new(corev1.Protocol)
  888. **out = **in
  889. }
  890. if in.Port != nil {
  891. in, out := &in.Port, &out.Port
  892. *out = new(intstr.IntOrString)
  893. **out = **in
  894. }
  895. if in.EndPort != nil {
  896. in, out := &in.EndPort, &out.EndPort
  897. *out = new(int32)
  898. **out = **in
  899. }
  900. return
  901. }
  902. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
  903. func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
  904. if in == nil {
  905. return nil
  906. }
  907. out := new(NetworkPolicyPort)
  908. in.DeepCopyInto(out)
  909. return out
  910. }
  911. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  912. func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
  913. *out = *in
  914. in.PodSelector.DeepCopyInto(&out.PodSelector)
  915. if in.Ingress != nil {
  916. in, out := &in.Ingress, &out.Ingress
  917. *out = make([]NetworkPolicyIngressRule, len(*in))
  918. for i := range *in {
  919. (*in)[i].DeepCopyInto(&(*out)[i])
  920. }
  921. }
  922. if in.Egress != nil {
  923. in, out := &in.Egress, &out.Egress
  924. *out = make([]NetworkPolicyEgressRule, len(*in))
  925. for i := range *in {
  926. (*in)[i].DeepCopyInto(&(*out)[i])
  927. }
  928. }
  929. if in.PolicyTypes != nil {
  930. in, out := &in.PolicyTypes, &out.PolicyTypes
  931. *out = make([]PolicyType, len(*in))
  932. copy(*out, *in)
  933. }
  934. return
  935. }
  936. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
  937. func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
  938. if in == nil {
  939. return nil
  940. }
  941. out := new(NetworkPolicySpec)
  942. in.DeepCopyInto(out)
  943. return out
  944. }
  945. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  946. func (in *NetworkPolicyStatus) DeepCopyInto(out *NetworkPolicyStatus) {
  947. *out = *in
  948. if in.Conditions != nil {
  949. in, out := &in.Conditions, &out.Conditions
  950. *out = make([]v1.Condition, len(*in))
  951. for i := range *in {
  952. (*in)[i].DeepCopyInto(&(*out)[i])
  953. }
  954. }
  955. return
  956. }
  957. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyStatus.
  958. func (in *NetworkPolicyStatus) DeepCopy() *NetworkPolicyStatus {
  959. if in == nil {
  960. return nil
  961. }
  962. out := new(NetworkPolicyStatus)
  963. in.DeepCopyInto(out)
  964. return out
  965. }
  966. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  967. func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy) {
  968. *out = *in
  969. out.TypeMeta = in.TypeMeta
  970. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  971. in.Spec.DeepCopyInto(&out.Spec)
  972. return
  973. }
  974. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy.
  975. func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy {
  976. if in == nil {
  977. return nil
  978. }
  979. out := new(PodSecurityPolicy)
  980. in.DeepCopyInto(out)
  981. return out
  982. }
  983. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  984. func (in *PodSecurityPolicy) DeepCopyObject() runtime.Object {
  985. if c := in.DeepCopy(); c != nil {
  986. return c
  987. }
  988. return nil
  989. }
  990. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  991. func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList) {
  992. *out = *in
  993. out.TypeMeta = in.TypeMeta
  994. in.ListMeta.DeepCopyInto(&out.ListMeta)
  995. if in.Items != nil {
  996. in, out := &in.Items, &out.Items
  997. *out = make([]PodSecurityPolicy, len(*in))
  998. for i := range *in {
  999. (*in)[i].DeepCopyInto(&(*out)[i])
  1000. }
  1001. }
  1002. return
  1003. }
  1004. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList.
  1005. func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList {
  1006. if in == nil {
  1007. return nil
  1008. }
  1009. out := new(PodSecurityPolicyList)
  1010. in.DeepCopyInto(out)
  1011. return out
  1012. }
  1013. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1014. func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object {
  1015. if c := in.DeepCopy(); c != nil {
  1016. return c
  1017. }
  1018. return nil
  1019. }
  1020. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1021. func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) {
  1022. *out = *in
  1023. if in.DefaultAddCapabilities != nil {
  1024. in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities
  1025. *out = make([]corev1.Capability, len(*in))
  1026. copy(*out, *in)
  1027. }
  1028. if in.RequiredDropCapabilities != nil {
  1029. in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities
  1030. *out = make([]corev1.Capability, len(*in))
  1031. copy(*out, *in)
  1032. }
  1033. if in.AllowedCapabilities != nil {
  1034. in, out := &in.AllowedCapabilities, &out.AllowedCapabilities
  1035. *out = make([]corev1.Capability, len(*in))
  1036. copy(*out, *in)
  1037. }
  1038. if in.Volumes != nil {
  1039. in, out := &in.Volumes, &out.Volumes
  1040. *out = make([]FSType, len(*in))
  1041. copy(*out, *in)
  1042. }
  1043. if in.HostPorts != nil {
  1044. in, out := &in.HostPorts, &out.HostPorts
  1045. *out = make([]HostPortRange, len(*in))
  1046. copy(*out, *in)
  1047. }
  1048. in.SELinux.DeepCopyInto(&out.SELinux)
  1049. in.RunAsUser.DeepCopyInto(&out.RunAsUser)
  1050. if in.RunAsGroup != nil {
  1051. in, out := &in.RunAsGroup, &out.RunAsGroup
  1052. *out = new(RunAsGroupStrategyOptions)
  1053. (*in).DeepCopyInto(*out)
  1054. }
  1055. in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups)
  1056. in.FSGroup.DeepCopyInto(&out.FSGroup)
  1057. if in.DefaultAllowPrivilegeEscalation != nil {
  1058. in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
  1059. *out = new(bool)
  1060. **out = **in
  1061. }
  1062. if in.AllowPrivilegeEscalation != nil {
  1063. in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
  1064. *out = new(bool)
  1065. **out = **in
  1066. }
  1067. if in.AllowedHostPaths != nil {
  1068. in, out := &in.AllowedHostPaths, &out.AllowedHostPaths
  1069. *out = make([]AllowedHostPath, len(*in))
  1070. copy(*out, *in)
  1071. }
  1072. if in.AllowedFlexVolumes != nil {
  1073. in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes
  1074. *out = make([]AllowedFlexVolume, len(*in))
  1075. copy(*out, *in)
  1076. }
  1077. if in.AllowedCSIDrivers != nil {
  1078. in, out := &in.AllowedCSIDrivers, &out.AllowedCSIDrivers
  1079. *out = make([]AllowedCSIDriver, len(*in))
  1080. copy(*out, *in)
  1081. }
  1082. if in.AllowedUnsafeSysctls != nil {
  1083. in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
  1084. *out = make([]string, len(*in))
  1085. copy(*out, *in)
  1086. }
  1087. if in.ForbiddenSysctls != nil {
  1088. in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls
  1089. *out = make([]string, len(*in))
  1090. copy(*out, *in)
  1091. }
  1092. if in.AllowedProcMountTypes != nil {
  1093. in, out := &in.AllowedProcMountTypes, &out.AllowedProcMountTypes
  1094. *out = make([]corev1.ProcMountType, len(*in))
  1095. copy(*out, *in)
  1096. }
  1097. if in.RuntimeClass != nil {
  1098. in, out := &in.RuntimeClass, &out.RuntimeClass
  1099. *out = new(RuntimeClassStrategyOptions)
  1100. (*in).DeepCopyInto(*out)
  1101. }
  1102. return
  1103. }
  1104. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec.
  1105. func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec {
  1106. if in == nil {
  1107. return nil
  1108. }
  1109. out := new(PodSecurityPolicySpec)
  1110. in.DeepCopyInto(out)
  1111. return out
  1112. }
  1113. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1114. func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
  1115. *out = *in
  1116. out.TypeMeta = in.TypeMeta
  1117. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1118. in.Spec.DeepCopyInto(&out.Spec)
  1119. in.Status.DeepCopyInto(&out.Status)
  1120. return
  1121. }
  1122. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
  1123. func (in *ReplicaSet) DeepCopy() *ReplicaSet {
  1124. if in == nil {
  1125. return nil
  1126. }
  1127. out := new(ReplicaSet)
  1128. in.DeepCopyInto(out)
  1129. return out
  1130. }
  1131. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1132. func (in *ReplicaSet) DeepCopyObject() runtime.Object {
  1133. if c := in.DeepCopy(); c != nil {
  1134. return c
  1135. }
  1136. return nil
  1137. }
  1138. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1139. func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
  1140. *out = *in
  1141. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  1142. return
  1143. }
  1144. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
  1145. func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
  1146. if in == nil {
  1147. return nil
  1148. }
  1149. out := new(ReplicaSetCondition)
  1150. in.DeepCopyInto(out)
  1151. return out
  1152. }
  1153. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1154. func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
  1155. *out = *in
  1156. out.TypeMeta = in.TypeMeta
  1157. in.ListMeta.DeepCopyInto(&out.ListMeta)
  1158. if in.Items != nil {
  1159. in, out := &in.Items, &out.Items
  1160. *out = make([]ReplicaSet, len(*in))
  1161. for i := range *in {
  1162. (*in)[i].DeepCopyInto(&(*out)[i])
  1163. }
  1164. }
  1165. return
  1166. }
  1167. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
  1168. func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
  1169. if in == nil {
  1170. return nil
  1171. }
  1172. out := new(ReplicaSetList)
  1173. in.DeepCopyInto(out)
  1174. return out
  1175. }
  1176. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1177. func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
  1178. if c := in.DeepCopy(); c != nil {
  1179. return c
  1180. }
  1181. return nil
  1182. }
  1183. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1184. func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
  1185. *out = *in
  1186. if in.Replicas != nil {
  1187. in, out := &in.Replicas, &out.Replicas
  1188. *out = new(int32)
  1189. **out = **in
  1190. }
  1191. if in.Selector != nil {
  1192. in, out := &in.Selector, &out.Selector
  1193. *out = new(v1.LabelSelector)
  1194. (*in).DeepCopyInto(*out)
  1195. }
  1196. in.Template.DeepCopyInto(&out.Template)
  1197. return
  1198. }
  1199. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
  1200. func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
  1201. if in == nil {
  1202. return nil
  1203. }
  1204. out := new(ReplicaSetSpec)
  1205. in.DeepCopyInto(out)
  1206. return out
  1207. }
  1208. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1209. func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
  1210. *out = *in
  1211. if in.Conditions != nil {
  1212. in, out := &in.Conditions, &out.Conditions
  1213. *out = make([]ReplicaSetCondition, len(*in))
  1214. for i := range *in {
  1215. (*in)[i].DeepCopyInto(&(*out)[i])
  1216. }
  1217. }
  1218. return
  1219. }
  1220. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
  1221. func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
  1222. if in == nil {
  1223. return nil
  1224. }
  1225. out := new(ReplicaSetStatus)
  1226. in.DeepCopyInto(out)
  1227. return out
  1228. }
  1229. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1230. func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
  1231. *out = *in
  1232. return
  1233. }
  1234. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
  1235. func (in *RollbackConfig) DeepCopy() *RollbackConfig {
  1236. if in == nil {
  1237. return nil
  1238. }
  1239. out := new(RollbackConfig)
  1240. in.DeepCopyInto(out)
  1241. return out
  1242. }
  1243. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1244. func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
  1245. *out = *in
  1246. if in.MaxUnavailable != nil {
  1247. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  1248. *out = new(intstr.IntOrString)
  1249. **out = **in
  1250. }
  1251. if in.MaxSurge != nil {
  1252. in, out := &in.MaxSurge, &out.MaxSurge
  1253. *out = new(intstr.IntOrString)
  1254. **out = **in
  1255. }
  1256. return
  1257. }
  1258. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
  1259. func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
  1260. if in == nil {
  1261. return nil
  1262. }
  1263. out := new(RollingUpdateDaemonSet)
  1264. in.DeepCopyInto(out)
  1265. return out
  1266. }
  1267. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1268. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  1269. *out = *in
  1270. if in.MaxUnavailable != nil {
  1271. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  1272. *out = new(intstr.IntOrString)
  1273. **out = **in
  1274. }
  1275. if in.MaxSurge != nil {
  1276. in, out := &in.MaxSurge, &out.MaxSurge
  1277. *out = new(intstr.IntOrString)
  1278. **out = **in
  1279. }
  1280. return
  1281. }
  1282. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  1283. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  1284. if in == nil {
  1285. return nil
  1286. }
  1287. out := new(RollingUpdateDeployment)
  1288. in.DeepCopyInto(out)
  1289. return out
  1290. }
  1291. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1292. func (in *RunAsGroupStrategyOptions) DeepCopyInto(out *RunAsGroupStrategyOptions) {
  1293. *out = *in
  1294. if in.Ranges != nil {
  1295. in, out := &in.Ranges, &out.Ranges
  1296. *out = make([]IDRange, len(*in))
  1297. copy(*out, *in)
  1298. }
  1299. return
  1300. }
  1301. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupStrategyOptions.
  1302. func (in *RunAsGroupStrategyOptions) DeepCopy() *RunAsGroupStrategyOptions {
  1303. if in == nil {
  1304. return nil
  1305. }
  1306. out := new(RunAsGroupStrategyOptions)
  1307. in.DeepCopyInto(out)
  1308. return out
  1309. }
  1310. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1311. func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) {
  1312. *out = *in
  1313. if in.Ranges != nil {
  1314. in, out := &in.Ranges, &out.Ranges
  1315. *out = make([]IDRange, len(*in))
  1316. copy(*out, *in)
  1317. }
  1318. return
  1319. }
  1320. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions.
  1321. func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions {
  1322. if in == nil {
  1323. return nil
  1324. }
  1325. out := new(RunAsUserStrategyOptions)
  1326. in.DeepCopyInto(out)
  1327. return out
  1328. }
  1329. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1330. func (in *RuntimeClassStrategyOptions) DeepCopyInto(out *RuntimeClassStrategyOptions) {
  1331. *out = *in
  1332. if in.AllowedRuntimeClassNames != nil {
  1333. in, out := &in.AllowedRuntimeClassNames, &out.AllowedRuntimeClassNames
  1334. *out = make([]string, len(*in))
  1335. copy(*out, *in)
  1336. }
  1337. if in.DefaultRuntimeClassName != nil {
  1338. in, out := &in.DefaultRuntimeClassName, &out.DefaultRuntimeClassName
  1339. *out = new(string)
  1340. **out = **in
  1341. }
  1342. return
  1343. }
  1344. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassStrategyOptions.
  1345. func (in *RuntimeClassStrategyOptions) DeepCopy() *RuntimeClassStrategyOptions {
  1346. if in == nil {
  1347. return nil
  1348. }
  1349. out := new(RuntimeClassStrategyOptions)
  1350. in.DeepCopyInto(out)
  1351. return out
  1352. }
  1353. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1354. func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) {
  1355. *out = *in
  1356. if in.SELinuxOptions != nil {
  1357. in, out := &in.SELinuxOptions, &out.SELinuxOptions
  1358. *out = new(corev1.SELinuxOptions)
  1359. **out = **in
  1360. }
  1361. return
  1362. }
  1363. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions.
  1364. func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions {
  1365. if in == nil {
  1366. return nil
  1367. }
  1368. out := new(SELinuxStrategyOptions)
  1369. in.DeepCopyInto(out)
  1370. return out
  1371. }
  1372. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1373. func (in *Scale) DeepCopyInto(out *Scale) {
  1374. *out = *in
  1375. out.TypeMeta = in.TypeMeta
  1376. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  1377. out.Spec = in.Spec
  1378. in.Status.DeepCopyInto(&out.Status)
  1379. return
  1380. }
  1381. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  1382. func (in *Scale) DeepCopy() *Scale {
  1383. if in == nil {
  1384. return nil
  1385. }
  1386. out := new(Scale)
  1387. in.DeepCopyInto(out)
  1388. return out
  1389. }
  1390. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  1391. func (in *Scale) DeepCopyObject() runtime.Object {
  1392. if c := in.DeepCopy(); c != nil {
  1393. return c
  1394. }
  1395. return nil
  1396. }
  1397. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1398. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  1399. *out = *in
  1400. return
  1401. }
  1402. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  1403. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  1404. if in == nil {
  1405. return nil
  1406. }
  1407. out := new(ScaleSpec)
  1408. in.DeepCopyInto(out)
  1409. return out
  1410. }
  1411. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1412. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  1413. *out = *in
  1414. if in.Selector != nil {
  1415. in, out := &in.Selector, &out.Selector
  1416. *out = make(map[string]string, len(*in))
  1417. for key, val := range *in {
  1418. (*out)[key] = val
  1419. }
  1420. }
  1421. return
  1422. }
  1423. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  1424. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  1425. if in == nil {
  1426. return nil
  1427. }
  1428. out := new(ScaleStatus)
  1429. in.DeepCopyInto(out)
  1430. return out
  1431. }
  1432. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1433. func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) {
  1434. *out = *in
  1435. if in.Ranges != nil {
  1436. in, out := &in.Ranges, &out.Ranges
  1437. *out = make([]IDRange, len(*in))
  1438. copy(*out, *in)
  1439. }
  1440. return
  1441. }
  1442. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions.
  1443. func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions {
  1444. if in == nil {
  1445. return nil
  1446. }
  1447. out := new(SupplementalGroupsStrategyOptions)
  1448. in.DeepCopyInto(out)
  1449. return out
  1450. }