zz_generated.deepcopy.go 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  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 v1beta2
  17. import (
  18. corev1 "k8s.io/api/core/v1"
  19. v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  20. runtime "k8s.io/apimachinery/pkg/runtime"
  21. intstr "k8s.io/apimachinery/pkg/util/intstr"
  22. )
  23. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  24. func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
  25. *out = *in
  26. out.TypeMeta = in.TypeMeta
  27. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  28. in.Data.DeepCopyInto(&out.Data)
  29. return
  30. }
  31. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
  32. func (in *ControllerRevision) DeepCopy() *ControllerRevision {
  33. if in == nil {
  34. return nil
  35. }
  36. out := new(ControllerRevision)
  37. in.DeepCopyInto(out)
  38. return out
  39. }
  40. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  41. func (in *ControllerRevision) DeepCopyObject() runtime.Object {
  42. if c := in.DeepCopy(); c != nil {
  43. return c
  44. }
  45. return nil
  46. }
  47. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  48. func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
  49. *out = *in
  50. out.TypeMeta = in.TypeMeta
  51. in.ListMeta.DeepCopyInto(&out.ListMeta)
  52. if in.Items != nil {
  53. in, out := &in.Items, &out.Items
  54. *out = make([]ControllerRevision, len(*in))
  55. for i := range *in {
  56. (*in)[i].DeepCopyInto(&(*out)[i])
  57. }
  58. }
  59. return
  60. }
  61. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
  62. func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
  63. if in == nil {
  64. return nil
  65. }
  66. out := new(ControllerRevisionList)
  67. in.DeepCopyInto(out)
  68. return out
  69. }
  70. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  71. func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
  72. if c := in.DeepCopy(); c != nil {
  73. return c
  74. }
  75. return nil
  76. }
  77. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  78. func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
  79. *out = *in
  80. out.TypeMeta = in.TypeMeta
  81. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  82. in.Spec.DeepCopyInto(&out.Spec)
  83. in.Status.DeepCopyInto(&out.Status)
  84. return
  85. }
  86. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
  87. func (in *DaemonSet) DeepCopy() *DaemonSet {
  88. if in == nil {
  89. return nil
  90. }
  91. out := new(DaemonSet)
  92. in.DeepCopyInto(out)
  93. return out
  94. }
  95. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  96. func (in *DaemonSet) DeepCopyObject() runtime.Object {
  97. if c := in.DeepCopy(); c != nil {
  98. return c
  99. }
  100. return nil
  101. }
  102. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  103. func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
  104. *out = *in
  105. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  106. return
  107. }
  108. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition.
  109. func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
  110. if in == nil {
  111. return nil
  112. }
  113. out := new(DaemonSetCondition)
  114. in.DeepCopyInto(out)
  115. return out
  116. }
  117. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  118. func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
  119. *out = *in
  120. out.TypeMeta = in.TypeMeta
  121. in.ListMeta.DeepCopyInto(&out.ListMeta)
  122. if in.Items != nil {
  123. in, out := &in.Items, &out.Items
  124. *out = make([]DaemonSet, len(*in))
  125. for i := range *in {
  126. (*in)[i].DeepCopyInto(&(*out)[i])
  127. }
  128. }
  129. return
  130. }
  131. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
  132. func (in *DaemonSetList) DeepCopy() *DaemonSetList {
  133. if in == nil {
  134. return nil
  135. }
  136. out := new(DaemonSetList)
  137. in.DeepCopyInto(out)
  138. return out
  139. }
  140. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  141. func (in *DaemonSetList) DeepCopyObject() runtime.Object {
  142. if c := in.DeepCopy(); c != nil {
  143. return c
  144. }
  145. return nil
  146. }
  147. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  148. func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
  149. *out = *in
  150. if in.Selector != nil {
  151. in, out := &in.Selector, &out.Selector
  152. *out = new(v1.LabelSelector)
  153. (*in).DeepCopyInto(*out)
  154. }
  155. in.Template.DeepCopyInto(&out.Template)
  156. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  157. if in.RevisionHistoryLimit != nil {
  158. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  159. *out = new(int32)
  160. **out = **in
  161. }
  162. return
  163. }
  164. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
  165. func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
  166. if in == nil {
  167. return nil
  168. }
  169. out := new(DaemonSetSpec)
  170. in.DeepCopyInto(out)
  171. return out
  172. }
  173. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  174. func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
  175. *out = *in
  176. if in.CollisionCount != nil {
  177. in, out := &in.CollisionCount, &out.CollisionCount
  178. *out = new(int32)
  179. **out = **in
  180. }
  181. if in.Conditions != nil {
  182. in, out := &in.Conditions, &out.Conditions
  183. *out = make([]DaemonSetCondition, len(*in))
  184. for i := range *in {
  185. (*in)[i].DeepCopyInto(&(*out)[i])
  186. }
  187. }
  188. return
  189. }
  190. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
  191. func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
  192. if in == nil {
  193. return nil
  194. }
  195. out := new(DaemonSetStatus)
  196. in.DeepCopyInto(out)
  197. return out
  198. }
  199. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  200. func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
  201. *out = *in
  202. if in.RollingUpdate != nil {
  203. in, out := &in.RollingUpdate, &out.RollingUpdate
  204. *out = new(RollingUpdateDaemonSet)
  205. (*in).DeepCopyInto(*out)
  206. }
  207. return
  208. }
  209. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
  210. func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
  211. if in == nil {
  212. return nil
  213. }
  214. out := new(DaemonSetUpdateStrategy)
  215. in.DeepCopyInto(out)
  216. return out
  217. }
  218. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  219. func (in *Deployment) DeepCopyInto(out *Deployment) {
  220. *out = *in
  221. out.TypeMeta = in.TypeMeta
  222. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  223. in.Spec.DeepCopyInto(&out.Spec)
  224. in.Status.DeepCopyInto(&out.Status)
  225. return
  226. }
  227. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
  228. func (in *Deployment) DeepCopy() *Deployment {
  229. if in == nil {
  230. return nil
  231. }
  232. out := new(Deployment)
  233. in.DeepCopyInto(out)
  234. return out
  235. }
  236. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  237. func (in *Deployment) DeepCopyObject() runtime.Object {
  238. if c := in.DeepCopy(); c != nil {
  239. return c
  240. }
  241. return nil
  242. }
  243. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  244. func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
  245. *out = *in
  246. in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
  247. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  248. return
  249. }
  250. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
  251. func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
  252. if in == nil {
  253. return nil
  254. }
  255. out := new(DeploymentCondition)
  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 *DeploymentList) DeepCopyInto(out *DeploymentList) {
  261. *out = *in
  262. out.TypeMeta = in.TypeMeta
  263. in.ListMeta.DeepCopyInto(&out.ListMeta)
  264. if in.Items != nil {
  265. in, out := &in.Items, &out.Items
  266. *out = make([]Deployment, len(*in))
  267. for i := range *in {
  268. (*in)[i].DeepCopyInto(&(*out)[i])
  269. }
  270. }
  271. return
  272. }
  273. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
  274. func (in *DeploymentList) DeepCopy() *DeploymentList {
  275. if in == nil {
  276. return nil
  277. }
  278. out := new(DeploymentList)
  279. in.DeepCopyInto(out)
  280. return out
  281. }
  282. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  283. func (in *DeploymentList) DeepCopyObject() runtime.Object {
  284. if c := in.DeepCopy(); c != nil {
  285. return c
  286. }
  287. return nil
  288. }
  289. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  290. func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
  291. *out = *in
  292. if in.Replicas != nil {
  293. in, out := &in.Replicas, &out.Replicas
  294. *out = new(int32)
  295. **out = **in
  296. }
  297. if in.Selector != nil {
  298. in, out := &in.Selector, &out.Selector
  299. *out = new(v1.LabelSelector)
  300. (*in).DeepCopyInto(*out)
  301. }
  302. in.Template.DeepCopyInto(&out.Template)
  303. in.Strategy.DeepCopyInto(&out.Strategy)
  304. if in.RevisionHistoryLimit != nil {
  305. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  306. *out = new(int32)
  307. **out = **in
  308. }
  309. if in.ProgressDeadlineSeconds != nil {
  310. in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
  311. *out = new(int32)
  312. **out = **in
  313. }
  314. return
  315. }
  316. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
  317. func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
  318. if in == nil {
  319. return nil
  320. }
  321. out := new(DeploymentSpec)
  322. in.DeepCopyInto(out)
  323. return out
  324. }
  325. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  326. func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
  327. *out = *in
  328. if in.TerminatingReplicas != nil {
  329. in, out := &in.TerminatingReplicas, &out.TerminatingReplicas
  330. *out = new(int32)
  331. **out = **in
  332. }
  333. if in.Conditions != nil {
  334. in, out := &in.Conditions, &out.Conditions
  335. *out = make([]DeploymentCondition, len(*in))
  336. for i := range *in {
  337. (*in)[i].DeepCopyInto(&(*out)[i])
  338. }
  339. }
  340. if in.CollisionCount != nil {
  341. in, out := &in.CollisionCount, &out.CollisionCount
  342. *out = new(int32)
  343. **out = **in
  344. }
  345. return
  346. }
  347. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
  348. func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
  349. if in == nil {
  350. return nil
  351. }
  352. out := new(DeploymentStatus)
  353. in.DeepCopyInto(out)
  354. return out
  355. }
  356. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  357. func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
  358. *out = *in
  359. if in.RollingUpdate != nil {
  360. in, out := &in.RollingUpdate, &out.RollingUpdate
  361. *out = new(RollingUpdateDeployment)
  362. (*in).DeepCopyInto(*out)
  363. }
  364. return
  365. }
  366. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
  367. func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
  368. if in == nil {
  369. return nil
  370. }
  371. out := new(DeploymentStrategy)
  372. in.DeepCopyInto(out)
  373. return out
  374. }
  375. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  376. func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
  377. *out = *in
  378. out.TypeMeta = in.TypeMeta
  379. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  380. in.Spec.DeepCopyInto(&out.Spec)
  381. in.Status.DeepCopyInto(&out.Status)
  382. return
  383. }
  384. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
  385. func (in *ReplicaSet) DeepCopy() *ReplicaSet {
  386. if in == nil {
  387. return nil
  388. }
  389. out := new(ReplicaSet)
  390. in.DeepCopyInto(out)
  391. return out
  392. }
  393. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  394. func (in *ReplicaSet) DeepCopyObject() runtime.Object {
  395. if c := in.DeepCopy(); c != nil {
  396. return c
  397. }
  398. return nil
  399. }
  400. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  401. func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
  402. *out = *in
  403. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  404. return
  405. }
  406. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
  407. func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
  408. if in == nil {
  409. return nil
  410. }
  411. out := new(ReplicaSetCondition)
  412. in.DeepCopyInto(out)
  413. return out
  414. }
  415. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  416. func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
  417. *out = *in
  418. out.TypeMeta = in.TypeMeta
  419. in.ListMeta.DeepCopyInto(&out.ListMeta)
  420. if in.Items != nil {
  421. in, out := &in.Items, &out.Items
  422. *out = make([]ReplicaSet, len(*in))
  423. for i := range *in {
  424. (*in)[i].DeepCopyInto(&(*out)[i])
  425. }
  426. }
  427. return
  428. }
  429. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
  430. func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
  431. if in == nil {
  432. return nil
  433. }
  434. out := new(ReplicaSetList)
  435. in.DeepCopyInto(out)
  436. return out
  437. }
  438. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  439. func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
  440. if c := in.DeepCopy(); c != nil {
  441. return c
  442. }
  443. return nil
  444. }
  445. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  446. func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
  447. *out = *in
  448. if in.Replicas != nil {
  449. in, out := &in.Replicas, &out.Replicas
  450. *out = new(int32)
  451. **out = **in
  452. }
  453. if in.Selector != nil {
  454. in, out := &in.Selector, &out.Selector
  455. *out = new(v1.LabelSelector)
  456. (*in).DeepCopyInto(*out)
  457. }
  458. in.Template.DeepCopyInto(&out.Template)
  459. return
  460. }
  461. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
  462. func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
  463. if in == nil {
  464. return nil
  465. }
  466. out := new(ReplicaSetSpec)
  467. in.DeepCopyInto(out)
  468. return out
  469. }
  470. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  471. func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
  472. *out = *in
  473. if in.TerminatingReplicas != nil {
  474. in, out := &in.TerminatingReplicas, &out.TerminatingReplicas
  475. *out = new(int32)
  476. **out = **in
  477. }
  478. if in.Conditions != nil {
  479. in, out := &in.Conditions, &out.Conditions
  480. *out = make([]ReplicaSetCondition, len(*in))
  481. for i := range *in {
  482. (*in)[i].DeepCopyInto(&(*out)[i])
  483. }
  484. }
  485. return
  486. }
  487. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
  488. func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
  489. if in == nil {
  490. return nil
  491. }
  492. out := new(ReplicaSetStatus)
  493. in.DeepCopyInto(out)
  494. return out
  495. }
  496. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  497. func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
  498. *out = *in
  499. if in.MaxUnavailable != nil {
  500. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  501. *out = new(intstr.IntOrString)
  502. **out = **in
  503. }
  504. if in.MaxSurge != nil {
  505. in, out := &in.MaxSurge, &out.MaxSurge
  506. *out = new(intstr.IntOrString)
  507. **out = **in
  508. }
  509. return
  510. }
  511. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
  512. func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
  513. if in == nil {
  514. return nil
  515. }
  516. out := new(RollingUpdateDaemonSet)
  517. in.DeepCopyInto(out)
  518. return out
  519. }
  520. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  521. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  522. *out = *in
  523. if in.MaxUnavailable != nil {
  524. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  525. *out = new(intstr.IntOrString)
  526. **out = **in
  527. }
  528. if in.MaxSurge != nil {
  529. in, out := &in.MaxSurge, &out.MaxSurge
  530. *out = new(intstr.IntOrString)
  531. **out = **in
  532. }
  533. return
  534. }
  535. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  536. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  537. if in == nil {
  538. return nil
  539. }
  540. out := new(RollingUpdateDeployment)
  541. in.DeepCopyInto(out)
  542. return out
  543. }
  544. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  545. func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
  546. *out = *in
  547. if in.Partition != nil {
  548. in, out := &in.Partition, &out.Partition
  549. *out = new(int32)
  550. **out = **in
  551. }
  552. if in.MaxUnavailable != nil {
  553. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  554. *out = new(intstr.IntOrString)
  555. **out = **in
  556. }
  557. return
  558. }
  559. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  560. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  561. if in == nil {
  562. return nil
  563. }
  564. out := new(RollingUpdateStatefulSetStrategy)
  565. in.DeepCopyInto(out)
  566. return out
  567. }
  568. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  569. func (in *Scale) DeepCopyInto(out *Scale) {
  570. *out = *in
  571. out.TypeMeta = in.TypeMeta
  572. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  573. out.Spec = in.Spec
  574. in.Status.DeepCopyInto(&out.Status)
  575. return
  576. }
  577. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  578. func (in *Scale) DeepCopy() *Scale {
  579. if in == nil {
  580. return nil
  581. }
  582. out := new(Scale)
  583. in.DeepCopyInto(out)
  584. return out
  585. }
  586. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  587. func (in *Scale) DeepCopyObject() runtime.Object {
  588. if c := in.DeepCopy(); c != nil {
  589. return c
  590. }
  591. return nil
  592. }
  593. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  594. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  595. *out = *in
  596. return
  597. }
  598. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  599. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  600. if in == nil {
  601. return nil
  602. }
  603. out := new(ScaleSpec)
  604. in.DeepCopyInto(out)
  605. return out
  606. }
  607. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  608. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  609. *out = *in
  610. if in.Selector != nil {
  611. in, out := &in.Selector, &out.Selector
  612. *out = make(map[string]string, len(*in))
  613. for key, val := range *in {
  614. (*out)[key] = val
  615. }
  616. }
  617. return
  618. }
  619. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  620. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  621. if in == nil {
  622. return nil
  623. }
  624. out := new(ScaleStatus)
  625. in.DeepCopyInto(out)
  626. return out
  627. }
  628. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  629. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  630. *out = *in
  631. out.TypeMeta = in.TypeMeta
  632. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  633. in.Spec.DeepCopyInto(&out.Spec)
  634. in.Status.DeepCopyInto(&out.Status)
  635. return
  636. }
  637. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  638. func (in *StatefulSet) DeepCopy() *StatefulSet {
  639. if in == nil {
  640. return nil
  641. }
  642. out := new(StatefulSet)
  643. in.DeepCopyInto(out)
  644. return out
  645. }
  646. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  647. func (in *StatefulSet) DeepCopyObject() runtime.Object {
  648. if c := in.DeepCopy(); c != nil {
  649. return c
  650. }
  651. return nil
  652. }
  653. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  654. func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  655. *out = *in
  656. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  657. return
  658. }
  659. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  660. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  661. if in == nil {
  662. return nil
  663. }
  664. out := new(StatefulSetCondition)
  665. in.DeepCopyInto(out)
  666. return out
  667. }
  668. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  669. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  670. *out = *in
  671. out.TypeMeta = in.TypeMeta
  672. in.ListMeta.DeepCopyInto(&out.ListMeta)
  673. if in.Items != nil {
  674. in, out := &in.Items, &out.Items
  675. *out = make([]StatefulSet, len(*in))
  676. for i := range *in {
  677. (*in)[i].DeepCopyInto(&(*out)[i])
  678. }
  679. }
  680. return
  681. }
  682. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  683. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  684. if in == nil {
  685. return nil
  686. }
  687. out := new(StatefulSetList)
  688. in.DeepCopyInto(out)
  689. return out
  690. }
  691. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  692. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  693. if c := in.DeepCopy(); c != nil {
  694. return c
  695. }
  696. return nil
  697. }
  698. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  699. func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
  700. *out = *in
  701. return
  702. }
  703. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals.
  704. func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
  705. if in == nil {
  706. return nil
  707. }
  708. out := new(StatefulSetOrdinals)
  709. in.DeepCopyInto(out)
  710. return out
  711. }
  712. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  713. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
  714. *out = *in
  715. return
  716. }
  717. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
  718. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
  719. if in == nil {
  720. return nil
  721. }
  722. out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  723. in.DeepCopyInto(out)
  724. return out
  725. }
  726. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  727. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  728. *out = *in
  729. if in.Replicas != nil {
  730. in, out := &in.Replicas, &out.Replicas
  731. *out = new(int32)
  732. **out = **in
  733. }
  734. if in.Selector != nil {
  735. in, out := &in.Selector, &out.Selector
  736. *out = new(v1.LabelSelector)
  737. (*in).DeepCopyInto(*out)
  738. }
  739. in.Template.DeepCopyInto(&out.Template)
  740. if in.VolumeClaimTemplates != nil {
  741. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  742. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  743. for i := range *in {
  744. (*in)[i].DeepCopyInto(&(*out)[i])
  745. }
  746. }
  747. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  748. if in.RevisionHistoryLimit != nil {
  749. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  750. *out = new(int32)
  751. **out = **in
  752. }
  753. if in.PersistentVolumeClaimRetentionPolicy != nil {
  754. in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
  755. *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  756. **out = **in
  757. }
  758. if in.Ordinals != nil {
  759. in, out := &in.Ordinals, &out.Ordinals
  760. *out = new(StatefulSetOrdinals)
  761. **out = **in
  762. }
  763. return
  764. }
  765. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  766. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  767. if in == nil {
  768. return nil
  769. }
  770. out := new(StatefulSetSpec)
  771. in.DeepCopyInto(out)
  772. return out
  773. }
  774. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  775. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  776. *out = *in
  777. if in.CollisionCount != nil {
  778. in, out := &in.CollisionCount, &out.CollisionCount
  779. *out = new(int32)
  780. **out = **in
  781. }
  782. if in.Conditions != nil {
  783. in, out := &in.Conditions, &out.Conditions
  784. *out = make([]StatefulSetCondition, len(*in))
  785. for i := range *in {
  786. (*in)[i].DeepCopyInto(&(*out)[i])
  787. }
  788. }
  789. return
  790. }
  791. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  792. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  793. if in == nil {
  794. return nil
  795. }
  796. out := new(StatefulSetStatus)
  797. in.DeepCopyInto(out)
  798. return out
  799. }
  800. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  801. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  802. *out = *in
  803. if in.RollingUpdate != nil {
  804. in, out := &in.RollingUpdate, &out.RollingUpdate
  805. *out = new(RollingUpdateStatefulSetStrategy)
  806. (*in).DeepCopyInto(*out)
  807. }
  808. return
  809. }
  810. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  811. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  812. if in == nil {
  813. return nil
  814. }
  815. out := new(StatefulSetUpdateStrategy)
  816. in.DeepCopyInto(out)
  817. return out
  818. }