zz_generated.deepcopy.go 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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.TimeZone != nil {
  80. in, out := &in.TimeZone, &out.TimeZone
  81. *out = new(string)
  82. **out = **in
  83. }
  84. if in.StartingDeadlineSeconds != nil {
  85. in, out := &in.StartingDeadlineSeconds, &out.StartingDeadlineSeconds
  86. *out = new(int64)
  87. **out = **in
  88. }
  89. if in.Suspend != nil {
  90. in, out := &in.Suspend, &out.Suspend
  91. *out = new(bool)
  92. **out = **in
  93. }
  94. in.JobTemplate.DeepCopyInto(&out.JobTemplate)
  95. if in.SuccessfulJobsHistoryLimit != nil {
  96. in, out := &in.SuccessfulJobsHistoryLimit, &out.SuccessfulJobsHistoryLimit
  97. *out = new(int32)
  98. **out = **in
  99. }
  100. if in.FailedJobsHistoryLimit != nil {
  101. in, out := &in.FailedJobsHistoryLimit, &out.FailedJobsHistoryLimit
  102. *out = new(int32)
  103. **out = **in
  104. }
  105. return
  106. }
  107. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
  108. func (in *CronJobSpec) DeepCopy() *CronJobSpec {
  109. if in == nil {
  110. return nil
  111. }
  112. out := new(CronJobSpec)
  113. in.DeepCopyInto(out)
  114. return out
  115. }
  116. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  117. func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
  118. *out = *in
  119. if in.Active != nil {
  120. in, out := &in.Active, &out.Active
  121. *out = make([]v1.ObjectReference, len(*in))
  122. copy(*out, *in)
  123. }
  124. if in.LastScheduleTime != nil {
  125. in, out := &in.LastScheduleTime, &out.LastScheduleTime
  126. *out = (*in).DeepCopy()
  127. }
  128. if in.LastSuccessfulTime != nil {
  129. in, out := &in.LastSuccessfulTime, &out.LastSuccessfulTime
  130. *out = (*in).DeepCopy()
  131. }
  132. return
  133. }
  134. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
  135. func (in *CronJobStatus) DeepCopy() *CronJobStatus {
  136. if in == nil {
  137. return nil
  138. }
  139. out := new(CronJobStatus)
  140. in.DeepCopyInto(out)
  141. return out
  142. }
  143. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  144. func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
  145. *out = *in
  146. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  147. in.Spec.DeepCopyInto(&out.Spec)
  148. return
  149. }
  150. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
  151. func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
  152. if in == nil {
  153. return nil
  154. }
  155. out := new(JobTemplateSpec)
  156. in.DeepCopyInto(out)
  157. return out
  158. }