zz_generated.deepcopy.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866
  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.Conditions != nil {
  329. in, out := &in.Conditions, &out.Conditions
  330. *out = make([]DeploymentCondition, len(*in))
  331. for i := range *in {
  332. (*in)[i].DeepCopyInto(&(*out)[i])
  333. }
  334. }
  335. if in.CollisionCount != nil {
  336. in, out := &in.CollisionCount, &out.CollisionCount
  337. *out = new(int32)
  338. **out = **in
  339. }
  340. return
  341. }
  342. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
  343. func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
  344. if in == nil {
  345. return nil
  346. }
  347. out := new(DeploymentStatus)
  348. in.DeepCopyInto(out)
  349. return out
  350. }
  351. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  352. func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
  353. *out = *in
  354. if in.RollingUpdate != nil {
  355. in, out := &in.RollingUpdate, &out.RollingUpdate
  356. *out = new(RollingUpdateDeployment)
  357. (*in).DeepCopyInto(*out)
  358. }
  359. return
  360. }
  361. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
  362. func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
  363. if in == nil {
  364. return nil
  365. }
  366. out := new(DeploymentStrategy)
  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 *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
  372. *out = *in
  373. out.TypeMeta = in.TypeMeta
  374. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  375. in.Spec.DeepCopyInto(&out.Spec)
  376. in.Status.DeepCopyInto(&out.Status)
  377. return
  378. }
  379. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
  380. func (in *ReplicaSet) DeepCopy() *ReplicaSet {
  381. if in == nil {
  382. return nil
  383. }
  384. out := new(ReplicaSet)
  385. in.DeepCopyInto(out)
  386. return out
  387. }
  388. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  389. func (in *ReplicaSet) DeepCopyObject() runtime.Object {
  390. if c := in.DeepCopy(); c != nil {
  391. return c
  392. }
  393. return nil
  394. }
  395. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  396. func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
  397. *out = *in
  398. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  399. return
  400. }
  401. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
  402. func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
  403. if in == nil {
  404. return nil
  405. }
  406. out := new(ReplicaSetCondition)
  407. in.DeepCopyInto(out)
  408. return out
  409. }
  410. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  411. func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
  412. *out = *in
  413. out.TypeMeta = in.TypeMeta
  414. in.ListMeta.DeepCopyInto(&out.ListMeta)
  415. if in.Items != nil {
  416. in, out := &in.Items, &out.Items
  417. *out = make([]ReplicaSet, len(*in))
  418. for i := range *in {
  419. (*in)[i].DeepCopyInto(&(*out)[i])
  420. }
  421. }
  422. return
  423. }
  424. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
  425. func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
  426. if in == nil {
  427. return nil
  428. }
  429. out := new(ReplicaSetList)
  430. in.DeepCopyInto(out)
  431. return out
  432. }
  433. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  434. func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
  435. if c := in.DeepCopy(); c != nil {
  436. return c
  437. }
  438. return nil
  439. }
  440. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  441. func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
  442. *out = *in
  443. if in.Replicas != nil {
  444. in, out := &in.Replicas, &out.Replicas
  445. *out = new(int32)
  446. **out = **in
  447. }
  448. if in.Selector != nil {
  449. in, out := &in.Selector, &out.Selector
  450. *out = new(v1.LabelSelector)
  451. (*in).DeepCopyInto(*out)
  452. }
  453. in.Template.DeepCopyInto(&out.Template)
  454. return
  455. }
  456. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
  457. func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
  458. if in == nil {
  459. return nil
  460. }
  461. out := new(ReplicaSetSpec)
  462. in.DeepCopyInto(out)
  463. return out
  464. }
  465. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  466. func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
  467. *out = *in
  468. if in.Conditions != nil {
  469. in, out := &in.Conditions, &out.Conditions
  470. *out = make([]ReplicaSetCondition, len(*in))
  471. for i := range *in {
  472. (*in)[i].DeepCopyInto(&(*out)[i])
  473. }
  474. }
  475. return
  476. }
  477. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
  478. func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
  479. if in == nil {
  480. return nil
  481. }
  482. out := new(ReplicaSetStatus)
  483. in.DeepCopyInto(out)
  484. return out
  485. }
  486. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  487. func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
  488. *out = *in
  489. if in.MaxUnavailable != nil {
  490. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  491. *out = new(intstr.IntOrString)
  492. **out = **in
  493. }
  494. if in.MaxSurge != nil {
  495. in, out := &in.MaxSurge, &out.MaxSurge
  496. *out = new(intstr.IntOrString)
  497. **out = **in
  498. }
  499. return
  500. }
  501. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
  502. func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
  503. if in == nil {
  504. return nil
  505. }
  506. out := new(RollingUpdateDaemonSet)
  507. in.DeepCopyInto(out)
  508. return out
  509. }
  510. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  511. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  512. *out = *in
  513. if in.MaxUnavailable != nil {
  514. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  515. *out = new(intstr.IntOrString)
  516. **out = **in
  517. }
  518. if in.MaxSurge != nil {
  519. in, out := &in.MaxSurge, &out.MaxSurge
  520. *out = new(intstr.IntOrString)
  521. **out = **in
  522. }
  523. return
  524. }
  525. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  526. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  527. if in == nil {
  528. return nil
  529. }
  530. out := new(RollingUpdateDeployment)
  531. in.DeepCopyInto(out)
  532. return out
  533. }
  534. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  535. func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
  536. *out = *in
  537. if in.Partition != nil {
  538. in, out := &in.Partition, &out.Partition
  539. *out = new(int32)
  540. **out = **in
  541. }
  542. return
  543. }
  544. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  545. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  546. if in == nil {
  547. return nil
  548. }
  549. out := new(RollingUpdateStatefulSetStrategy)
  550. in.DeepCopyInto(out)
  551. return out
  552. }
  553. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  554. func (in *Scale) DeepCopyInto(out *Scale) {
  555. *out = *in
  556. out.TypeMeta = in.TypeMeta
  557. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  558. out.Spec = in.Spec
  559. in.Status.DeepCopyInto(&out.Status)
  560. return
  561. }
  562. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  563. func (in *Scale) DeepCopy() *Scale {
  564. if in == nil {
  565. return nil
  566. }
  567. out := new(Scale)
  568. in.DeepCopyInto(out)
  569. return out
  570. }
  571. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  572. func (in *Scale) DeepCopyObject() runtime.Object {
  573. if c := in.DeepCopy(); c != nil {
  574. return c
  575. }
  576. return nil
  577. }
  578. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  579. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  580. *out = *in
  581. return
  582. }
  583. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  584. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  585. if in == nil {
  586. return nil
  587. }
  588. out := new(ScaleSpec)
  589. in.DeepCopyInto(out)
  590. return out
  591. }
  592. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  593. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  594. *out = *in
  595. if in.Selector != nil {
  596. in, out := &in.Selector, &out.Selector
  597. *out = make(map[string]string, len(*in))
  598. for key, val := range *in {
  599. (*out)[key] = val
  600. }
  601. }
  602. return
  603. }
  604. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  605. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  606. if in == nil {
  607. return nil
  608. }
  609. out := new(ScaleStatus)
  610. in.DeepCopyInto(out)
  611. return out
  612. }
  613. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  614. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  615. *out = *in
  616. out.TypeMeta = in.TypeMeta
  617. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  618. in.Spec.DeepCopyInto(&out.Spec)
  619. in.Status.DeepCopyInto(&out.Status)
  620. return
  621. }
  622. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  623. func (in *StatefulSet) DeepCopy() *StatefulSet {
  624. if in == nil {
  625. return nil
  626. }
  627. out := new(StatefulSet)
  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 *StatefulSet) 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 *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  640. *out = *in
  641. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  642. return
  643. }
  644. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  645. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  646. if in == nil {
  647. return nil
  648. }
  649. out := new(StatefulSetCondition)
  650. in.DeepCopyInto(out)
  651. return out
  652. }
  653. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  654. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  655. *out = *in
  656. out.TypeMeta = in.TypeMeta
  657. in.ListMeta.DeepCopyInto(&out.ListMeta)
  658. if in.Items != nil {
  659. in, out := &in.Items, &out.Items
  660. *out = make([]StatefulSet, len(*in))
  661. for i := range *in {
  662. (*in)[i].DeepCopyInto(&(*out)[i])
  663. }
  664. }
  665. return
  666. }
  667. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  668. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  669. if in == nil {
  670. return nil
  671. }
  672. out := new(StatefulSetList)
  673. in.DeepCopyInto(out)
  674. return out
  675. }
  676. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  677. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  678. if c := in.DeepCopy(); c != nil {
  679. return c
  680. }
  681. return nil
  682. }
  683. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  684. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
  685. *out = *in
  686. return
  687. }
  688. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
  689. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
  690. if in == nil {
  691. return nil
  692. }
  693. out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  694. in.DeepCopyInto(out)
  695. return out
  696. }
  697. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  698. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  699. *out = *in
  700. if in.Replicas != nil {
  701. in, out := &in.Replicas, &out.Replicas
  702. *out = new(int32)
  703. **out = **in
  704. }
  705. if in.Selector != nil {
  706. in, out := &in.Selector, &out.Selector
  707. *out = new(v1.LabelSelector)
  708. (*in).DeepCopyInto(*out)
  709. }
  710. in.Template.DeepCopyInto(&out.Template)
  711. if in.VolumeClaimTemplates != nil {
  712. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  713. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  714. for i := range *in {
  715. (*in)[i].DeepCopyInto(&(*out)[i])
  716. }
  717. }
  718. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  719. if in.RevisionHistoryLimit != nil {
  720. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  721. *out = new(int32)
  722. **out = **in
  723. }
  724. if in.PersistentVolumeClaimRetentionPolicy != nil {
  725. in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
  726. *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  727. **out = **in
  728. }
  729. return
  730. }
  731. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  732. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  733. if in == nil {
  734. return nil
  735. }
  736. out := new(StatefulSetSpec)
  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 *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  742. *out = *in
  743. if in.CollisionCount != nil {
  744. in, out := &in.CollisionCount, &out.CollisionCount
  745. *out = new(int32)
  746. **out = **in
  747. }
  748. if in.Conditions != nil {
  749. in, out := &in.Conditions, &out.Conditions
  750. *out = make([]StatefulSetCondition, len(*in))
  751. for i := range *in {
  752. (*in)[i].DeepCopyInto(&(*out)[i])
  753. }
  754. }
  755. return
  756. }
  757. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  758. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  759. if in == nil {
  760. return nil
  761. }
  762. out := new(StatefulSetStatus)
  763. in.DeepCopyInto(out)
  764. return out
  765. }
  766. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  767. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  768. *out = *in
  769. if in.RollingUpdate != nil {
  770. in, out := &in.RollingUpdate, &out.RollingUpdate
  771. *out = new(RollingUpdateStatefulSetStrategy)
  772. (*in).DeepCopyInto(*out)
  773. }
  774. return
  775. }
  776. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  777. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  778. if in == nil {
  779. return nil
  780. }
  781. out := new(StatefulSetUpdateStrategy)
  782. in.DeepCopyInto(out)
  783. return out
  784. }