zz_generated.deepcopy.go 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  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.StartingDeadlineSeconds != nil {
  82. in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
  83. *out = new(int64)
  84. **out = **in
  85. }
  86. if in.Suspend != nil {
  87. in, out := &in.Suspend, &out.Suspend
  88. *out = new(bool)
  89. **out = **in
  90. }
  91. in.JobTemplate.DeepCopyInto(&out.JobTemplate)
  92. if in.SuccessfulJobsHistoryLimit != nil {
  93. in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
  94. *out = new(int32)
  95. **out = **in
  96. }
  97. if in.FailedJobsHistoryLimit != nil {
  98. in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
  99. *out = new(int32)
  100. **out = **in
  101. }
  102. return
  103. }
  104. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
  105. func (in *CronJobSpec) DeepCopy() *CronJobSpec {
  106. if in == nil {
  107. return nil
  108. }
  109. out := new(CronJobSpec)
  110. in.DeepCopyInto(out)
  111. return out
  112. }
  113. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  114. func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
  115. *out = *in
  116. if in.Active != nil {
  117. in, out := &in.Active, &out.Active
  118. *out = make([]corev1.ObjectReference, len(*in))
  119. copy(*out, *in)
  120. }
  121. if in.LastScheduleTime != nil {
  122. in, out := &in.LastScheduleTime, &out.LastScheduleTime
  123. *out = (*in).DeepCopy()
  124. }
  125. if in.LastSuccessfulTime != nil {
  126. in, out := &in.LastSuccessfulTime, &out.LastSuccessfulTime
  127. *out = (*in).DeepCopy()
  128. }
  129. return
  130. }
  131. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
  132. func (in *CronJobStatus) DeepCopy() *CronJobStatus {
  133. if in == nil {
  134. return nil
  135. }
  136. out := new(CronJobStatus)
  137. in.DeepCopyInto(out)
  138. return out
  139. }
  140. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  141. func (in *Job) DeepCopyInto(out *Job) {
  142. *out = *in
  143. out.TypeMeta = in.TypeMeta
  144. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  145. in.Spec.DeepCopyInto(&out.Spec)
  146. in.Status.DeepCopyInto(&out.Status)
  147. return
  148. }
  149. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
  150. func (in *Job) DeepCopy() *Job {
  151. if in == nil {
  152. return nil
  153. }
  154. out := new(Job)
  155. in.DeepCopyInto(out)
  156. return out
  157. }
  158. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  159. func (in *Job) DeepCopyObject() runtime.Object {
  160. if c := in.DeepCopy(); c != nil {
  161. return c
  162. }
  163. return nil
  164. }
  165. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  166. func (in *JobCondition) DeepCopyInto(out *JobCondition) {
  167. *out = *in
  168. in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
  169. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  170. return
  171. }
  172. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
  173. func (in *JobCondition) DeepCopy() *JobCondition {
  174. if in == nil {
  175. return nil
  176. }
  177. out := new(JobCondition)
  178. in.DeepCopyInto(out)
  179. return out
  180. }
  181. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  182. func (in *JobList) DeepCopyInto(out *JobList) {
  183. *out = *in
  184. out.TypeMeta = in.TypeMeta
  185. in.ListMeta.DeepCopyInto(&out.ListMeta)
  186. if in.Items != nil {
  187. in, out := &in.Items, &out.Items
  188. *out = make([]Job, len(*in))
  189. for i := range *in {
  190. (*in)[i].DeepCopyInto(&(*out)[i])
  191. }
  192. }
  193. return
  194. }
  195. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
  196. func (in *JobList) DeepCopy() *JobList {
  197. if in == nil {
  198. return nil
  199. }
  200. out := new(JobList)
  201. in.DeepCopyInto(out)
  202. return out
  203. }
  204. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  205. func (in *JobList) DeepCopyObject() runtime.Object {
  206. if c := in.DeepCopy(); c != nil {
  207. return c
  208. }
  209. return nil
  210. }
  211. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  212. func (in *JobSpec) DeepCopyInto(out *JobSpec) {
  213. *out = *in
  214. if in.Parallelism != nil {
  215. in, out := &in.Parallelism, &out.Parallelism
  216. *out = new(int32)
  217. **out = **in
  218. }
  219. if in.Completions != nil {
  220. in, out := &in.Completions, &out.Completions
  221. *out = new(int32)
  222. **out = **in
  223. }
  224. if in.ActiveDeadlineSeconds != nil {
  225. in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
  226. *out = new(int64)
  227. **out = **in
  228. }
  229. if in.BackoffLimit != nil {
  230. in, out := &in.BackoffLimit, &out.BackoffLimit
  231. *out = new(int32)
  232. **out = **in
  233. }
  234. if in.Selector != nil {
  235. in, out := &in.Selector, &out.Selector
  236. *out = new(metav1.LabelSelector)
  237. (*in).DeepCopyInto(*out)
  238. }
  239. if in.ManualSelector != nil {
  240. in, out := &in.ManualSelector, &out.ManualSelector
  241. *out = new(bool)
  242. **out = **in
  243. }
  244. in.Template.DeepCopyInto(&out.Template)
  245. if in.TTLSecondsAfterFinished != nil {
  246. in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
  247. *out = new(int32)
  248. **out = **in
  249. }
  250. if in.CompletionMode != nil {
  251. in, out := &in.CompletionMode, &out.CompletionMode
  252. *out = new(CompletionMode)
  253. **out = **in
  254. }
  255. if in.Suspend != nil {
  256. in, out := &in.Suspend, &out.Suspend
  257. *out = new(bool)
  258. **out = **in
  259. }
  260. return
  261. }
  262. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
  263. func (in *JobSpec) DeepCopy() *JobSpec {
  264. if in == nil {
  265. return nil
  266. }
  267. out := new(JobSpec)
  268. in.DeepCopyInto(out)
  269. return out
  270. }
  271. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  272. func (in *JobStatus) DeepCopyInto(out *JobStatus) {
  273. *out = *in
  274. if in.Conditions != nil {
  275. in, out := &in.Conditions, &out.Conditions
  276. *out = make([]JobCondition, len(*in))
  277. for i := range *in {
  278. (*in)[i].DeepCopyInto(&(*out)[i])
  279. }
  280. }
  281. if in.StartTime != nil {
  282. in, out := &in.StartTime, &out.StartTime
  283. *out = (*in).DeepCopy()
  284. }
  285. if in.CompletionTime != nil {
  286. in, out := &in.CompletionTime, &out.CompletionTime
  287. *out = (*in).DeepCopy()
  288. }
  289. if in.UncountedTerminatedPods != nil {
  290. in, out := &in.UncountedTerminatedPods, &out.UncountedTerminatedPods
  291. *out = new(UncountedTerminatedPods)
  292. (*in).DeepCopyInto(*out)
  293. }
  294. if in.Ready != nil {
  295. in, out := &in.Ready, &out.Ready
  296. *out = new(int32)
  297. **out = **in
  298. }
  299. return
  300. }
  301. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
  302. func (in *JobStatus) DeepCopy() *JobStatus {
  303. if in == nil {
  304. return nil
  305. }
  306. out := new(JobStatus)
  307. in.DeepCopyInto(out)
  308. return out
  309. }
  310. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  311. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  312. *out = *in
  313. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  314. in.Spec.DeepCopyInto(&out.Spec)
  315. return
  316. }
  317. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  318. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  319. if in == nil {
  320. return nil
  321. }
  322. out := new(JobTemplateSpec)
  323. in.DeepCopyInto(out)
  324. return out
  325. }
  326. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  327. func (in *UncountedTerminatedPods) DeepCopyInto(out *UncountedTerminatedPods) {
  328. *out = *in
  329. if in.Succeeded != nil {
  330. in, out := &in.Succeeded, &out.Succeeded
  331. *out = make([]types.UID, len(*in))
  332. copy(*out, *in)
  333. }
  334. if in.Failed != nil {
  335. in, out := &in.Failed, &out.Failed
  336. *out = make([]types.UID, len(*in))
  337. copy(*out, *in)
  338. }
  339. return
  340. }
  341. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UncountedTerminatedPods.
  342. func (in *UncountedTerminatedPods) DeepCopy() *UncountedTerminatedPods {
  343. if in == nil {
  344. return nil
  345. }
  346. out := new(UncountedTerminatedPods)
  347. in.DeepCopyInto(out)
  348. return out
  349. }