zz_generated.deepcopy.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  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.TerminatingReplicas != nil {
  223. in, out := &in.TerminatingReplicas, &out.TerminatingReplicas
  224. *out = new(int32)
  225. **out = **in
  226. }
  227. if in.Conditions != nil {
  228. in, out := &in.Conditions, &out.Conditions
  229. *out = make([]DeploymentCondition, len(*in))
  230. for i := range *in {
  231. (*in)[i].DeepCopyInto(&(*out)[i])
  232. }
  233. }
  234. if in.CollisionCount != nil {
  235. in, out := &in.CollisionCount, &out.CollisionCount
  236. *out = new(int32)
  237. **out = **in
  238. }
  239. return
  240. }
  241. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
  242. func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
  243. if in == nil {
  244. return nil
  245. }
  246. out := new(DeploymentStatus)
  247. in.DeepCopyInto(out)
  248. return out
  249. }
  250. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  251. func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
  252. *out = *in
  253. if in.RollingUpdate != nil {
  254. in, out := &in.RollingUpdate, &out.RollingUpdate
  255. *out = new(RollingUpdateDeployment)
  256. (*in).DeepCopyInto(*out)
  257. }
  258. return
  259. }
  260. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
  261. func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
  262. if in == nil {
  263. return nil
  264. }
  265. out := new(DeploymentStrategy)
  266. in.DeepCopyInto(out)
  267. return out
  268. }
  269. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  270. func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
  271. *out = *in
  272. return
  273. }
  274. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
  275. func (in *RollbackConfig) DeepCopy() *RollbackConfig {
  276. if in == nil {
  277. return nil
  278. }
  279. out := new(RollbackConfig)
  280. in.DeepCopyInto(out)
  281. return out
  282. }
  283. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  284. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  285. *out = *in
  286. if in.MaxUnavailable != nil {
  287. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  288. *out = new(intstr.IntOrString)
  289. **out = **in
  290. }
  291. if in.MaxSurge != nil {
  292. in, out := &in.MaxSurge, &out.MaxSurge
  293. *out = new(intstr.IntOrString)
  294. **out = **in
  295. }
  296. return
  297. }
  298. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  299. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  300. if in == nil {
  301. return nil
  302. }
  303. out := new(RollingUpdateDeployment)
  304. in.DeepCopyInto(out)
  305. return out
  306. }
  307. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  308. func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
  309. *out = *in
  310. if in.Partition != nil {
  311. in, out := &in.Partition, &out.Partition
  312. *out = new(int32)
  313. **out = **in
  314. }
  315. if in.MaxUnavailable != nil {
  316. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  317. *out = new(intstr.IntOrString)
  318. **out = **in
  319. }
  320. return
  321. }
  322. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  323. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  324. if in == nil {
  325. return nil
  326. }
  327. out := new(RollingUpdateStatefulSetStrategy)
  328. in.DeepCopyInto(out)
  329. return out
  330. }
  331. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  332. func (in *Scale) DeepCopyInto(out *Scale) {
  333. *out = *in
  334. out.TypeMeta = in.TypeMeta
  335. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  336. out.Spec = in.Spec
  337. in.Status.DeepCopyInto(&out.Status)
  338. return
  339. }
  340. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  341. func (in *Scale) DeepCopy() *Scale {
  342. if in == nil {
  343. return nil
  344. }
  345. out := new(Scale)
  346. in.DeepCopyInto(out)
  347. return out
  348. }
  349. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  350. func (in *Scale) DeepCopyObject() runtime.Object {
  351. if c := in.DeepCopy(); c != nil {
  352. return c
  353. }
  354. return nil
  355. }
  356. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  357. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  358. *out = *in
  359. return
  360. }
  361. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  362. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  363. if in == nil {
  364. return nil
  365. }
  366. out := new(ScaleSpec)
  367. in.DeepCopyInto(out)
  368. return out
  369. }
  370. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  371. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  372. *out = *in
  373. if in.Selector != nil {
  374. in, out := &in.Selector, &out.Selector
  375. *out = make(map[string]string, len(*in))
  376. for key, val := range *in {
  377. (*out)[key] = val
  378. }
  379. }
  380. return
  381. }
  382. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  383. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  384. if in == nil {
  385. return nil
  386. }
  387. out := new(ScaleStatus)
  388. in.DeepCopyInto(out)
  389. return out
  390. }
  391. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  392. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  393. *out = *in
  394. out.TypeMeta = in.TypeMeta
  395. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  396. in.Spec.DeepCopyInto(&out.Spec)
  397. in.Status.DeepCopyInto(&out.Status)
  398. return
  399. }
  400. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  401. func (in *StatefulSet) DeepCopy() *StatefulSet {
  402. if in == nil {
  403. return nil
  404. }
  405. out := new(StatefulSet)
  406. in.DeepCopyInto(out)
  407. return out
  408. }
  409. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  410. func (in *StatefulSet) DeepCopyObject() runtime.Object {
  411. if c := in.DeepCopy(); c != nil {
  412. return c
  413. }
  414. return nil
  415. }
  416. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  417. func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  418. *out = *in
  419. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  420. return
  421. }
  422. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  423. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  424. if in == nil {
  425. return nil
  426. }
  427. out := new(StatefulSetCondition)
  428. in.DeepCopyInto(out)
  429. return out
  430. }
  431. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  432. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  433. *out = *in
  434. out.TypeMeta = in.TypeMeta
  435. in.ListMeta.DeepCopyInto(&out.ListMeta)
  436. if in.Items != nil {
  437. in, out := &in.Items, &out.Items
  438. *out = make([]StatefulSet, len(*in))
  439. for i := range *in {
  440. (*in)[i].DeepCopyInto(&(*out)[i])
  441. }
  442. }
  443. return
  444. }
  445. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  446. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  447. if in == nil {
  448. return nil
  449. }
  450. out := new(StatefulSetList)
  451. in.DeepCopyInto(out)
  452. return out
  453. }
  454. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  455. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  456. if c := in.DeepCopy(); c != nil {
  457. return c
  458. }
  459. return nil
  460. }
  461. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  462. func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
  463. *out = *in
  464. return
  465. }
  466. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals.
  467. func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
  468. if in == nil {
  469. return nil
  470. }
  471. out := new(StatefulSetOrdinals)
  472. in.DeepCopyInto(out)
  473. return out
  474. }
  475. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  476. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
  477. *out = *in
  478. return
  479. }
  480. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
  481. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
  482. if in == nil {
  483. return nil
  484. }
  485. out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  486. in.DeepCopyInto(out)
  487. return out
  488. }
  489. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  490. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  491. *out = *in
  492. if in.Replicas != nil {
  493. in, out := &in.Replicas, &out.Replicas
  494. *out = new(int32)
  495. **out = **in
  496. }
  497. if in.Selector != nil {
  498. in, out := &in.Selector, &out.Selector
  499. *out = new(v1.LabelSelector)
  500. (*in).DeepCopyInto(*out)
  501. }
  502. in.Template.DeepCopyInto(&out.Template)
  503. if in.VolumeClaimTemplates != nil {
  504. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  505. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  506. for i := range *in {
  507. (*in)[i].DeepCopyInto(&(*out)[i])
  508. }
  509. }
  510. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  511. if in.RevisionHistoryLimit != nil {
  512. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  513. *out = new(int32)
  514. **out = **in
  515. }
  516. if in.PersistentVolumeClaimRetentionPolicy != nil {
  517. in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
  518. *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  519. **out = **in
  520. }
  521. if in.Ordinals != nil {
  522. in, out := &in.Ordinals, &out.Ordinals
  523. *out = new(StatefulSetOrdinals)
  524. **out = **in
  525. }
  526. return
  527. }
  528. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  529. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  530. if in == nil {
  531. return nil
  532. }
  533. out := new(StatefulSetSpec)
  534. in.DeepCopyInto(out)
  535. return out
  536. }
  537. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  538. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  539. *out = *in
  540. if in.ObservedGeneration != nil {
  541. in, out := &in.ObservedGeneration, &out.ObservedGeneration
  542. *out = new(int64)
  543. **out = **in
  544. }
  545. if in.CollisionCount != nil {
  546. in, out := &in.CollisionCount, &out.CollisionCount
  547. *out = new(int32)
  548. **out = **in
  549. }
  550. if in.Conditions != nil {
  551. in, out := &in.Conditions, &out.Conditions
  552. *out = make([]StatefulSetCondition, len(*in))
  553. for i := range *in {
  554. (*in)[i].DeepCopyInto(&(*out)[i])
  555. }
  556. }
  557. return
  558. }
  559. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  560. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  561. if in == nil {
  562. return nil
  563. }
  564. out := new(StatefulSetStatus)
  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 *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  570. *out = *in
  571. if in.RollingUpdate != nil {
  572. in, out := &in.RollingUpdate, &out.RollingUpdate
  573. *out = new(RollingUpdateStatefulSetStrategy)
  574. (*in).DeepCopyInto(*out)
  575. }
  576. return
  577. }
  578. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  579. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  580. if in == nil {
  581. return nil
  582. }
  583. out := new(StatefulSetUpdateStrategy)
  584. in.DeepCopyInto(out)
  585. return out
  586. }