zz_generated.deepcopy.go 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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 v1
  16. import (
  17. corev1 "k8s.io/api/core/v1"
  18. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  19. runtime "k8s.io/apimachinery/pkg/runtime"
  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([]corev1.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. if in.LastSuccessfulTime != nil {
  124. in, out := &in.LastSuccessfulTime, &out.LastSuccessfulTime
  125. *out = (*in).DeepCopy()
  126. }
  127. return
  128. }
  129. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
  130. func (in *CronJobStatus) DeepCopy() *CronJobStatus {
  131. if in == nil {
  132. return nil
  133. }
  134. out := new(CronJobStatus)
  135. in.DeepCopyInto(out)
  136. return out
  137. }
  138. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  139. func (in *Job) DeepCopyInto(out *Job) {
  140. *out = *in
  141. out.TypeMeta = in.TypeMeta
  142. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  143. in.Spec.DeepCopyInto(&out.Spec)
  144. in.Status.DeepCopyInto(&out.Status)
  145. return
  146. }
  147. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
  148. func (in *Job) DeepCopy() *Job {
  149. if in == nil {
  150. return nil
  151. }
  152. out := new(Job)
  153. in.DeepCopyInto(out)
  154. return out
  155. }
  156. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  157. func (in *Job) DeepCopyObject() runtime.Object {
  158. if c := in.DeepCopy(); c != nil {
  159. return c
  160. }
  161. return nil
  162. }
  163. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  164. func (in *JobCondition) DeepCopyInto(out *JobCondition) {
  165. *out = *in
  166. in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
  167. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  168. return
  169. }
  170. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
  171. func (in *JobCondition) DeepCopy() *JobCondition {
  172. if in == nil {
  173. return nil
  174. }
  175. out := new(JobCondition)
  176. in.DeepCopyInto(out)
  177. return out
  178. }
  179. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  180. func (in *JobList) DeepCopyInto(out *JobList) {
  181. *out = *in
  182. out.TypeMeta = in.TypeMeta
  183. in.ListMeta.DeepCopyInto(&out.ListMeta)
  184. if in.Items != nil {
  185. in, out := &in.Items, &out.Items
  186. *out = make([]Job, len(*in))
  187. for i := range *in {
  188. (*in)[i].DeepCopyInto(&(*out)[i])
  189. }
  190. }
  191. return
  192. }
  193. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
  194. func (in *JobList) DeepCopy() *JobList {
  195. if in == nil {
  196. return nil
  197. }
  198. out := new(JobList)
  199. in.DeepCopyInto(out)
  200. return out
  201. }
  202. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  203. func (in *JobList) DeepCopyObject() runtime.Object {
  204. if c := in.DeepCopy(); c != nil {
  205. return c
  206. }
  207. return nil
  208. }
  209. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  210. func (in *JobSpec) DeepCopyInto(out *JobSpec) {
  211. *out = *in
  212. if in.Parallelism != nil {
  213. in, out := &in.Parallelism, &out.Parallelism
  214. *out = new(int32)
  215. **out = **in
  216. }
  217. if in.Completions != nil {
  218. in, out := &in.Completions, &out.Completions
  219. *out = new(int32)
  220. **out = **in
  221. }
  222. if in.ActiveDeadlineSeconds != nil {
  223. in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
  224. *out = new(int64)
  225. **out = **in
  226. }
  227. if in.BackoffLimit != nil {
  228. in, out := &in.BackoffLimit, &out.BackoffLimit
  229. *out = new(int32)
  230. **out = **in
  231. }
  232. if in.Selector != nil {
  233. in, out := &in.Selector, &out.Selector
  234. *out = new(metav1.LabelSelector)
  235. (*in).DeepCopyInto(*out)
  236. }
  237. if in.ManualSelector != nil {
  238. in, out := &in.ManualSelector, &out.ManualSelector
  239. *out = new(bool)
  240. **out = **in
  241. }
  242. in.Template.DeepCopyInto(&out.Template)
  243. if in.TTLSecondsAfterFinished != nil {
  244. in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
  245. *out = new(int32)
  246. **out = **in
  247. }
  248. if in.CompletionMode != nil {
  249. in, out := &in.CompletionMode, &out.CompletionMode
  250. *out = new(CompletionMode)
  251. **out = **in
  252. }
  253. if in.Suspend != nil {
  254. in, out := &in.Suspend, &out.Suspend
  255. *out = new(bool)
  256. **out = **in
  257. }
  258. return
  259. }
  260. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
  261. func (in *JobSpec) DeepCopy() *JobSpec {
  262. if in == nil {
  263. return nil
  264. }
  265. out := new(JobSpec)
  266. in.DeepCopyInto(out)
  267. return out
  268. }
  269. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  270. func (in *JobStatus) DeepCopyInto(out *JobStatus) {
  271. *out = *in
  272. if in.Conditions != nil {
  273. in, out := &in.Conditions, &out.Conditions
  274. *out = make([]JobCondition, len(*in))
  275. for i := range *in {
  276. (*in)[i].DeepCopyInto(&(*out)[i])
  277. }
  278. }
  279. if in.StartTime != nil {
  280. in, out := &in.StartTime, &out.StartTime
  281. *out = (*in).DeepCopy()
  282. }
  283. if in.CompletionTime != nil {
  284. in, out := &in.CompletionTime, &out.CompletionTime
  285. *out = (*in).DeepCopy()
  286. }
  287. return
  288. }
  289. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
  290. func (in *JobStatus) DeepCopy() *JobStatus {
  291. if in == nil {
  292. return nil
  293. }
  294. out := new(JobStatus)
  295. in.DeepCopyInto(out)
  296. return out
  297. }
  298. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  299. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  300. *out = *in
  301. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  302. in.Spec.DeepCopyInto(&out.Spec)
  303. return
  304. }
  305. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  306. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  307. if in == nil {
  308. return nil
  309. }
  310. out := new(JobTemplateSpec)
  311. in.DeepCopyInto(out)
  312. return out
  313. }