zz_generated.deepcopy.go 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  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.BackoffLimit != nil {
  240. in, out := &in.BackoffLimit, &out.BackoffLimit
  241. *out = new(int32)
  242. **out = **in
  243. }
  244. if in.BackoffLimitPerIndex != nil {
  245. in, out := &in.BackoffLimitPerIndex, &out.BackoffLimitPerIndex
  246. *out = new(int32)
  247. **out = **in
  248. }
  249. if in.MaxFailedIndexes != nil {
  250. in, out := &in.MaxFailedIndexes, &out.MaxFailedIndexes
  251. *out = new(int32)
  252. **out = **in
  253. }
  254. if in.Selector != nil {
  255. in, out := &in.Selector, &out.Selector
  256. *out = new(metav1.LabelSelector)
  257. (*in).DeepCopyInto(*out)
  258. }
  259. if in.ManualSelector != nil {
  260. in, out := &in.ManualSelector, &out.ManualSelector
  261. *out = new(bool)
  262. **out = **in
  263. }
  264. in.Template.DeepCopyInto(&out.Template)
  265. if in.TTLSecondsAfterFinished != nil {
  266. in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
  267. *out = new(int32)
  268. **out = **in
  269. }
  270. if in.CompletionMode != nil {
  271. in, out := &in.CompletionMode, &out.CompletionMode
  272. *out = new(CompletionMode)
  273. **out = **in
  274. }
  275. if in.Suspend != nil {
  276. in, out := &in.Suspend, &out.Suspend
  277. *out = new(bool)
  278. **out = **in
  279. }
  280. if in.PodReplacementPolicy != nil {
  281. in, out := &in.PodReplacementPolicy, &out.PodReplacementPolicy
  282. *out = new(PodReplacementPolicy)
  283. **out = **in
  284. }
  285. return
  286. }
  287. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
  288. func (in *JobSpec) DeepCopy() *JobSpec {
  289. if in == nil {
  290. return nil
  291. }
  292. out := new(JobSpec)
  293. in.DeepCopyInto(out)
  294. return out
  295. }
  296. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  297. func (in *JobStatus) DeepCopyInto(out *JobStatus) {
  298. *out = *in
  299. if in.Conditions != nil {
  300. in, out := &in.Conditions, &out.Conditions
  301. *out = make([]JobCondition, len(*in))
  302. for i := range *in {
  303. (*in)[i].DeepCopyInto(&(*out)[i])
  304. }
  305. }
  306. if in.StartTime != nil {
  307. in, out := &in.StartTime, &out.StartTime
  308. *out = (*in).DeepCopy()
  309. }
  310. if in.CompletionTime != nil {
  311. in, out := &in.CompletionTime, &out.CompletionTime
  312. *out = (*in).DeepCopy()
  313. }
  314. if in.Terminating != nil {
  315. in, out := &in.Terminating, &out.Terminating
  316. *out = new(int32)
  317. **out = **in
  318. }
  319. if in.FailedIndexes != nil {
  320. in, out := &in.FailedIndexes, &out.FailedIndexes
  321. *out = new(string)
  322. **out = **in
  323. }
  324. if in.UncountedTerminatedPods != nil {
  325. in, out := &in.UncountedTerminatedPods, &out.UncountedTerminatedPods
  326. *out = new(UncountedTerminatedPods)
  327. (*in).DeepCopyInto(*out)
  328. }
  329. if in.Ready != nil {
  330. in, out := &in.Ready, &out.Ready
  331. *out = new(int32)
  332. **out = **in
  333. }
  334. return
  335. }
  336. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
  337. func (in *JobStatus) DeepCopy() *JobStatus {
  338. if in == nil {
  339. return nil
  340. }
  341. out := new(JobStatus)
  342. in.DeepCopyInto(out)
  343. return out
  344. }
  345. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  346. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  347. *out = *in
  348. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  349. in.Spec.DeepCopyInto(&out.Spec)
  350. return
  351. }
  352. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  353. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  354. if in == nil {
  355. return nil
  356. }
  357. out := new(JobTemplateSpec)
  358. in.DeepCopyInto(out)
  359. return out
  360. }
  361. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  362. func (in *PodFailurePolicy) DeepCopyInto(out *PodFailurePolicy) {
  363. *out = *in
  364. if in.Rules != nil {
  365. in, out := &in.Rules, &out.Rules
  366. *out = make([]PodFailurePolicyRule, len(*in))
  367. for i := range *in {
  368. (*in)[i].DeepCopyInto(&(*out)[i])
  369. }
  370. }
  371. return
  372. }
  373. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicy.
  374. func (in *PodFailurePolicy) DeepCopy() *PodFailurePolicy {
  375. if in == nil {
  376. return nil
  377. }
  378. out := new(PodFailurePolicy)
  379. in.DeepCopyInto(out)
  380. return out
  381. }
  382. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  383. func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopyInto(out *PodFailurePolicyOnExitCodesRequirement) {
  384. *out = *in
  385. if in.ContainerName != nil {
  386. in, out := &in.ContainerName, &out.ContainerName
  387. *out = new(string)
  388. **out = **in
  389. }
  390. if in.Values != nil {
  391. in, out := &in.Values, &out.Values
  392. *out = make([]int32, len(*in))
  393. copy(*out, *in)
  394. }
  395. return
  396. }
  397. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnExitCodesRequirement.
  398. func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopy() *PodFailurePolicyOnExitCodesRequirement {
  399. if in == nil {
  400. return nil
  401. }
  402. out := new(PodFailurePolicyOnExitCodesRequirement)
  403. in.DeepCopyInto(out)
  404. return out
  405. }
  406. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  407. func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopyInto(out *PodFailurePolicyOnPodConditionsPattern) {
  408. *out = *in
  409. return
  410. }
  411. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnPodConditionsPattern.
  412. func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopy() *PodFailurePolicyOnPodConditionsPattern {
  413. if in == nil {
  414. return nil
  415. }
  416. out := new(PodFailurePolicyOnPodConditionsPattern)
  417. in.DeepCopyInto(out)
  418. return out
  419. }
  420. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  421. func (in *PodFailurePolicyRule) DeepCopyInto(out *PodFailurePolicyRule) {
  422. *out = *in
  423. if in.OnExitCodes != nil {
  424. in, out := &in.OnExitCodes, &out.OnExitCodes
  425. *out = new(PodFailurePolicyOnExitCodesRequirement)
  426. (*in).DeepCopyInto(*out)
  427. }
  428. if in.OnPodConditions != nil {
  429. in, out := &in.OnPodConditions, &out.OnPodConditions
  430. *out = make([]PodFailurePolicyOnPodConditionsPattern, len(*in))
  431. copy(*out, *in)
  432. }
  433. return
  434. }
  435. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyRule.
  436. func (in *PodFailurePolicyRule) DeepCopy() *PodFailurePolicyRule {
  437. if in == nil {
  438. return nil
  439. }
  440. out := new(PodFailurePolicyRule)
  441. in.DeepCopyInto(out)
  442. return out
  443. }
  444. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  445. func (in *UncountedTerminatedPods) DeepCopyInto(out *UncountedTerminatedPods) {
  446. *out = *in
  447. if in.Succeeded != nil {
  448. in, out := &in.Succeeded, &out.Succeeded
  449. *out = make([]types.UID, len(*in))
  450. copy(*out, *in)
  451. }
  452. if in.Failed != nil {
  453. in, out := &in.Failed, &out.Failed
  454. *out = make([]types.UID, len(*in))
  455. copy(*out, *in)
  456. }
  457. return
  458. }
  459. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UncountedTerminatedPods.
  460. func (in *UncountedTerminatedPods) DeepCopy() *UncountedTerminatedPods {
  461. if in == nil {
  462. return nil
  463. }
  464. out := new(UncountedTerminatedPods)
  465. in.DeepCopyInto(out)
  466. return out
  467. }