zz_generated.deepcopy.go 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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 v1alpha1
  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 *BasicSchedulingPolicy) DeepCopyInto(out *BasicSchedulingPolicy) {
  23. *out = *in
  24. return
  25. }
  26. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicSchedulingPolicy.
  27. func (in *BasicSchedulingPolicy) DeepCopy() *BasicSchedulingPolicy {
  28. if in == nil {
  29. return nil
  30. }
  31. out := new(BasicSchedulingPolicy)
  32. in.DeepCopyInto(out)
  33. return out
  34. }
  35. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  36. func (in *GangSchedulingPolicy) DeepCopyInto(out *GangSchedulingPolicy) {
  37. *out = *in
  38. return
  39. }
  40. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GangSchedulingPolicy.
  41. func (in *GangSchedulingPolicy) DeepCopy() *GangSchedulingPolicy {
  42. if in == nil {
  43. return nil
  44. }
  45. out := new(GangSchedulingPolicy)
  46. in.DeepCopyInto(out)
  47. return out
  48. }
  49. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  50. func (in *PodGroup) DeepCopyInto(out *PodGroup) {
  51. *out = *in
  52. in.Policy.DeepCopyInto(&out.Policy)
  53. return
  54. }
  55. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodGroup.
  56. func (in *PodGroup) DeepCopy() *PodGroup {
  57. if in == nil {
  58. return nil
  59. }
  60. out := new(PodGroup)
  61. in.DeepCopyInto(out)
  62. return out
  63. }
  64. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  65. func (in *PodGroupPolicy) DeepCopyInto(out *PodGroupPolicy) {
  66. *out = *in
  67. if in.Basic != nil {
  68. in, out := &in.Basic, &out.Basic
  69. *out = new(BasicSchedulingPolicy)
  70. **out = **in
  71. }
  72. if in.Gang != nil {
  73. in, out := &in.Gang, &out.Gang
  74. *out = new(GangSchedulingPolicy)
  75. **out = **in
  76. }
  77. return
  78. }
  79. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodGroupPolicy.
  80. func (in *PodGroupPolicy) DeepCopy() *PodGroupPolicy {
  81. if in == nil {
  82. return nil
  83. }
  84. out := new(PodGroupPolicy)
  85. in.DeepCopyInto(out)
  86. return out
  87. }
  88. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  89. func (in *PriorityClass) DeepCopyInto(out *PriorityClass) {
  90. *out = *in
  91. out.TypeMeta = in.TypeMeta
  92. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  93. if in.PreemptionPolicy != nil {
  94. in, out := &in.PreemptionPolicy, &out.PreemptionPolicy
  95. *out = new(v1.PreemptionPolicy)
  96. **out = **in
  97. }
  98. return
  99. }
  100. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
  101. func (in *PriorityClass) DeepCopy() *PriorityClass {
  102. if in == nil {
  103. return nil
  104. }
  105. out := new(PriorityClass)
  106. in.DeepCopyInto(out)
  107. return out
  108. }
  109. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  110. func (in *PriorityClass) DeepCopyObject() runtime.Object {
  111. if c := in.DeepCopy(); c != nil {
  112. return c
  113. }
  114. return nil
  115. }
  116. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  117. func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) {
  118. *out = *in
  119. out.TypeMeta = in.TypeMeta
  120. in.ListMeta.DeepCopyInto(&out.ListMeta)
  121. if in.Items != nil {
  122. in, out := &in.Items, &out.Items
  123. *out = make([]PriorityClass, len(*in))
  124. for i := range *in {
  125. (*in)[i].DeepCopyInto(&(*out)[i])
  126. }
  127. }
  128. return
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.
  131. func (in *PriorityClassList) DeepCopy() *PriorityClassList {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(PriorityClassList)
  136. in.DeepCopyInto(out)
  137. return out
  138. }
  139. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  140. func (in *PriorityClassList) DeepCopyObject() runtime.Object {
  141. if c := in.DeepCopy(); c != nil {
  142. return c
  143. }
  144. return nil
  145. }
  146. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  147. func (in *TypedLocalObjectReference) DeepCopyInto(out *TypedLocalObjectReference) {
  148. *out = *in
  149. return
  150. }
  151. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedLocalObjectReference.
  152. func (in *TypedLocalObjectReference) DeepCopy() *TypedLocalObjectReference {
  153. if in == nil {
  154. return nil
  155. }
  156. out := new(TypedLocalObjectReference)
  157. in.DeepCopyInto(out)
  158. return out
  159. }
  160. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  161. func (in *Workload) DeepCopyInto(out *Workload) {
  162. *out = *in
  163. out.TypeMeta = in.TypeMeta
  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 Workload.
  169. func (in *Workload) DeepCopy() *Workload {
  170. if in == nil {
  171. return nil
  172. }
  173. out := new(Workload)
  174. in.DeepCopyInto(out)
  175. return out
  176. }
  177. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  178. func (in *Workload) DeepCopyObject() runtime.Object {
  179. if c := in.DeepCopy(); c != nil {
  180. return c
  181. }
  182. return nil
  183. }
  184. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  185. func (in *WorkloadList) DeepCopyInto(out *WorkloadList) {
  186. *out = *in
  187. out.TypeMeta = in.TypeMeta
  188. in.ListMeta.DeepCopyInto(&out.ListMeta)
  189. if in.Items != nil {
  190. in, out := &in.Items, &out.Items
  191. *out = make([]Workload, len(*in))
  192. for i := range *in {
  193. (*in)[i].DeepCopyInto(&(*out)[i])
  194. }
  195. }
  196. return
  197. }
  198. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadList.
  199. func (in *WorkloadList) DeepCopy() *WorkloadList {
  200. if in == nil {
  201. return nil
  202. }
  203. out := new(WorkloadList)
  204. in.DeepCopyInto(out)
  205. return out
  206. }
  207. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  208. func (in *WorkloadList) DeepCopyObject() runtime.Object {
  209. if c := in.DeepCopy(); c != nil {
  210. return c
  211. }
  212. return nil
  213. }
  214. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  215. func (in *WorkloadSpec) DeepCopyInto(out *WorkloadSpec) {
  216. *out = *in
  217. if in.ControllerRef != nil {
  218. in, out := &in.ControllerRef, &out.ControllerRef
  219. *out = new(TypedLocalObjectReference)
  220. **out = **in
  221. }
  222. if in.PodGroups != nil {
  223. in, out := &in.PodGroups, &out.PodGroups
  224. *out = make([]PodGroup, len(*in))
  225. for i := range *in {
  226. (*in)[i].DeepCopyInto(&(*out)[i])
  227. }
  228. }
  229. return
  230. }
  231. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadSpec.
  232. func (in *WorkloadSpec) DeepCopy() *WorkloadSpec {
  233. if in == nil {
  234. return nil
  235. }
  236. out := new(WorkloadSpec)
  237. in.DeepCopyInto(out)
  238. return out
  239. }