zz_generated.deepcopy.go 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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. corev1 "k8s.io/api/core/v1"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) {
  21. *out = *in
  22. if in.Pod != nil {
  23. in, out := &in.Pod, &out.Pod
  24. *out = new(corev1.Pod)
  25. (*in).DeepCopyInto(*out)
  26. }
  27. if in.Nodes != nil {
  28. in, out := &in.Nodes, &out.Nodes
  29. *out = new(corev1.NodeList)
  30. (*in).DeepCopyInto(*out)
  31. }
  32. if in.NodeNames != nil {
  33. in, out := &in.NodeNames, &out.NodeNames
  34. *out = new([]string)
  35. if **in != nil {
  36. in, out := *in, *out
  37. *out = make([]string, len(*in))
  38. copy(*out, *in)
  39. }
  40. }
  41. return
  42. }
  43. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs.
  44. func (in *ExtenderArgs) DeepCopy() *ExtenderArgs {
  45. if in == nil {
  46. return nil
  47. }
  48. out := new(ExtenderArgs)
  49. in.DeepCopyInto(out)
  50. return out
  51. }
  52. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  53. func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) {
  54. *out = *in
  55. return
  56. }
  57. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs.
  58. func (in *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs {
  59. if in == nil {
  60. return nil
  61. }
  62. out := new(ExtenderBindingArgs)
  63. in.DeepCopyInto(out)
  64. return out
  65. }
  66. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  67. func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) {
  68. *out = *in
  69. return
  70. }
  71. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult.
  72. func (in *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult {
  73. if in == nil {
  74. return nil
  75. }
  76. out := new(ExtenderBindingResult)
  77. in.DeepCopyInto(out)
  78. return out
  79. }
  80. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  81. func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) {
  82. *out = *in
  83. if in.Nodes != nil {
  84. in, out := &in.Nodes, &out.Nodes
  85. *out = new(corev1.NodeList)
  86. (*in).DeepCopyInto(*out)
  87. }
  88. if in.NodeNames != nil {
  89. in, out := &in.NodeNames, &out.NodeNames
  90. *out = new([]string)
  91. if **in != nil {
  92. in, out := *in, *out
  93. *out = make([]string, len(*in))
  94. copy(*out, *in)
  95. }
  96. }
  97. if in.FailedNodes != nil {
  98. in, out := &in.FailedNodes, &out.FailedNodes
  99. *out = make(FailedNodesMap, len(*in))
  100. for key, val := range *in {
  101. (*out)[key] = val
  102. }
  103. }
  104. return
  105. }
  106. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult.
  107. func (in *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult {
  108. if in == nil {
  109. return nil
  110. }
  111. out := new(ExtenderFilterResult)
  112. in.DeepCopyInto(out)
  113. return out
  114. }
  115. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  116. func (in *ExtenderPreemptionArgs) DeepCopyInto(out *ExtenderPreemptionArgs) {
  117. *out = *in
  118. if in.Pod != nil {
  119. in, out := &in.Pod, &out.Pod
  120. *out = new(corev1.Pod)
  121. (*in).DeepCopyInto(*out)
  122. }
  123. if in.NodeNameToVictims != nil {
  124. in, out := &in.NodeNameToVictims, &out.NodeNameToVictims
  125. *out = make(map[string]*Victims, len(*in))
  126. for key, val := range *in {
  127. var outVal *Victims
  128. if val == nil {
  129. (*out)[key] = nil
  130. } else {
  131. in, out := &val, &outVal
  132. *out = new(Victims)
  133. (*in).DeepCopyInto(*out)
  134. }
  135. (*out)[key] = outVal
  136. }
  137. }
  138. if in.NodeNameToMetaVictims != nil {
  139. in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims
  140. *out = make(map[string]*MetaVictims, len(*in))
  141. for key, val := range *in {
  142. var outVal *MetaVictims
  143. if val == nil {
  144. (*out)[key] = nil
  145. } else {
  146. in, out := &val, &outVal
  147. *out = new(MetaVictims)
  148. (*in).DeepCopyInto(*out)
  149. }
  150. (*out)[key] = outVal
  151. }
  152. }
  153. return
  154. }
  155. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderPreemptionArgs.
  156. func (in *ExtenderPreemptionArgs) DeepCopy() *ExtenderPreemptionArgs {
  157. if in == nil {
  158. return nil
  159. }
  160. out := new(ExtenderPreemptionArgs)
  161. in.DeepCopyInto(out)
  162. return out
  163. }
  164. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  165. func (in *ExtenderPreemptionResult) DeepCopyInto(out *ExtenderPreemptionResult) {
  166. *out = *in
  167. if in.NodeNameToMetaVictims != nil {
  168. in, out := &in.NodeNameToMetaVictims, &out.NodeNameToMetaVictims
  169. *out = make(map[string]*MetaVictims, len(*in))
  170. for key, val := range *in {
  171. var outVal *MetaVictims
  172. if val == nil {
  173. (*out)[key] = nil
  174. } else {
  175. in, out := &val, &outVal
  176. *out = new(MetaVictims)
  177. (*in).DeepCopyInto(*out)
  178. }
  179. (*out)[key] = outVal
  180. }
  181. }
  182. return
  183. }
  184. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderPreemptionResult.
  185. func (in *ExtenderPreemptionResult) DeepCopy() *ExtenderPreemptionResult {
  186. if in == nil {
  187. return nil
  188. }
  189. out := new(ExtenderPreemptionResult)
  190. in.DeepCopyInto(out)
  191. return out
  192. }
  193. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  194. func (in FailedNodesMap) DeepCopyInto(out *FailedNodesMap) {
  195. {
  196. in := &in
  197. *out = make(FailedNodesMap, len(*in))
  198. for key, val := range *in {
  199. (*out)[key] = val
  200. }
  201. return
  202. }
  203. }
  204. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailedNodesMap.
  205. func (in FailedNodesMap) DeepCopy() FailedNodesMap {
  206. if in == nil {
  207. return nil
  208. }
  209. out := new(FailedNodesMap)
  210. in.DeepCopyInto(out)
  211. return *out
  212. }
  213. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  214. func (in *HostPriority) DeepCopyInto(out *HostPriority) {
  215. *out = *in
  216. return
  217. }
  218. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority.
  219. func (in *HostPriority) DeepCopy() *HostPriority {
  220. if in == nil {
  221. return nil
  222. }
  223. out := new(HostPriority)
  224. in.DeepCopyInto(out)
  225. return out
  226. }
  227. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  228. func (in HostPriorityList) DeepCopyInto(out *HostPriorityList) {
  229. {
  230. in := &in
  231. *out = make(HostPriorityList, len(*in))
  232. copy(*out, *in)
  233. return
  234. }
  235. }
  236. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriorityList.
  237. func (in HostPriorityList) DeepCopy() HostPriorityList {
  238. if in == nil {
  239. return nil
  240. }
  241. out := new(HostPriorityList)
  242. in.DeepCopyInto(out)
  243. return *out
  244. }
  245. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  246. func (in *MetaPod) DeepCopyInto(out *MetaPod) {
  247. *out = *in
  248. return
  249. }
  250. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaPod.
  251. func (in *MetaPod) DeepCopy() *MetaPod {
  252. if in == nil {
  253. return nil
  254. }
  255. out := new(MetaPod)
  256. in.DeepCopyInto(out)
  257. return out
  258. }
  259. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  260. func (in *MetaVictims) DeepCopyInto(out *MetaVictims) {
  261. *out = *in
  262. if in.Pods != nil {
  263. in, out := &in.Pods, &out.Pods
  264. *out = make([]*MetaPod, len(*in))
  265. for i := range *in {
  266. if (*in)[i] != nil {
  267. in, out := &(*in)[i], &(*out)[i]
  268. *out = new(MetaPod)
  269. **out = **in
  270. }
  271. }
  272. }
  273. return
  274. }
  275. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaVictims.
  276. func (in *MetaVictims) DeepCopy() *MetaVictims {
  277. if in == nil {
  278. return nil
  279. }
  280. out := new(MetaVictims)
  281. in.DeepCopyInto(out)
  282. return out
  283. }
  284. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  285. func (in *Victims) DeepCopyInto(out *Victims) {
  286. *out = *in
  287. if in.Pods != nil {
  288. in, out := &in.Pods, &out.Pods
  289. *out = make([]*corev1.Pod, len(*in))
  290. for i := range *in {
  291. if (*in)[i] != nil {
  292. in, out := &(*in)[i], &(*out)[i]
  293. *out = new(corev1.Pod)
  294. (*in).DeepCopyInto(*out)
  295. }
  296. }
  297. }
  298. return
  299. }
  300. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Victims.
  301. func (in *Victims) DeepCopy() *Victims {
  302. if in == nil {
  303. return nil
  304. }
  305. out := new(Victims)
  306. in.DeepCopyInto(out)
  307. return out
  308. }