zz_generated.deepcopy.go 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. metav1 "k8s.io/apimachinery/pkg/apis/meta/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 *Job) DeepCopyInto(out *Job) {
  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 Job.
  30. func (in *Job) DeepCopy() *Job {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(Job)
  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 *Job) 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 *JobCondition) DeepCopyInto(out *JobCondition) {
  47. *out = *in
  48. in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
  49. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  50. return
  51. }
  52. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
  53. func (in *JobCondition) DeepCopy() *JobCondition {
  54. if in == nil {
  55. return nil
  56. }
  57. out := new(JobCondition)
  58. in.DeepCopyInto(out)
  59. return out
  60. }
  61. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  62. func (in *JobList) DeepCopyInto(out *JobList) {
  63. *out = *in
  64. out.TypeMeta = in.TypeMeta
  65. in.ListMeta.DeepCopyInto(&out.ListMeta)
  66. if in.Items != nil {
  67. in, out := &in.Items, &out.Items
  68. *out = make([]Job, len(*in))
  69. for i := range *in {
  70. (*in)[i].DeepCopyInto(&(*out)[i])
  71. }
  72. }
  73. return
  74. }
  75. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
  76. func (in *JobList) DeepCopy() *JobList {
  77. if in == nil {
  78. return nil
  79. }
  80. out := new(JobList)
  81. in.DeepCopyInto(out)
  82. return out
  83. }
  84. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  85. func (in *JobList) DeepCopyObject() runtime.Object {
  86. if c := in.DeepCopy(); c != nil {
  87. return c
  88. }
  89. return nil
  90. }
  91. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  92. func (in *JobSpec) DeepCopyInto(out *JobSpec) {
  93. *out = *in
  94. if in.Parallelism != nil {
  95. in, out := &in.Parallelism, &out.Parallelism
  96. *out = new(int32)
  97. **out = **in
  98. }
  99. if in.Completions != nil {
  100. in, out := &in.Completions, &out.Completions
  101. *out = new(int32)
  102. **out = **in
  103. }
  104. if in.ActiveDeadlineSeconds != nil {
  105. in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds
  106. *out = new(int64)
  107. **out = **in
  108. }
  109. if in.BackoffLimit != nil {
  110. in, out := &in.BackoffLimit, &out.BackoffLimit
  111. *out = new(int32)
  112. **out = **in
  113. }
  114. if in.Selector != nil {
  115. in, out := &in.Selector, &out.Selector
  116. *out = new(metav1.LabelSelector)
  117. (*in).DeepCopyInto(*out)
  118. }
  119. if in.ManualSelector != nil {
  120. in, out := &in.ManualSelector, &out.ManualSelector
  121. *out = new(bool)
  122. **out = **in
  123. }
  124. in.Template.DeepCopyInto(&out.Template)
  125. if in.TTLSecondsAfterFinished != nil {
  126. in, out := &in.TTLSecondsAfterFinished, &out.TTLSecondsAfterFinished
  127. *out = new(int32)
  128. **out = **in
  129. }
  130. return
  131. }
  132. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
  133. func (in *JobSpec) DeepCopy() *JobSpec {
  134. if in == nil {
  135. return nil
  136. }
  137. out := new(JobSpec)
  138. in.DeepCopyInto(out)
  139. return out
  140. }
  141. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  142. func (in *JobStatus) DeepCopyInto(out *JobStatus) {
  143. *out = *in
  144. if in.Conditions != nil {
  145. in, out := &in.Conditions, &out.Conditions
  146. *out = make([]JobCondition, len(*in))
  147. for i := range *in {
  148. (*in)[i].DeepCopyInto(&(*out)[i])
  149. }
  150. }
  151. if in.StartTime != nil {
  152. in, out := &in.StartTime, &out.StartTime
  153. *out = (*in).DeepCopy()
  154. }
  155. if in.CompletionTime != nil {
  156. in, out := &in.CompletionTime, &out.CompletionTime
  157. *out = (*in).DeepCopy()
  158. }
  159. return
  160. }
  161. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
  162. func (in *JobStatus) DeepCopy() *JobStatus {
  163. if in == nil {
  164. return nil
  165. }
  166. out := new(JobStatus)
  167. in.DeepCopyInto(out)
  168. return out
  169. }