zz_generated.deepcopy.go 13 KB

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