zz_generated.deepcopy.go 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  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. types "k8s.io/apimachinery/pkg/types"
  22. )
  23. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  24. func (in *CronJob) DeepCopyInto(out *CronJob) {
  25. *out = *in
  26. out.TypeMeta = in.TypeMeta
  27. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  28. in.Spec.DeepCopyInto(&out.Spec)
  29. in.Status.DeepCopyInto(&out.Status)
  30. return
  31. }
  32. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
  33. func (in *CronJob) DeepCopy() *CronJob {
  34. if in == nil {
  35. return nil
  36. }
  37. out := new(CronJob)
  38. in.DeepCopyInto(out)
  39. return out
  40. }
  41. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  42. func (in *CronJob) DeepCopyObject() runtime.Object {
  43. if c := in.DeepCopy(); c != nil {
  44. return c
  45. }
  46. return nil
  47. }
  48. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  49. func (in *CronJobList) DeepCopyInto(out *CronJobList) {
  50. *out = *in
  51. out.TypeMeta = in.TypeMeta
  52. in.ListMeta.DeepCopyInto(&out.ListMeta)
  53. if in.Items != nil {
  54. in, out := &in.Items, &out.Items
  55. *out = make([]CronJob, len(*in))
  56. for i := range *in {
  57. (*in)[i].DeepCopyInto(&(*out)[i])
  58. }
  59. }
  60. return
  61. }
  62. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
  63. func (in *CronJobList) DeepCopy() *CronJobList {
  64. if in == nil {
  65. return nil
  66. }
  67. out := new(CronJobList)
  68. in.DeepCopyInto(out)
  69. return out
  70. }
  71. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  72. func (in *CronJobList) DeepCopyObject() runtime.Object {
  73. if c := in.DeepCopy(); c != nil {
  74. return c
  75. }
  76. return nil
  77. }
  78. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  79. func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
  80. *out = *in
  81. if in.TimeZone != nil {
  82. in, out := &in.TimeZone, &out.TimeZone
  83. *out = new(string)
  84. **out = **in
  85. }
  86. if in.StartingDeadlineSeconds != nil {
  87. in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
  88. *out = new(int64)
  89. **out = **in
  90. }
  91. if in.Suspend != nil {
  92. in, out := &in.Suspend, &out.Suspend
  93. *out = new(bool)
  94. **out = **in
  95. }
  96. in.JobTemplate.DeepCopyInto(&out.JobTemplate)
  97. if in.SuccessfulJobsHistoryLimit != nil {
  98. in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
  99. *out = new(int32)
  100. **out = **in
  101. }
  102. if in.FailedJobsHistoryLimit != nil {
  103. in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
  104. *out = new(int32)
  105. **out = **in
  106. }
  107. return
  108. }
  109. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
  110. func (in *CronJobSpec) DeepCopy() *CronJobSpec {
  111. if in == nil {
  112. return nil
  113. }
  114. out := new(CronJobSpec)
  115. in.DeepCopyInto(out)
  116. return out
  117. }
  118. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  119. func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
  120. *out = *in
  121. if in.Active != nil {
  122. in, out := &in.Active, &out.Active
  123. *out = make([]corev1.ObjectReference, len(*in))
  124. copy(*out, *in)
  125. }
  126. if in.LastScheduleTime != nil {
  127. in, out := &in.LastScheduleTime, &out.LastScheduleTime
  128. *out = (*in).DeepCopy()
  129. }
  130. if in.LastSuccessfulTime != nil {
  131. in, out := &in.LastSuccessfulTime, &out.LastSuccessfulTime
  132. *out = (*in).DeepCopy()
  133. }
  134. return
  135. }
  136. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
  137. func (in *CronJobStatus) DeepCopy() *CronJobStatus {
  138. if in == nil {
  139. return nil
  140. }
  141. out := new(CronJobStatus)
  142. in.DeepCopyInto(out)
  143. return out
  144. }
  145. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  146. func (in *Job) DeepCopyInto(out *Job) {
  147. *out = *in
  148. out.TypeMeta = in.TypeMeta
  149. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  150. in.Spec.DeepCopyInto(&out.Spec)
  151. in.Status.DeepCopyInto(&out.Status)
  152. return
  153. }
  154. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
  155. func (in *Job) DeepCopy() *Job {
  156. if in == nil {
  157. return nil
  158. }
  159. out := new(Job)
  160. in.DeepCopyInto(out)
  161. return out
  162. }
  163. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  164. func (in *Job) DeepCopyObject() runtime.Object {
  165. if c := in.DeepCopy(); c != nil {
  166. return c
  167. }
  168. return nil
  169. }
  170. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  171. func (in *JobCondition) DeepCopyInto(out *JobCondition) {
  172. *out = *in
  173. in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
  174. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  175. return
  176. }
  177. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
  178. func (in *JobCondition) DeepCopy() *JobCondition {
  179. if in == nil {
  180. return nil
  181. }
  182. out := new(JobCondition)
  183. in.DeepCopyInto(out)
  184. return out
  185. }
  186. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  187. func (in *JobList) DeepCopyInto(out *JobList) {
  188. *out = *in
  189. out.TypeMeta = in.TypeMeta
  190. in.ListMeta.DeepCopyInto(&out.ListMeta)
  191. if in.Items != nil {
  192. in, out := &in.Items, &out.Items
  193. *out = make([]Job, len(*in))
  194. for i := range *in {
  195. (*in)[i].DeepCopyInto(&(*out)[i])
  196. }
  197. }
  198. return
  199. }
  200. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
  201. func (in *JobList) DeepCopy() *JobList {
  202. if in == nil {
  203. return nil
  204. }
  205. out := new(JobList)
  206. in.DeepCopyInto(out)
  207. return out
  208. }
  209. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  210. func (in *JobList) DeepCopyObject() runtime.Object {
  211. if c := in.DeepCopy(); c != nil {
  212. return c
  213. }
  214. return nil
  215. }
  216. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  217. func (in *JobSpec) DeepCopyInto(out *JobSpec) {
  218. *out = *in
  219. if in.Parallelism != nil {
  220. in, out := &in.Parallelism, &out.Parallelism
  221. *out = new(int32)
  222. **out = **in
  223. }
  224. if in.Completions != nil {
  225. in, out := &in.Completions, &out.Completions
  226. *out = new(int32)
  227. **out = **in
  228. }
  229. if in.ActiveDeadlineSeconds != nil {
  230. in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
  231. *out = new(int64)
  232. **out = **in
  233. }
  234. if in.PodFailurePolicy != nil {
  235. in, out := &in.PodFailurePolicy, &out.PodFailurePolicy
  236. *out = new(PodFailurePolicy)
  237. (*in).DeepCopyInto(*out)
  238. }
  239. if in.SuccessPolicy != nil {
  240. in, out := &in.SuccessPolicy, &out.SuccessPolicy
  241. *out = new(SuccessPolicy)
  242. (*in).DeepCopyInto(*out)
  243. }
  244. if in.BackoffLimit != nil {
  245. in, out := &in.BackoffLimit, &out.BackoffLimit
  246. *out = new(int32)
  247. **out = **in
  248. }
  249. if in.BackoffLimitPerIndex != nil {
  250. in, out := &in.BackoffLimitPerIndex, &out.BackoffLimitPerIndex
  251. *out = new(int32)
  252. **out = **in
  253. }
  254. if in.MaxFailedIndexes != nil {
  255. in, out := &in.MaxFailedIndexes, &out.MaxFailedIndexes
  256. *out = new(int32)
  257. **out = **in
  258. }
  259. if in.Selector != nil {
  260. in, out := &in.Selector, &out.Selector
  261. *out = new(metav1.LabelSelector)
  262. (*in).DeepCopyInto(*out)
  263. }
  264. if in.ManualSelector != nil {
  265. in, out := &in.ManualSelector, &out.ManualSelector
  266. *out = new(bool)
  267. **out = **in
  268. }
  269. in.Template.DeepCopyInto(&out.Template)
  270. if in.TTLSecondsAfterFinished != nil {
  271. in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
  272. *out = new(int32)
  273. **out = **in
  274. }
  275. if in.CompletionMode != nil {
  276. in, out := &in.CompletionMode, &out.CompletionMode
  277. *out = new(CompletionMode)
  278. **out = **in
  279. }
  280. if in.Suspend != nil {
  281. in, out := &in.Suspend, &out.Suspend
  282. *out = new(bool)
  283. **out = **in
  284. }
  285. if in.PodReplacementPolicy != nil {
  286. in, out := &in.PodReplacementPolicy, &out.PodReplacementPolicy
  287. *out = new(PodReplacementPolicy)
  288. **out = **in
  289. }
  290. if in.ManagedBy != nil {
  291. in, out := &in.ManagedBy, &out.ManagedBy
  292. *out = new(string)
  293. **out = **in
  294. }
  295. return
  296. }
  297. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
  298. func (in *JobSpec) DeepCopy() *JobSpec {
  299. if in == nil {
  300. return nil
  301. }
  302. out := new(JobSpec)
  303. in.DeepCopyInto(out)
  304. return out
  305. }
  306. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  307. func (in *JobStatus) DeepCopyInto(out *JobStatus) {
  308. *out = *in
  309. if in.Conditions != nil {
  310. in, out := &in.Conditions, &out.Conditions
  311. *out = make([]JobCondition, len(*in))
  312. for i := range *in {
  313. (*in)[i].DeepCopyInto(&(*out)[i])
  314. }
  315. }
  316. if in.StartTime != nil {
  317. in, out := &in.StartTime, &out.StartTime
  318. *out = (*in).DeepCopy()
  319. }
  320. if in.CompletionTime != nil {
  321. in, out := &in.CompletionTime, &out.CompletionTime
  322. *out = (*in).DeepCopy()
  323. }
  324. if in.Terminating != nil {
  325. in, out := &in.Terminating, &out.Terminating
  326. *out = new(int32)
  327. **out = **in
  328. }
  329. if in.FailedIndexes != nil {
  330. in, out := &in.FailedIndexes, &out.FailedIndexes
  331. *out = new(string)
  332. **out = **in
  333. }
  334. if in.UncountedTerminatedPods != nil {
  335. in, out := &in.UncountedTerminatedPods, &out.UncountedTerminatedPods
  336. *out = new(UncountedTerminatedPods)
  337. (*in).DeepCopyInto(*out)
  338. }
  339. if in.Ready != nil {
  340. in, out := &in.Ready, &out.Ready
  341. *out = new(int32)
  342. **out = **in
  343. }
  344. return
  345. }
  346. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
  347. func (in *JobStatus) DeepCopy() *JobStatus {
  348. if in == nil {
  349. return nil
  350. }
  351. out := new(JobStatus)
  352. in.DeepCopyInto(out)
  353. return out
  354. }
  355. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  356. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  357. *out = *in
  358. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  359. in.Spec.DeepCopyInto(&out.Spec)
  360. return
  361. }
  362. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  363. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  364. if in == nil {
  365. return nil
  366. }
  367. out := new(JobTemplateSpec)
  368. in.DeepCopyInto(out)
  369. return out
  370. }
  371. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  372. func (in *PodFailurePolicy) DeepCopyInto(out *PodFailurePolicy) {
  373. *out = *in
  374. if in.Rules != nil {
  375. in, out := &in.Rules, &out.Rules
  376. *out = make([]PodFailurePolicyRule, len(*in))
  377. for i := range *in {
  378. (*in)[i].DeepCopyInto(&(*out)[i])
  379. }
  380. }
  381. return
  382. }
  383. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicy.
  384. func (in *PodFailurePolicy) DeepCopy() *PodFailurePolicy {
  385. if in == nil {
  386. return nil
  387. }
  388. out := new(PodFailurePolicy)
  389. in.DeepCopyInto(out)
  390. return out
  391. }
  392. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  393. func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopyInto(out *PodFailurePolicyOnExitCodesRequirement) {
  394. *out = *in
  395. if in.ContainerName != nil {
  396. in, out := &in.ContainerName, &out.ContainerName
  397. *out = new(string)
  398. **out = **in
  399. }
  400. if in.Values != nil {
  401. in, out := &in.Values, &out.Values
  402. *out = make([]int32, len(*in))
  403. copy(*out, *in)
  404. }
  405. return
  406. }
  407. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnExitCodesRequirement.
  408. func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopy() *PodFailurePolicyOnExitCodesRequirement {
  409. if in == nil {
  410. return nil
  411. }
  412. out := new(PodFailurePolicyOnExitCodesRequirement)
  413. in.DeepCopyInto(out)
  414. return out
  415. }
  416. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  417. func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopyInto(out *PodFailurePolicyOnPodConditionsPattern) {
  418. *out = *in
  419. return
  420. }
  421. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnPodConditionsPattern.
  422. func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopy() *PodFailurePolicyOnPodConditionsPattern {
  423. if in == nil {
  424. return nil
  425. }
  426. out := new(PodFailurePolicyOnPodConditionsPattern)
  427. in.DeepCopyInto(out)
  428. return out
  429. }
  430. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  431. func (in *PodFailurePolicyRule) DeepCopyInto(out *PodFailurePolicyRule) {
  432. *out = *in
  433. if in.OnExitCodes != nil {
  434. in, out := &in.OnExitCodes, &out.OnExitCodes
  435. *out = new(PodFailurePolicyOnExitCodesRequirement)
  436. (*in).DeepCopyInto(*out)
  437. }
  438. if in.OnPodConditions != nil {
  439. in, out := &in.OnPodConditions, &out.OnPodConditions
  440. *out = make([]PodFailurePolicyOnPodConditionsPattern, len(*in))
  441. copy(*out, *in)
  442. }
  443. return
  444. }
  445. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyRule.
  446. func (in *PodFailurePolicyRule) DeepCopy() *PodFailurePolicyRule {
  447. if in == nil {
  448. return nil
  449. }
  450. out := new(PodFailurePolicyRule)
  451. in.DeepCopyInto(out)
  452. return out
  453. }
  454. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  455. func (in *SuccessPolicy) DeepCopyInto(out *SuccessPolicy) {
  456. *out = *in
  457. if in.Rules != nil {
  458. in, out := &in.Rules, &out.Rules
  459. *out = make([]SuccessPolicyRule, len(*in))
  460. for i := range *in {
  461. (*in)[i].DeepCopyInto(&(*out)[i])
  462. }
  463. }
  464. return
  465. }
  466. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessPolicy.
  467. func (in *SuccessPolicy) DeepCopy() *SuccessPolicy {
  468. if in == nil {
  469. return nil
  470. }
  471. out := new(SuccessPolicy)
  472. in.DeepCopyInto(out)
  473. return out
  474. }
  475. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  476. func (in *SuccessPolicyRule) DeepCopyInto(out *SuccessPolicyRule) {
  477. *out = *in
  478. if in.SucceededIndexes != nil {
  479. in, out := &in.SucceededIndexes, &out.SucceededIndexes
  480. *out = new(string)
  481. **out = **in
  482. }
  483. if in.SucceededCount != nil {
  484. in, out := &in.SucceededCount, &out.SucceededCount
  485. *out = new(int32)
  486. **out = **in
  487. }
  488. return
  489. }
  490. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessPolicyRule.
  491. func (in *SuccessPolicyRule) DeepCopy() *SuccessPolicyRule {
  492. if in == nil {
  493. return nil
  494. }
  495. out := new(SuccessPolicyRule)
  496. in.DeepCopyInto(out)
  497. return out
  498. }
  499. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  500. func (in *UncountedTerminatedPods) DeepCopyInto(out *UncountedTerminatedPods) {
  501. *out = *in
  502. if in.Succeeded != nil {
  503. in, out := &in.Succeeded, &out.Succeeded
  504. *out = make([]types.UID, len(*in))
  505. copy(*out, *in)
  506. }
  507. if in.Failed != nil {
  508. in, out := &in.Failed, &out.Failed
  509. *out = make([]types.UID, len(*in))
  510. copy(*out, *in)
  511. }
  512. return
  513. }
  514. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UncountedTerminatedPods.
  515. func (in *UncountedTerminatedPods) DeepCopy() *UncountedTerminatedPods {
  516. if in == nil {
  517. return nil
  518. }
  519. out := new(UncountedTerminatedPods)
  520. in.DeepCopyInto(out)
  521. return out
  522. }