zz_generated.deepcopy.go 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package batch
  16. import (
  17. v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. core "k8s.io/kubernetes/pkg/apis/core"
  20. )
  21. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  22. func (in *CronJob) DeepCopyInto(out *CronJob) {
  23. *out = *in
  24. out.TypeMeta = in.TypeMeta
  25. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  26. in.Spec.DeepCopyInto(&out.Spec)
  27. in.Status.DeepCopyInto(&out.Status)
  28. return
  29. }
  30. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
  31. func (in *CronJob) DeepCopy() *CronJob {
  32. if in == nil {
  33. return nil
  34. }
  35. out := new(CronJob)
  36. in.DeepCopyInto(out)
  37. return out
  38. }
  39. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  40. func (in *CronJob) DeepCopyObject() runtime.Object {
  41. if c := in.DeepCopy(); c != nil {
  42. return c
  43. }
  44. return nil
  45. }
  46. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  47. func (in *CronJobList) DeepCopyInto(out *CronJobList) {
  48. *out = *in
  49. out.TypeMeta = in.TypeMeta
  50. in.ListMeta.DeepCopyInto(&out.ListMeta)
  51. if in.Items != nil {
  52. in, out := &in.Items, &out.Items
  53. *out = make([]CronJob, len(*in))
  54. for i := range *in {
  55. (*in)[i].DeepCopyInto(&(*out)[i])
  56. }
  57. }
  58. return
  59. }
  60. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
  61. func (in *CronJobList) DeepCopy() *CronJobList {
  62. if in == nil {
  63. return nil
  64. }
  65. out := new(CronJobList)
  66. in.DeepCopyInto(out)
  67. return out
  68. }
  69. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  70. func (in *CronJobList) DeepCopyObject() runtime.Object {
  71. if c := in.DeepCopy(); c != nil {
  72. return c
  73. }
  74. return nil
  75. }
  76. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  77. func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
  78. *out = *in
  79. if in.StartingDeadlineSeconds != nil {
  80. in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
  81. *out = new(int64)
  82. **out = **in
  83. }
  84. if in.Suspend != nil {
  85. in, out := &in.Suspend, &out.Suspend
  86. *out = new(bool)
  87. **out = **in
  88. }
  89. in.JobTemplate.DeepCopyInto(&out.JobTemplate)
  90. if in.SuccessfulJobsHistoryLimit != nil {
  91. in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
  92. *out = new(int32)
  93. **out = **in
  94. }
  95. if in.FailedJobsHistoryLimit != nil {
  96. in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
  97. *out = new(int32)
  98. **out = **in
  99. }
  100. return
  101. }
  102. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
  103. func (in *CronJobSpec) DeepCopy() *CronJobSpec {
  104. if in == nil {
  105. return nil
  106. }
  107. out := new(CronJobSpec)
  108. in.DeepCopyInto(out)
  109. return out
  110. }
  111. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  112. func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
  113. *out = *in
  114. if in.Active != nil {
  115. in, out := &in.Active, &out.Active
  116. *out = make([]core.ObjectReference, len(*in))
  117. copy(*out, *in)
  118. }
  119. if in.LastScheduleTime != nil {
  120. in, out := &in.LastScheduleTime, &out.LastScheduleTime
  121. *out = (*in).DeepCopy()
  122. }
  123. return
  124. }
  125. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
  126. func (in *CronJobStatus) DeepCopy() *CronJobStatus {
  127. if in == nil {
  128. return nil
  129. }
  130. out := new(CronJobStatus)
  131. in.DeepCopyInto(out)
  132. return out
  133. }
  134. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  135. func (in *Job) DeepCopyInto(out *Job) {
  136. *out = *in
  137. out.TypeMeta = in.TypeMeta
  138. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  139. in.Spec.DeepCopyInto(&out.Spec)
  140. in.Status.DeepCopyInto(&out.Status)
  141. return
  142. }
  143. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
  144. func (in *Job) DeepCopy() *Job {
  145. if in == nil {
  146. return nil
  147. }
  148. out := new(Job)
  149. in.DeepCopyInto(out)
  150. return out
  151. }
  152. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  153. func (in *Job) DeepCopyObject() runtime.Object {
  154. if c := in.DeepCopy(); c != nil {
  155. return c
  156. }
  157. return nil
  158. }
  159. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  160. func (in *JobCondition) DeepCopyInto(out *JobCondition) {
  161. *out = *in
  162. in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
  163. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  164. return
  165. }
  166. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
  167. func (in *JobCondition) DeepCopy() *JobCondition {
  168. if in == nil {
  169. return nil
  170. }
  171. out := new(JobCondition)
  172. in.DeepCopyInto(out)
  173. return out
  174. }
  175. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  176. func (in *JobList) DeepCopyInto(out *JobList) {
  177. *out = *in
  178. out.TypeMeta = in.TypeMeta
  179. in.ListMeta.DeepCopyInto(&out.ListMeta)
  180. if in.Items != nil {
  181. in, out := &in.Items, &out.Items
  182. *out = make([]Job, len(*in))
  183. for i := range *in {
  184. (*in)[i].DeepCopyInto(&(*out)[i])
  185. }
  186. }
  187. return
  188. }
  189. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
  190. func (in *JobList) DeepCopy() *JobList {
  191. if in == nil {
  192. return nil
  193. }
  194. out := new(JobList)
  195. in.DeepCopyInto(out)
  196. return out
  197. }
  198. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  199. func (in *JobList) DeepCopyObject() runtime.Object {
  200. if c := in.DeepCopy(); c != nil {
  201. return c
  202. }
  203. return nil
  204. }
  205. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  206. func (in *JobSpec) DeepCopyInto(out *JobSpec) {
  207. *out = *in
  208. if in.Parallelism != nil {
  209. in, out := &in.Parallelism, &out.Parallelism
  210. *out = new(int32)
  211. **out = **in
  212. }
  213. if in.Completions != nil {
  214. in, out := &in.Completions, &out.Completions
  215. *out = new(int32)
  216. **out = **in
  217. }
  218. if in.ActiveDeadlineSeconds != nil {
  219. in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
  220. *out = new(int64)
  221. **out = **in
  222. }
  223. if in.BackoffLimit != nil {
  224. in, out := &in.BackoffLimit, &out.BackoffLimit
  225. *out = new(int32)
  226. **out = **in
  227. }
  228. if in.Selector != nil {
  229. in, out := &in.Selector, &out.Selector
  230. *out = new(v1.LabelSelector)
  231. (*in).DeepCopyInto(*out)
  232. }
  233. if in.ManualSelector != nil {
  234. in, out := &in.ManualSelector, &out.ManualSelector
  235. *out = new(bool)
  236. **out = **in
  237. }
  238. in.Template.DeepCopyInto(&out.Template)
  239. if in.TTLSecondsAfterFinished != nil {
  240. in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
  241. *out = new(int32)
  242. **out = **in
  243. }
  244. return
  245. }
  246. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
  247. func (in *JobSpec) DeepCopy() *JobSpec {
  248. if in == nil {
  249. return nil
  250. }
  251. out := new(JobSpec)
  252. in.DeepCopyInto(out)
  253. return out
  254. }
  255. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  256. func (in *JobStatus) DeepCopyInto(out *JobStatus) {
  257. *out = *in
  258. if in.Conditions != nil {
  259. in, out := &in.Conditions, &out.Conditions
  260. *out = make([]JobCondition, len(*in))
  261. for i := range *in {
  262. (*in)[i].DeepCopyInto(&(*out)[i])
  263. }
  264. }
  265. if in.StartTime != nil {
  266. in, out := &in.StartTime, &out.StartTime
  267. *out = (*in).DeepCopy()
  268. }
  269. if in.CompletionTime != nil {
  270. in, out := &in.CompletionTime, &out.CompletionTime
  271. *out = (*in).DeepCopy()
  272. }
  273. return
  274. }
  275. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
  276. func (in *JobStatus) DeepCopy() *JobStatus {
  277. if in == nil {
  278. return nil
  279. }
  280. out := new(JobStatus)
  281. in.DeepCopyInto(out)
  282. return out
  283. }
  284. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  285. func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
  286. *out = *in
  287. out.TypeMeta = in.TypeMeta
  288. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  289. in.Template.DeepCopyInto(&out.Template)
  290. return
  291. }
  292. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
  293. func (in *JobTemplate) DeepCopy() *JobTemplate {
  294. if in == nil {
  295. return nil
  296. }
  297. out := new(JobTemplate)
  298. in.DeepCopyInto(out)
  299. return out
  300. }
  301. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  302. func (in *JobTemplate) DeepCopyObject() runtime.Object {
  303. if c := in.DeepCopy(); c != nil {
  304. return c
  305. }
  306. return nil
  307. }
  308. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  309. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  310. *out = *in
  311. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  312. in.Spec.DeepCopyInto(&out.Spec)
  313. return
  314. }
  315. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  316. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  317. if in == nil {
  318. return nil
  319. }
  320. out := new(JobTemplateSpec)
  321. in.DeepCopyInto(out)
  322. return out
  323. }