zz_generated.deepcopy.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  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 v1beta1
  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 *Deployment) DeepCopyInto(out *Deployment) {
  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 Deployment.
  87. func (in *Deployment) DeepCopy() *Deployment {
  88. if in == nil {
  89. return nil
  90. }
  91. out := new(Deployment)
  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 *Deployment) 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 *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
  104. *out = *in
  105. in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
  106. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  107. return
  108. }
  109. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
  110. func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
  111. if in == nil {
  112. return nil
  113. }
  114. out := new(DeploymentCondition)
  115. in.DeepCopyInto(out)
  116. return out
  117. }
  118. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  119. func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
  120. *out = *in
  121. out.TypeMeta = in.TypeMeta
  122. in.ListMeta.DeepCopyInto(&out.ListMeta)
  123. if in.Items != nil {
  124. in, out := &in.Items, &out.Items
  125. *out = make([]Deployment, len(*in))
  126. for i := range *in {
  127. (*in)[i].DeepCopyInto(&(*out)[i])
  128. }
  129. }
  130. return
  131. }
  132. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
  133. func (in *DeploymentList) DeepCopy() *DeploymentList {
  134. if in == nil {
  135. return nil
  136. }
  137. out := new(DeploymentList)
  138. in.DeepCopyInto(out)
  139. return out
  140. }
  141. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  142. func (in *DeploymentList) DeepCopyObject() runtime.Object {
  143. if c := in.DeepCopy(); c != nil {
  144. return c
  145. }
  146. return nil
  147. }
  148. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  149. func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
  150. *out = *in
  151. out.TypeMeta = in.TypeMeta
  152. if in.UpdatedAnnotations != nil {
  153. in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
  154. *out = make(map[string]string, len(*in))
  155. for key, val := range *in {
  156. (*out)[key] = val
  157. }
  158. }
  159. out.RollbackTo = in.RollbackTo
  160. return
  161. }
  162. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
  163. func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
  164. if in == nil {
  165. return nil
  166. }
  167. out := new(DeploymentRollback)
  168. in.DeepCopyInto(out)
  169. return out
  170. }
  171. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  172. func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
  173. if c := in.DeepCopy(); c != nil {
  174. return c
  175. }
  176. return nil
  177. }
  178. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  179. func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
  180. *out = *in
  181. if in.Replicas != nil {
  182. in, out := &in.Replicas, &out.Replicas
  183. *out = new(int32)
  184. **out = **in
  185. }
  186. if in.Selector != nil {
  187. in, out := &in.Selector, &out.Selector
  188. *out = new(v1.LabelSelector)
  189. (*in).DeepCopyInto(*out)
  190. }
  191. in.Template.DeepCopyInto(&out.Template)
  192. in.Strategy.DeepCopyInto(&out.Strategy)
  193. if in.RevisionHistoryLimit != nil {
  194. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  195. *out = new(int32)
  196. **out = **in
  197. }
  198. if in.RollbackTo != nil {
  199. in, out := &in.RollbackTo, &out.RollbackTo
  200. *out = new(RollbackConfig)
  201. **out = **in
  202. }
  203. if in.ProgressDeadlineSeconds != nil {
  204. in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
  205. *out = new(int32)
  206. **out = **in
  207. }
  208. return
  209. }
  210. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
  211. func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
  212. if in == nil {
  213. return nil
  214. }
  215. out := new(DeploymentSpec)
  216. in.DeepCopyInto(out)
  217. return out
  218. }
  219. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  220. func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
  221. *out = *in
  222. if in.Conditions != nil {
  223. in, out := &in.Conditions, &out.Conditions
  224. *out = make([]DeploymentCondition, len(*in))
  225. for i := range *in {
  226. (*in)[i].DeepCopyInto(&(*out)[i])
  227. }
  228. }
  229. if in.CollisionCount != nil {
  230. in, out := &in.CollisionCount, &out.CollisionCount
  231. *out = new(int32)
  232. **out = **in
  233. }
  234. return
  235. }
  236. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
  237. func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
  238. if in == nil {
  239. return nil
  240. }
  241. out := new(DeploymentStatus)
  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 *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
  247. *out = *in
  248. if in.RollingUpdate != nil {
  249. in, out := &in.RollingUpdate, &out.RollingUpdate
  250. *out = new(RollingUpdateDeployment)
  251. (*in).DeepCopyInto(*out)
  252. }
  253. return
  254. }
  255. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
  256. func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
  257. if in == nil {
  258. return nil
  259. }
  260. out := new(DeploymentStrategy)
  261. in.DeepCopyInto(out)
  262. return out
  263. }
  264. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  265. func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
  266. *out = *in
  267. return
  268. }
  269. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
  270. func (in *RollbackConfig) DeepCopy() *RollbackConfig {
  271. if in == nil {
  272. return nil
  273. }
  274. out := new(RollbackConfig)
  275. in.DeepCopyInto(out)
  276. return out
  277. }
  278. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  279. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  280. *out = *in
  281. if in.MaxUnavailable != nil {
  282. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  283. *out = new(intstr.IntOrString)
  284. **out = **in
  285. }
  286. if in.MaxSurge != nil {
  287. in, out := &in.MaxSurge, &out.MaxSurge
  288. *out = new(intstr.IntOrString)
  289. **out = **in
  290. }
  291. return
  292. }
  293. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  294. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  295. if in == nil {
  296. return nil
  297. }
  298. out := new(RollingUpdateDeployment)
  299. in.DeepCopyInto(out)
  300. return out
  301. }
  302. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  303. func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
  304. *out = *in
  305. if in.Partition != nil {
  306. in, out := &in.Partition, &out.Partition
  307. *out = new(int32)
  308. **out = **in
  309. }
  310. if in.MaxUnavailable != nil {
  311. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  312. *out = new(intstr.IntOrString)
  313. **out = **in
  314. }
  315. return
  316. }
  317. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  318. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  319. if in == nil {
  320. return nil
  321. }
  322. out := new(RollingUpdateStatefulSetStrategy)
  323. in.DeepCopyInto(out)
  324. return out
  325. }
  326. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  327. func (in *Scale) DeepCopyInto(out *Scale) {
  328. *out = *in
  329. out.TypeMeta = in.TypeMeta
  330. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  331. out.Spec = in.Spec
  332. in.Status.DeepCopyInto(&out.Status)
  333. return
  334. }
  335. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  336. func (in *Scale) DeepCopy() *Scale {
  337. if in == nil {
  338. return nil
  339. }
  340. out := new(Scale)
  341. in.DeepCopyInto(out)
  342. return out
  343. }
  344. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  345. func (in *Scale) DeepCopyObject() runtime.Object {
  346. if c := in.DeepCopy(); c != nil {
  347. return c
  348. }
  349. return nil
  350. }
  351. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  352. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  353. *out = *in
  354. return
  355. }
  356. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  357. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  358. if in == nil {
  359. return nil
  360. }
  361. out := new(ScaleSpec)
  362. in.DeepCopyInto(out)
  363. return out
  364. }
  365. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  366. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  367. *out = *in
  368. if in.Selector != nil {
  369. in, out := &in.Selector, &out.Selector
  370. *out = make(map[string]string, len(*in))
  371. for key, val := range *in {
  372. (*out)[key] = val
  373. }
  374. }
  375. return
  376. }
  377. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  378. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  379. if in == nil {
  380. return nil
  381. }
  382. out := new(ScaleStatus)
  383. in.DeepCopyInto(out)
  384. return out
  385. }
  386. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  387. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  388. *out = *in
  389. out.TypeMeta = in.TypeMeta
  390. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  391. in.Spec.DeepCopyInto(&out.Spec)
  392. in.Status.DeepCopyInto(&out.Status)
  393. return
  394. }
  395. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  396. func (in *StatefulSet) DeepCopy() *StatefulSet {
  397. if in == nil {
  398. return nil
  399. }
  400. out := new(StatefulSet)
  401. in.DeepCopyInto(out)
  402. return out
  403. }
  404. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  405. func (in *StatefulSet) DeepCopyObject() runtime.Object {
  406. if c := in.DeepCopy(); c != nil {
  407. return c
  408. }
  409. return nil
  410. }
  411. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  412. func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  413. *out = *in
  414. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  415. return
  416. }
  417. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  418. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  419. if in == nil {
  420. return nil
  421. }
  422. out := new(StatefulSetCondition)
  423. in.DeepCopyInto(out)
  424. return out
  425. }
  426. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  427. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  428. *out = *in
  429. out.TypeMeta = in.TypeMeta
  430. in.ListMeta.DeepCopyInto(&out.ListMeta)
  431. if in.Items != nil {
  432. in, out := &in.Items, &out.Items
  433. *out = make([]StatefulSet, len(*in))
  434. for i := range *in {
  435. (*in)[i].DeepCopyInto(&(*out)[i])
  436. }
  437. }
  438. return
  439. }
  440. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  441. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  442. if in == nil {
  443. return nil
  444. }
  445. out := new(StatefulSetList)
  446. in.DeepCopyInto(out)
  447. return out
  448. }
  449. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  450. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  451. if c := in.DeepCopy(); c != nil {
  452. return c
  453. }
  454. return nil
  455. }
  456. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  457. func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
  458. *out = *in
  459. return
  460. }
  461. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals.
  462. func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
  463. if in == nil {
  464. return nil
  465. }
  466. out := new(StatefulSetOrdinals)
  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 *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
  472. *out = *in
  473. return
  474. }
  475. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
  476. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
  477. if in == nil {
  478. return nil
  479. }
  480. out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  481. in.DeepCopyInto(out)
  482. return out
  483. }
  484. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  485. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  486. *out = *in
  487. if in.Replicas != nil {
  488. in, out := &in.Replicas, &out.Replicas
  489. *out = new(int32)
  490. **out = **in
  491. }
  492. if in.Selector != nil {
  493. in, out := &in.Selector, &out.Selector
  494. *out = new(v1.LabelSelector)
  495. (*in).DeepCopyInto(*out)
  496. }
  497. in.Template.DeepCopyInto(&out.Template)
  498. if in.VolumeClaimTemplates != nil {
  499. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  500. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  501. for i := range *in {
  502. (*in)[i].DeepCopyInto(&(*out)[i])
  503. }
  504. }
  505. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  506. if in.RevisionHistoryLimit != nil {
  507. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  508. *out = new(int32)
  509. **out = **in
  510. }
  511. if in.PersistentVolumeClaimRetentionPolicy != nil {
  512. in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
  513. *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  514. **out = **in
  515. }
  516. if in.Ordinals != nil {
  517. in, out := &in.Ordinals, &out.Ordinals
  518. *out = new(StatefulSetOrdinals)
  519. **out = **in
  520. }
  521. return
  522. }
  523. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  524. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  525. if in == nil {
  526. return nil
  527. }
  528. out := new(StatefulSetSpec)
  529. in.DeepCopyInto(out)
  530. return out
  531. }
  532. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  533. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  534. *out = *in
  535. if in.ObservedGeneration != nil {
  536. in, out := &in.ObservedGeneration, &out.ObservedGeneration
  537. *out = new(int64)
  538. **out = **in
  539. }
  540. if in.CollisionCount != nil {
  541. in, out := &in.CollisionCount, &out.CollisionCount
  542. *out = new(int32)
  543. **out = **in
  544. }
  545. if in.Conditions != nil {
  546. in, out := &in.Conditions, &out.Conditions
  547. *out = make([]StatefulSetCondition, len(*in))
  548. for i := range *in {
  549. (*in)[i].DeepCopyInto(&(*out)[i])
  550. }
  551. }
  552. return
  553. }
  554. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  555. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  556. if in == nil {
  557. return nil
  558. }
  559. out := new(StatefulSetStatus)
  560. in.DeepCopyInto(out)
  561. return out
  562. }
  563. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  564. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  565. *out = *in
  566. if in.RollingUpdate != nil {
  567. in, out := &in.RollingUpdate, &out.RollingUpdate
  568. *out = new(RollingUpdateStatefulSetStrategy)
  569. (*in).DeepCopyInto(*out)
  570. }
  571. return
  572. }
  573. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  574. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  575. if in == nil {
  576. return nil
  577. }
  578. out := new(StatefulSetUpdateStrategy)
  579. in.DeepCopyInto(out)
  580. return out
  581. }