zz_generated.deepcopy.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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 v1beta1
  16. import (
  17. v1 "k8s.io/api/core/v1"
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. )
  20. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  21. func (in *CronJob) DeepCopyInto(out *CronJob) {
  22. *out = *in
  23. out.TypeMeta = in.TypeMeta
  24. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  25. in.Spec.DeepCopyInto(&out.Spec)
  26. in.Status.DeepCopyInto(&out.Status)
  27. return
  28. }
  29. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
  30. func (in *CronJob) DeepCopy() *CronJob {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(CronJob)
  35. in.DeepCopyInto(out)
  36. return out
  37. }
  38. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  39. func (in *CronJob) DeepCopyObject() runtime.Object {
  40. if c := in.DeepCopy(); c != nil {
  41. return c
  42. }
  43. return nil
  44. }
  45. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  46. func (in *CronJobList) DeepCopyInto(out *CronJobList) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ListMeta.DeepCopyInto(&out.ListMeta)
  50. if in.Items != nil {
  51. in, out := &in.Items, &out.Items
  52. *out = make([]CronJob, len(*in))
  53. for i := range *in {
  54. (*in)[i].DeepCopyInto(&(*out)[i])
  55. }
  56. }
  57. return
  58. }
  59. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
  60. func (in *CronJobList) DeepCopy() *CronJobList {
  61. if in == nil {
  62. return nil
  63. }
  64. out := new(CronJobList)
  65. in.DeepCopyInto(out)
  66. return out
  67. }
  68. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  69. func (in *CronJobList) DeepCopyObject() runtime.Object {
  70. if c := in.DeepCopy(); c != nil {
  71. return c
  72. }
  73. return nil
  74. }
  75. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  76. func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
  77. *out = *in
  78. if in.StartingDeadlineSeconds != nil {
  79. in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
  80. *out = new(int64)
  81. **out = **in
  82. }
  83. if in.Suspend != nil {
  84. in, out := &in.Suspend, &out.Suspend
  85. *out = new(bool)
  86. **out = **in
  87. }
  88. in.JobTemplate.DeepCopyInto(&out.JobTemplate)
  89. if in.SuccessfulJobsHistoryLimit != nil {
  90. in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
  91. *out = new(int32)
  92. **out = **in
  93. }
  94. if in.FailedJobsHistoryLimit != nil {
  95. in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
  96. *out = new(int32)
  97. **out = **in
  98. }
  99. return
  100. }
  101. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
  102. func (in *CronJobSpec) DeepCopy() *CronJobSpec {
  103. if in == nil {
  104. return nil
  105. }
  106. out := new(CronJobSpec)
  107. in.DeepCopyInto(out)
  108. return out
  109. }
  110. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  111. func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
  112. *out = *in
  113. if in.Active != nil {
  114. in, out := &in.Active, &out.Active
  115. *out = make([]v1.ObjectReference, len(*in))
  116. copy(*out, *in)
  117. }
  118. if in.LastScheduleTime != nil {
  119. in, out := &in.LastScheduleTime, &out.LastScheduleTime
  120. *out = (*in).DeepCopy()
  121. }
  122. if in.LastSuccessfulTime != nil {
  123. in, out := &in.LastSuccessfulTime, &out.LastSuccessfulTime
  124. *out = (*in).DeepCopy()
  125. }
  126. return
  127. }
  128. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
  129. func (in *CronJobStatus) DeepCopy() *CronJobStatus {
  130. if in == nil {
  131. return nil
  132. }
  133. out := new(CronJobStatus)
  134. in.DeepCopyInto(out)
  135. return out
  136. }
  137. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  138. func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
  139. *out = *in
  140. out.TypeMeta = in.TypeMeta
  141. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  142. in.Template.DeepCopyInto(&out.Template)
  143. return
  144. }
  145. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
  146. func (in *JobTemplate) DeepCopy() *JobTemplate {
  147. if in == nil {
  148. return nil
  149. }
  150. out := new(JobTemplate)
  151. in.DeepCopyInto(out)
  152. return out
  153. }
  154. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  155. func (in *JobTemplate) DeepCopyObject() runtime.Object {
  156. if c := in.DeepCopy(); c != nil {
  157. return c
  158. }
  159. return nil
  160. }
  161. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  162. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  163. *out = *in
  164. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  165. in.Spec.DeepCopyInto(&out.Spec)
  166. return
  167. }
  168. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  169. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  170. if in == nil {
  171. return nil
  172. }
  173. out := new(JobTemplateSpec)
  174. in.DeepCopyInto(out)
  175. return out
  176. }