zz_generated.deepcopy.go 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  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.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(metav1.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. if in.MaxUnavailable != nil {
  543. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  544. *out = new(intstr.IntOrString)
  545. **out = **in
  546. }
  547. return
  548. }
  549. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  550. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  551. if in == nil {
  552. return nil
  553. }
  554. out := new(RollingUpdateStatefulSetStrategy)
  555. in.DeepCopyInto(out)
  556. return out
  557. }
  558. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  559. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  560. *out = *in
  561. out.TypeMeta = in.TypeMeta
  562. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  563. in.Spec.DeepCopyInto(&out.Spec)
  564. in.Status.DeepCopyInto(&out.Status)
  565. return
  566. }
  567. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  568. func (in *StatefulSet) DeepCopy() *StatefulSet {
  569. if in == nil {
  570. return nil
  571. }
  572. out := new(StatefulSet)
  573. in.DeepCopyInto(out)
  574. return out
  575. }
  576. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  577. func (in *StatefulSet) DeepCopyObject() runtime.Object {
  578. if c := in.DeepCopy(); c != nil {
  579. return c
  580. }
  581. return nil
  582. }
  583. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  584. func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  585. *out = *in
  586. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  587. return
  588. }
  589. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  590. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  591. if in == nil {
  592. return nil
  593. }
  594. out := new(StatefulSetCondition)
  595. in.DeepCopyInto(out)
  596. return out
  597. }
  598. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  599. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  600. *out = *in
  601. out.TypeMeta = in.TypeMeta
  602. in.ListMeta.DeepCopyInto(&out.ListMeta)
  603. if in.Items != nil {
  604. in, out := &in.Items, &out.Items
  605. *out = make([]StatefulSet, len(*in))
  606. for i := range *in {
  607. (*in)[i].DeepCopyInto(&(*out)[i])
  608. }
  609. }
  610. return
  611. }
  612. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  613. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  614. if in == nil {
  615. return nil
  616. }
  617. out := new(StatefulSetList)
  618. in.DeepCopyInto(out)
  619. return out
  620. }
  621. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  622. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  623. if c := in.DeepCopy(); c != nil {
  624. return c
  625. }
  626. return nil
  627. }
  628. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  629. func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) {
  630. *out = *in
  631. return
  632. }
  633. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals.
  634. func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals {
  635. if in == nil {
  636. return nil
  637. }
  638. out := new(StatefulSetOrdinals)
  639. in.DeepCopyInto(out)
  640. return out
  641. }
  642. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  643. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) {
  644. *out = *in
  645. return
  646. }
  647. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy.
  648. func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy {
  649. if in == nil {
  650. return nil
  651. }
  652. out := new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  653. in.DeepCopyInto(out)
  654. return out
  655. }
  656. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  657. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  658. *out = *in
  659. if in.Replicas != nil {
  660. in, out := &in.Replicas, &out.Replicas
  661. *out = new(int32)
  662. **out = **in
  663. }
  664. if in.Selector != nil {
  665. in, out := &in.Selector, &out.Selector
  666. *out = new(metav1.LabelSelector)
  667. (*in).DeepCopyInto(*out)
  668. }
  669. in.Template.DeepCopyInto(&out.Template)
  670. if in.VolumeClaimTemplates != nil {
  671. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  672. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  673. for i := range *in {
  674. (*in)[i].DeepCopyInto(&(*out)[i])
  675. }
  676. }
  677. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  678. if in.RevisionHistoryLimit != nil {
  679. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  680. *out = new(int32)
  681. **out = **in
  682. }
  683. if in.PersistentVolumeClaimRetentionPolicy != nil {
  684. in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
  685. *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy)
  686. **out = **in
  687. }
  688. if in.Ordinals != nil {
  689. in, out := &in.Ordinals, &out.Ordinals
  690. *out = new(StatefulSetOrdinals)
  691. **out = **in
  692. }
  693. return
  694. }
  695. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  696. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  697. if in == nil {
  698. return nil
  699. }
  700. out := new(StatefulSetSpec)
  701. in.DeepCopyInto(out)
  702. return out
  703. }
  704. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  705. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  706. *out = *in
  707. if in.CollisionCount != nil {
  708. in, out := &in.CollisionCount, &out.CollisionCount
  709. *out = new(int32)
  710. **out = **in
  711. }
  712. if in.Conditions != nil {
  713. in, out := &in.Conditions, &out.Conditions
  714. *out = make([]StatefulSetCondition, len(*in))
  715. for i := range *in {
  716. (*in)[i].DeepCopyInto(&(*out)[i])
  717. }
  718. }
  719. return
  720. }
  721. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  722. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  723. if in == nil {
  724. return nil
  725. }
  726. out := new(StatefulSetStatus)
  727. in.DeepCopyInto(out)
  728. return out
  729. }
  730. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  731. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  732. *out = *in
  733. if in.RollingUpdate != nil {
  734. in, out := &in.RollingUpdate, &out.RollingUpdate
  735. *out = new(RollingUpdateStatefulSetStrategy)
  736. (*in).DeepCopyInto(*out)
  737. }
  738. return
  739. }
  740. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  741. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  742. if in == nil {
  743. return nil
  744. }
  745. out := new(StatefulSetUpdateStrategy)
  746. in.DeepCopyInto(out)
  747. return out
  748. }