zz_generated.deepcopy.go 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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 v2alpha1
  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. return
  123. }
  124. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
  125. func (in *CronJobStatus) DeepCopy() *CronJobStatus {
  126. if in == nil {
  127. return nil
  128. }
  129. out := new(CronJobStatus)
  130. in.DeepCopyInto(out)
  131. return out
  132. }
  133. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  134. func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
  135. *out = *in
  136. out.TypeMeta = in.TypeMeta
  137. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  138. in.Template.DeepCopyInto(&out.Template)
  139. return
  140. }
  141. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
  142. func (in *JobTemplate) DeepCopy() *JobTemplate {
  143. if in == nil {
  144. return nil
  145. }
  146. out := new(JobTemplate)
  147. in.DeepCopyInto(out)
  148. return out
  149. }
  150. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  151. func (in *JobTemplate) DeepCopyObject() runtime.Object {
  152. if c := in.DeepCopy(); c != nil {
  153. return c
  154. }
  155. return nil
  156. }
  157. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  158. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  159. *out = *in
  160. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  161. in.Spec.DeepCopyInto(&out.Spec)
  162. return
  163. }
  164. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  165. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  166. if in == nil {
  167. return nil
  168. }
  169. out := new(JobTemplateSpec)
  170. in.DeepCopyInto(out)
  171. return out
  172. }