zz_generated.deepcopy.go 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835
  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 v1
  17. import (
  18. corev1 "k8s.io/api/core/v1"
  19. metav1 "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(metav1.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(metav1.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(metav1.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 *StatefulSet) DeepCopyInto(out *StatefulSet) {
  570. *out = *in
  571. out.TypeMeta = in.TypeMeta
  572. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  573. in.Spec.DeepCopyInto(&out.Spec)
  574. in.Status.DeepCopyInto(&out.Status)
  575. return
  576. }
  577. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  578. func (in *StatefulSet) DeepCopy() *StatefulSet {
  579. if in == nil {
  580. return nil
  581. }
  582. out := new(StatefulSet)
  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 *StatefulSet) 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 *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  595. *out = *in
  596. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  597. return
  598. }
  599. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  600. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  601. if in == nil {
  602. return nil
  603. }
  604. out := new(StatefulSetCondition)
  605. in.DeepCopyInto(out)
  606. return out
  607. }
  608. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  609. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  610. *out = *in
  611. out.TypeMeta = in.TypeMeta
  612. in.ListMeta.DeepCopyInto(&out.ListMeta)
  613. if in.Items != nil {
  614. in, out := &in.Items, &out.Items
  615. *out = make([]StatefulSet, len(*in))
  616. for i := range *in {
  617. (*in)[i].DeepCopyInto(&(*out)[i])
  618. }
  619. }
  620. return
  621. }
  622. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  623. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  624. if in == nil {
  625. return nil
  626. }
  627. out := new(StatefulSetList)
  628. in.DeepCopyInto(out)
  629. return out
  630. }
  631. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  632. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  633. if c := in.DeepCopy(); c != nil {
  634. return c
  635. }
  636. return nil
  637. }
  638. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  639. func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
  640. *out = *in
  641. return
  642. }
  643. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals.
  644. func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
  645. if in == nil {
  646. return nil
  647. }
  648. out := new(StatefulSetOrdinals)
  649. in.DeepCopyInto(out)
  650. return out
  651. }
  652. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  653. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
  654. *out = *in
  655. return
  656. }
  657. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
  658. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
  659. if in == nil {
  660. return nil
  661. }
  662. out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  663. in.DeepCopyInto(out)
  664. return out
  665. }
  666. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  667. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  668. *out = *in
  669. if in.Replicas != nil {
  670. in, out := &in.Replicas, &out.Replicas
  671. *out = new(int32)
  672. **out = **in
  673. }
  674. if in.Selector != nil {
  675. in, out := &in.Selector, &out.Selector
  676. *out = new(metav1.LabelSelector)
  677. (*in).DeepCopyInto(*out)
  678. }
  679. in.Template.DeepCopyInto(&out.Template)
  680. if in.VolumeClaimTemplates != nil {
  681. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  682. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  683. for i := range *in {
  684. (*in)[i].DeepCopyInto(&(*out)[i])
  685. }
  686. }
  687. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  688. if in.RevisionHistoryLimit != nil {
  689. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  690. *out = new(int32)
  691. **out = **in
  692. }
  693. if in.PersistentVolumeClaimRetentionPolicy != nil {
  694. in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
  695. *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  696. **out = **in
  697. }
  698. if in.Ordinals != nil {
  699. in, out := &in.Ordinals, &out.Ordinals
  700. *out = new(StatefulSetOrdinals)
  701. **out = **in
  702. }
  703. return
  704. }
  705. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  706. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  707. if in == nil {
  708. return nil
  709. }
  710. out := new(StatefulSetSpec)
  711. in.DeepCopyInto(out)
  712. return out
  713. }
  714. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  715. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  716. *out = *in
  717. if in.CollisionCount != nil {
  718. in, out := &in.CollisionCount, &out.CollisionCount
  719. *out = new(int32)
  720. **out = **in
  721. }
  722. if in.Conditions != nil {
  723. in, out := &in.Conditions, &out.Conditions
  724. *out = make([]StatefulSetCondition, len(*in))
  725. for i := range *in {
  726. (*in)[i].DeepCopyInto(&(*out)[i])
  727. }
  728. }
  729. return
  730. }
  731. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  732. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  733. if in == nil {
  734. return nil
  735. }
  736. out := new(StatefulSetStatus)
  737. in.DeepCopyInto(out)
  738. return out
  739. }
  740. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  741. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  742. *out = *in
  743. if in.RollingUpdate != nil {
  744. in, out := &in.RollingUpdate, &out.RollingUpdate
  745. *out = new(RollingUpdateStatefulSetStrategy)
  746. (*in).DeepCopyInto(*out)
  747. }
  748. return
  749. }
  750. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  751. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  752. if in == nil {
  753. return nil
  754. }
  755. out := new(StatefulSetUpdateStrategy)
  756. in.DeepCopyInto(out)
  757. return out
  758. }