zz_generated.deepcopy.go 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  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 config
  16. import (
  17. runtime "k8s.io/apimachinery/pkg/runtime"
  18. )
  19. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  20. func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfiguration) {
  21. *out = *in
  22. out.TypeMeta = in.TypeMeta
  23. in.AlgorithmSource.DeepCopyInto(&out.AlgorithmSource)
  24. out.LeaderElection = in.LeaderElection
  25. out.ClientConnection = in.ClientConnection
  26. out.DebuggingConfiguration = in.DebuggingConfiguration
  27. if in.BindTimeoutSeconds != nil {
  28. in, out := &in.BindTimeoutSeconds, &out.BindTimeoutSeconds
  29. *out = new(int64)
  30. **out = **in
  31. }
  32. if in.Plugins != nil {
  33. in, out := &in.Plugins, &out.Plugins
  34. *out = new(Plugins)
  35. (*in).DeepCopyInto(*out)
  36. }
  37. if in.PluginConfig != nil {
  38. in, out := &in.PluginConfig, &out.PluginConfig
  39. *out = make([]PluginConfig, len(*in))
  40. for i := range *in {
  41. (*in)[i].DeepCopyInto(&(*out)[i])
  42. }
  43. }
  44. return
  45. }
  46. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration.
  47. func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration {
  48. if in == nil {
  49. return nil
  50. }
  51. out := new(KubeSchedulerConfiguration)
  52. in.DeepCopyInto(out)
  53. return out
  54. }
  55. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  56. func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object {
  57. if c := in.DeepCopy(); c != nil {
  58. return c
  59. }
  60. return nil
  61. }
  62. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  63. func (in *KubeSchedulerLeaderElectionConfiguration) DeepCopyInto(out *KubeSchedulerLeaderElectionConfiguration) {
  64. *out = *in
  65. out.LeaderElectionConfiguration = in.LeaderElectionConfiguration
  66. return
  67. }
  68. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerLeaderElectionConfiguration.
  69. func (in *KubeSchedulerLeaderElectionConfiguration) DeepCopy() *KubeSchedulerLeaderElectionConfiguration {
  70. if in == nil {
  71. return nil
  72. }
  73. out := new(KubeSchedulerLeaderElectionConfiguration)
  74. in.DeepCopyInto(out)
  75. return out
  76. }
  77. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  78. func (in *Plugin) DeepCopyInto(out *Plugin) {
  79. *out = *in
  80. return
  81. }
  82. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
  83. func (in *Plugin) DeepCopy() *Plugin {
  84. if in == nil {
  85. return nil
  86. }
  87. out := new(Plugin)
  88. in.DeepCopyInto(out)
  89. return out
  90. }
  91. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  92. func (in *PluginConfig) DeepCopyInto(out *PluginConfig) {
  93. *out = *in
  94. in.Args.DeepCopyInto(&out.Args)
  95. return
  96. }
  97. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfig.
  98. func (in *PluginConfig) DeepCopy() *PluginConfig {
  99. if in == nil {
  100. return nil
  101. }
  102. out := new(PluginConfig)
  103. in.DeepCopyInto(out)
  104. return out
  105. }
  106. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  107. func (in *PluginSet) DeepCopyInto(out *PluginSet) {
  108. *out = *in
  109. if in.Enabled != nil {
  110. in, out := &in.Enabled, &out.Enabled
  111. *out = make([]Plugin, len(*in))
  112. copy(*out, *in)
  113. }
  114. if in.Disabled != nil {
  115. in, out := &in.Disabled, &out.Disabled
  116. *out = make([]Plugin, len(*in))
  117. copy(*out, *in)
  118. }
  119. return
  120. }
  121. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSet.
  122. func (in *PluginSet) DeepCopy() *PluginSet {
  123. if in == nil {
  124. return nil
  125. }
  126. out := new(PluginSet)
  127. in.DeepCopyInto(out)
  128. return out
  129. }
  130. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  131. func (in *Plugins) DeepCopyInto(out *Plugins) {
  132. *out = *in
  133. if in.QueueSort != nil {
  134. in, out := &in.QueueSort, &out.QueueSort
  135. *out = new(PluginSet)
  136. (*in).DeepCopyInto(*out)
  137. }
  138. if in.PreFilter != nil {
  139. in, out := &in.PreFilter, &out.PreFilter
  140. *out = new(PluginSet)
  141. (*in).DeepCopyInto(*out)
  142. }
  143. if in.Filter != nil {
  144. in, out := &in.Filter, &out.Filter
  145. *out = new(PluginSet)
  146. (*in).DeepCopyInto(*out)
  147. }
  148. if in.PostFilter != nil {
  149. in, out := &in.PostFilter, &out.PostFilter
  150. *out = new(PluginSet)
  151. (*in).DeepCopyInto(*out)
  152. }
  153. if in.Score != nil {
  154. in, out := &in.Score, &out.Score
  155. *out = new(PluginSet)
  156. (*in).DeepCopyInto(*out)
  157. }
  158. if in.NormalizeScore != nil {
  159. in, out := &in.NormalizeScore, &out.NormalizeScore
  160. *out = new(PluginSet)
  161. (*in).DeepCopyInto(*out)
  162. }
  163. if in.Reserve != nil {
  164. in, out := &in.Reserve, &out.Reserve
  165. *out = new(PluginSet)
  166. (*in).DeepCopyInto(*out)
  167. }
  168. if in.Permit != nil {
  169. in, out := &in.Permit, &out.Permit
  170. *out = new(PluginSet)
  171. (*in).DeepCopyInto(*out)
  172. }
  173. if in.PreBind != nil {
  174. in, out := &in.PreBind, &out.PreBind
  175. *out = new(PluginSet)
  176. (*in).DeepCopyInto(*out)
  177. }
  178. if in.Bind != nil {
  179. in, out := &in.Bind, &out.Bind
  180. *out = new(PluginSet)
  181. (*in).DeepCopyInto(*out)
  182. }
  183. if in.PostBind != nil {
  184. in, out := &in.PostBind, &out.PostBind
  185. *out = new(PluginSet)
  186. (*in).DeepCopyInto(*out)
  187. }
  188. if in.Unreserve != nil {
  189. in, out := &in.Unreserve, &out.Unreserve
  190. *out = new(PluginSet)
  191. (*in).DeepCopyInto(*out)
  192. }
  193. return
  194. }
  195. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugins.
  196. func (in *Plugins) DeepCopy() *Plugins {
  197. if in == nil {
  198. return nil
  199. }
  200. out := new(Plugins)
  201. in.DeepCopyInto(out)
  202. return out
  203. }
  204. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  205. func (in *SchedulerAlgorithmSource) DeepCopyInto(out *SchedulerAlgorithmSource) {
  206. *out = *in
  207. if in.Policy != nil {
  208. in, out := &in.Policy, &out.Policy
  209. *out = new(SchedulerPolicySource)
  210. (*in).DeepCopyInto(*out)
  211. }
  212. if in.Provider != nil {
  213. in, out := &in.Provider, &out.Provider
  214. *out = new(string)
  215. **out = **in
  216. }
  217. return
  218. }
  219. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerAlgorithmSource.
  220. func (in *SchedulerAlgorithmSource) DeepCopy() *SchedulerAlgorithmSource {
  221. if in == nil {
  222. return nil
  223. }
  224. out := new(SchedulerAlgorithmSource)
  225. in.DeepCopyInto(out)
  226. return out
  227. }
  228. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  229. func (in *SchedulerPolicyConfigMapSource) DeepCopyInto(out *SchedulerPolicyConfigMapSource) {
  230. *out = *in
  231. return
  232. }
  233. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerPolicyConfigMapSource.
  234. func (in *SchedulerPolicyConfigMapSource) DeepCopy() *SchedulerPolicyConfigMapSource {
  235. if in == nil {
  236. return nil
  237. }
  238. out := new(SchedulerPolicyConfigMapSource)
  239. in.DeepCopyInto(out)
  240. return out
  241. }
  242. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  243. func (in *SchedulerPolicyFileSource) DeepCopyInto(out *SchedulerPolicyFileSource) {
  244. *out = *in
  245. return
  246. }
  247. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerPolicyFileSource.
  248. func (in *SchedulerPolicyFileSource) DeepCopy() *SchedulerPolicyFileSource {
  249. if in == nil {
  250. return nil
  251. }
  252. out := new(SchedulerPolicyFileSource)
  253. in.DeepCopyInto(out)
  254. return out
  255. }
  256. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  257. func (in *SchedulerPolicySource) DeepCopyInto(out *SchedulerPolicySource) {
  258. *out = *in
  259. if in.File != nil {
  260. in, out := &in.File, &out.File
  261. *out = new(SchedulerPolicyFileSource)
  262. **out = **in
  263. }
  264. if in.ConfigMap != nil {
  265. in, out := &in.ConfigMap, &out.ConfigMap
  266. *out = new(SchedulerPolicyConfigMapSource)
  267. **out = **in
  268. }
  269. return
  270. }
  271. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerPolicySource.
  272. func (in *SchedulerPolicySource) DeepCopy() *SchedulerPolicySource {
  273. if in == nil {
  274. return nil
  275. }
  276. out := new(SchedulerPolicySource)
  277. in.DeepCopyInto(out)
  278. return out
  279. }