zz_generated.deepcopy.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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 v1beta1
  17. import (
  18. v1 "k8s.io/api/core/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([]v1.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 *JobTemplate) DeepCopyInto(out *JobTemplate) {
  140. *out = *in
  141. out.TypeMeta = in.TypeMeta
  142. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  143. in.Template.DeepCopyInto(&out.Template)
  144. return
  145. }
  146. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
  147. func (in *JobTemplate) DeepCopy() *JobTemplate {
  148. if in == nil {
  149. return nil
  150. }
  151. out := new(JobTemplate)
  152. in.DeepCopyInto(out)
  153. return out
  154. }
  155. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  156. func (in *JobTemplate) DeepCopyObject() runtime.Object {
  157. if c := in.DeepCopy(); c != nil {
  158. return c
  159. }
  160. return nil
  161. }
  162. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  163. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  164. *out = *in
  165. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  166. in.Spec.DeepCopyInto(&out.Spec)
  167. return
  168. }
  169. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  170. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  171. if in == nil {
  172. return nil
  173. }
  174. out := new(JobTemplateSpec)
  175. in.DeepCopyInto(out)
  176. return out
  177. }