zz_generated.deepcopy.go 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. // +build !ignore_autogenerated
  2. /*
  3. Copyright The Kubernetes Authors.
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. */
  14. // Code generated by deepcopy-gen. DO NOT EDIT.
  15. package v1
  16. import (
  17. corev1 "k8s.io/api/core/v1"
  18. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
  19. runtime "k8s.io/apimachinery/pkg/runtime"
  20. intstr "k8s.io/apimachinery/pkg/util/intstr"
  21. )
  22. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  23. func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
  24. *out = *in
  25. out.TypeMeta = in.TypeMeta
  26. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  27. in.Data.DeepCopyInto(&out.Data)
  28. return
  29. }
  30. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
  31. func (in *ControllerRevision) DeepCopy() *ControllerRevision {
  32. if in == nil {
  33. return nil
  34. }
  35. out := new(ControllerRevision)
  36. in.DeepCopyInto(out)
  37. return out
  38. }
  39. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  40. func (in *ControllerRevision) DeepCopyObject() runtime.Object {
  41. if c := in.DeepCopy(); c != nil {
  42. return c
  43. }
  44. return nil
  45. }
  46. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  47. func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
  48. *out = *in
  49. out.TypeMeta = in.TypeMeta
  50. out.ListMeta = in.ListMeta
  51. if in.Items != nil {
  52. in, out := &in.Items, &out.Items
  53. *out = make([]ControllerRevision, len(*in))
  54. for i := range *in {
  55. (*in)[i].DeepCopyInto(&(*out)[i])
  56. }
  57. }
  58. return
  59. }
  60. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
  61. func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
  62. if in == nil {
  63. return nil
  64. }
  65. out := new(ControllerRevisionList)
  66. in.DeepCopyInto(out)
  67. return out
  68. }
  69. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  70. func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
  71. if c := in.DeepCopy(); c != nil {
  72. return c
  73. }
  74. return nil
  75. }
  76. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  77. func (in *DaemonSet) DeepCopyInto(out *DaemonSet) {
  78. *out = *in
  79. out.TypeMeta = in.TypeMeta
  80. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  81. in.Spec.DeepCopyInto(&out.Spec)
  82. in.Status.DeepCopyInto(&out.Status)
  83. return
  84. }
  85. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet.
  86. func (in *DaemonSet) DeepCopy() *DaemonSet {
  87. if in == nil {
  88. return nil
  89. }
  90. out := new(DaemonSet)
  91. in.DeepCopyInto(out)
  92. return out
  93. }
  94. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  95. func (in *DaemonSet) DeepCopyObject() runtime.Object {
  96. if c := in.DeepCopy(); c != nil {
  97. return c
  98. }
  99. return nil
  100. }
  101. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  102. func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) {
  103. *out = *in
  104. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  105. return
  106. }
  107. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition.
  108. func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition {
  109. if in == nil {
  110. return nil
  111. }
  112. out := new(DaemonSetCondition)
  113. in.DeepCopyInto(out)
  114. return out
  115. }
  116. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  117. func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
  118. *out = *in
  119. out.TypeMeta = in.TypeMeta
  120. out.ListMeta = in.ListMeta
  121. if in.Items != nil {
  122. in, out := &in.Items, &out.Items
  123. *out = make([]DaemonSet, len(*in))
  124. for i := range *in {
  125. (*in)[i].DeepCopyInto(&(*out)[i])
  126. }
  127. }
  128. return
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.
  131. func (in *DaemonSetList) DeepCopy() *DaemonSetList {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(DaemonSetList)
  136. in.DeepCopyInto(out)
  137. return out
  138. }
  139. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  140. func (in *DaemonSetList) DeepCopyObject() runtime.Object {
  141. if c := in.DeepCopy(); c != nil {
  142. return c
  143. }
  144. return nil
  145. }
  146. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  147. func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) {
  148. *out = *in
  149. if in.Selector != nil {
  150. in, out := &in.Selector, &out.Selector
  151. *out = new(metav1.LabelSelector)
  152. (*in).DeepCopyInto(*out)
  153. }
  154. in.Template.DeepCopyInto(&out.Template)
  155. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  156. if in.RevisionHistoryLimit != nil {
  157. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  158. *out = new(int32)
  159. **out = **in
  160. }
  161. return
  162. }
  163. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec.
  164. func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec {
  165. if in == nil {
  166. return nil
  167. }
  168. out := new(DaemonSetSpec)
  169. in.DeepCopyInto(out)
  170. return out
  171. }
  172. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  173. func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) {
  174. *out = *in
  175. if in.CollisionCount != nil {
  176. in, out := &in.CollisionCount, &out.CollisionCount
  177. *out = new(int32)
  178. **out = **in
  179. }
  180. if in.Conditions != nil {
  181. in, out := &in.Conditions, &out.Conditions
  182. *out = make([]DaemonSetCondition, len(*in))
  183. for i := range *in {
  184. (*in)[i].DeepCopyInto(&(*out)[i])
  185. }
  186. }
  187. return
  188. }
  189. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus.
  190. func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus {
  191. if in == nil {
  192. return nil
  193. }
  194. out := new(DaemonSetStatus)
  195. in.DeepCopyInto(out)
  196. return out
  197. }
  198. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  199. func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) {
  200. *out = *in
  201. if in.RollingUpdate != nil {
  202. in, out := &in.RollingUpdate, &out.RollingUpdate
  203. *out = new(RollingUpdateDaemonSet)
  204. (*in).DeepCopyInto(*out)
  205. }
  206. return
  207. }
  208. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy.
  209. func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy {
  210. if in == nil {
  211. return nil
  212. }
  213. out := new(DaemonSetUpdateStrategy)
  214. in.DeepCopyInto(out)
  215. return out
  216. }
  217. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  218. func (in *Deployment) DeepCopyInto(out *Deployment) {
  219. *out = *in
  220. out.TypeMeta = in.TypeMeta
  221. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  222. in.Spec.DeepCopyInto(&out.Spec)
  223. in.Status.DeepCopyInto(&out.Status)
  224. return
  225. }
  226. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
  227. func (in *Deployment) DeepCopy() *Deployment {
  228. if in == nil {
  229. return nil
  230. }
  231. out := new(Deployment)
  232. in.DeepCopyInto(out)
  233. return out
  234. }
  235. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  236. func (in *Deployment) DeepCopyObject() runtime.Object {
  237. if c := in.DeepCopy(); c != nil {
  238. return c
  239. }
  240. return nil
  241. }
  242. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  243. func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
  244. *out = *in
  245. in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
  246. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  247. return
  248. }
  249. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
  250. func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
  251. if in == nil {
  252. return nil
  253. }
  254. out := new(DeploymentCondition)
  255. in.DeepCopyInto(out)
  256. return out
  257. }
  258. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  259. func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
  260. *out = *in
  261. out.TypeMeta = in.TypeMeta
  262. out.ListMeta = in.ListMeta
  263. if in.Items != nil {
  264. in, out := &in.Items, &out.Items
  265. *out = make([]Deployment, len(*in))
  266. for i := range *in {
  267. (*in)[i].DeepCopyInto(&(*out)[i])
  268. }
  269. }
  270. return
  271. }
  272. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
  273. func (in *DeploymentList) DeepCopy() *DeploymentList {
  274. if in == nil {
  275. return nil
  276. }
  277. out := new(DeploymentList)
  278. in.DeepCopyInto(out)
  279. return out
  280. }
  281. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  282. func (in *DeploymentList) DeepCopyObject() runtime.Object {
  283. if c := in.DeepCopy(); c != nil {
  284. return c
  285. }
  286. return nil
  287. }
  288. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  289. func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
  290. *out = *in
  291. if in.Replicas != nil {
  292. in, out := &in.Replicas, &out.Replicas
  293. *out = new(int32)
  294. **out = **in
  295. }
  296. if in.Selector != nil {
  297. in, out := &in.Selector, &out.Selector
  298. *out = new(metav1.LabelSelector)
  299. (*in).DeepCopyInto(*out)
  300. }
  301. in.Template.DeepCopyInto(&out.Template)
  302. in.Strategy.DeepCopyInto(&out.Strategy)
  303. if in.RevisionHistoryLimit != nil {
  304. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  305. *out = new(int32)
  306. **out = **in
  307. }
  308. if in.ProgressDeadlineSeconds != nil {
  309. in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
  310. *out = new(int32)
  311. **out = **in
  312. }
  313. return
  314. }
  315. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
  316. func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
  317. if in == nil {
  318. return nil
  319. }
  320. out := new(DeploymentSpec)
  321. in.DeepCopyInto(out)
  322. return out
  323. }
  324. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  325. func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
  326. *out = *in
  327. if in.Conditions != nil {
  328. in, out := &in.Conditions, &out.Conditions
  329. *out = make([]DeploymentCondition, len(*in))
  330. for i := range *in {
  331. (*in)[i].DeepCopyInto(&(*out)[i])
  332. }
  333. }
  334. if in.CollisionCount != nil {
  335. in, out := &in.CollisionCount, &out.CollisionCount
  336. *out = new(int32)
  337. **out = **in
  338. }
  339. return
  340. }
  341. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
  342. func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
  343. if in == nil {
  344. return nil
  345. }
  346. out := new(DeploymentStatus)
  347. in.DeepCopyInto(out)
  348. return out
  349. }
  350. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  351. func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
  352. *out = *in
  353. if in.RollingUpdate != nil {
  354. in, out := &in.RollingUpdate, &out.RollingUpdate
  355. *out = new(RollingUpdateDeployment)
  356. (*in).DeepCopyInto(*out)
  357. }
  358. return
  359. }
  360. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
  361. func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
  362. if in == nil {
  363. return nil
  364. }
  365. out := new(DeploymentStrategy)
  366. in.DeepCopyInto(out)
  367. return out
  368. }
  369. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  370. func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) {
  371. *out = *in
  372. out.TypeMeta = in.TypeMeta
  373. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  374. in.Spec.DeepCopyInto(&out.Spec)
  375. in.Status.DeepCopyInto(&out.Status)
  376. return
  377. }
  378. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
  379. func (in *ReplicaSet) DeepCopy() *ReplicaSet {
  380. if in == nil {
  381. return nil
  382. }
  383. out := new(ReplicaSet)
  384. in.DeepCopyInto(out)
  385. return out
  386. }
  387. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  388. func (in *ReplicaSet) DeepCopyObject() runtime.Object {
  389. if c := in.DeepCopy(); c != nil {
  390. return c
  391. }
  392. return nil
  393. }
  394. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  395. func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) {
  396. *out = *in
  397. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  398. return
  399. }
  400. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition.
  401. func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition {
  402. if in == nil {
  403. return nil
  404. }
  405. out := new(ReplicaSetCondition)
  406. in.DeepCopyInto(out)
  407. return out
  408. }
  409. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  410. func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) {
  411. *out = *in
  412. out.TypeMeta = in.TypeMeta
  413. out.ListMeta = in.ListMeta
  414. if in.Items != nil {
  415. in, out := &in.Items, &out.Items
  416. *out = make([]ReplicaSet, len(*in))
  417. for i := range *in {
  418. (*in)[i].DeepCopyInto(&(*out)[i])
  419. }
  420. }
  421. return
  422. }
  423. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.
  424. func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
  425. if in == nil {
  426. return nil
  427. }
  428. out := new(ReplicaSetList)
  429. in.DeepCopyInto(out)
  430. return out
  431. }
  432. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  433. func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
  434. if c := in.DeepCopy(); c != nil {
  435. return c
  436. }
  437. return nil
  438. }
  439. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  440. func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) {
  441. *out = *in
  442. if in.Replicas != nil {
  443. in, out := &in.Replicas, &out.Replicas
  444. *out = new(int32)
  445. **out = **in
  446. }
  447. if in.Selector != nil {
  448. in, out := &in.Selector, &out.Selector
  449. *out = new(metav1.LabelSelector)
  450. (*in).DeepCopyInto(*out)
  451. }
  452. in.Template.DeepCopyInto(&out.Template)
  453. return
  454. }
  455. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
  456. func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec {
  457. if in == nil {
  458. return nil
  459. }
  460. out := new(ReplicaSetSpec)
  461. in.DeepCopyInto(out)
  462. return out
  463. }
  464. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  465. func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) {
  466. *out = *in
  467. if in.Conditions != nil {
  468. in, out := &in.Conditions, &out.Conditions
  469. *out = make([]ReplicaSetCondition, len(*in))
  470. for i := range *in {
  471. (*in)[i].DeepCopyInto(&(*out)[i])
  472. }
  473. }
  474. return
  475. }
  476. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
  477. func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus {
  478. if in == nil {
  479. return nil
  480. }
  481. out := new(ReplicaSetStatus)
  482. in.DeepCopyInto(out)
  483. return out
  484. }
  485. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  486. func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) {
  487. *out = *in
  488. if in.MaxUnavailable != nil {
  489. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  490. *out = new(intstr.IntOrString)
  491. **out = **in
  492. }
  493. return
  494. }
  495. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
  496. func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
  497. if in == nil {
  498. return nil
  499. }
  500. out := new(RollingUpdateDaemonSet)
  501. in.DeepCopyInto(out)
  502. return out
  503. }
  504. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  505. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  506. *out = *in
  507. if in.MaxUnavailable != nil {
  508. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  509. *out = new(intstr.IntOrString)
  510. **out = **in
  511. }
  512. if in.MaxSurge != nil {
  513. in, out := &in.MaxSurge, &out.MaxSurge
  514. *out = new(intstr.IntOrString)
  515. **out = **in
  516. }
  517. return
  518. }
  519. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  520. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  521. if in == nil {
  522. return nil
  523. }
  524. out := new(RollingUpdateDeployment)
  525. in.DeepCopyInto(out)
  526. return out
  527. }
  528. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  529. func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
  530. *out = *in
  531. if in.Partition != nil {
  532. in, out := &in.Partition, &out.Partition
  533. *out = new(int32)
  534. **out = **in
  535. }
  536. return
  537. }
  538. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  539. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  540. if in == nil {
  541. return nil
  542. }
  543. out := new(RollingUpdateStatefulSetStrategy)
  544. in.DeepCopyInto(out)
  545. return out
  546. }
  547. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  548. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  549. *out = *in
  550. out.TypeMeta = in.TypeMeta
  551. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  552. in.Spec.DeepCopyInto(&out.Spec)
  553. in.Status.DeepCopyInto(&out.Status)
  554. return
  555. }
  556. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  557. func (in *StatefulSet) DeepCopy() *StatefulSet {
  558. if in == nil {
  559. return nil
  560. }
  561. out := new(StatefulSet)
  562. in.DeepCopyInto(out)
  563. return out
  564. }
  565. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  566. func (in *StatefulSet) DeepCopyObject() runtime.Object {
  567. if c := in.DeepCopy(); c != nil {
  568. return c
  569. }
  570. return nil
  571. }
  572. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  573. func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  574. *out = *in
  575. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  576. return
  577. }
  578. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  579. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  580. if in == nil {
  581. return nil
  582. }
  583. out := new(StatefulSetCondition)
  584. in.DeepCopyInto(out)
  585. return out
  586. }
  587. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  588. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  589. *out = *in
  590. out.TypeMeta = in.TypeMeta
  591. out.ListMeta = in.ListMeta
  592. if in.Items != nil {
  593. in, out := &in.Items, &out.Items
  594. *out = make([]StatefulSet, len(*in))
  595. for i := range *in {
  596. (*in)[i].DeepCopyInto(&(*out)[i])
  597. }
  598. }
  599. return
  600. }
  601. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  602. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  603. if in == nil {
  604. return nil
  605. }
  606. out := new(StatefulSetList)
  607. in.DeepCopyInto(out)
  608. return out
  609. }
  610. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  611. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  612. if c := in.DeepCopy(); c != nil {
  613. return c
  614. }
  615. return nil
  616. }
  617. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  618. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  619. *out = *in
  620. if in.Replicas != nil {
  621. in, out := &in.Replicas, &out.Replicas
  622. *out = new(int32)
  623. **out = **in
  624. }
  625. if in.Selector != nil {
  626. in, out := &in.Selector, &out.Selector
  627. *out = new(metav1.LabelSelector)
  628. (*in).DeepCopyInto(*out)
  629. }
  630. in.Template.DeepCopyInto(&out.Template)
  631. if in.VolumeClaimTemplates != nil {
  632. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  633. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  634. for i := range *in {
  635. (*in)[i].DeepCopyInto(&(*out)[i])
  636. }
  637. }
  638. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  639. if in.RevisionHistoryLimit != nil {
  640. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  641. *out = new(int32)
  642. **out = **in
  643. }
  644. return
  645. }
  646. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  647. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  648. if in == nil {
  649. return nil
  650. }
  651. out := new(StatefulSetSpec)
  652. in.DeepCopyInto(out)
  653. return out
  654. }
  655. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  656. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  657. *out = *in
  658. if in.CollisionCount != nil {
  659. in, out := &in.CollisionCount, &out.CollisionCount
  660. *out = new(int32)
  661. **out = **in
  662. }
  663. if in.Conditions != nil {
  664. in, out := &in.Conditions, &out.Conditions
  665. *out = make([]StatefulSetCondition, len(*in))
  666. for i := range *in {
  667. (*in)[i].DeepCopyInto(&(*out)[i])
  668. }
  669. }
  670. return
  671. }
  672. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  673. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  674. if in == nil {
  675. return nil
  676. }
  677. out := new(StatefulSetStatus)
  678. in.DeepCopyInto(out)
  679. return out
  680. }
  681. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  682. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  683. *out = *in
  684. if in.RollingUpdate != nil {
  685. in, out := &in.RollingUpdate, &out.RollingUpdate
  686. *out = new(RollingUpdateStatefulSetStrategy)
  687. (*in).DeepCopyInto(*out)
  688. }
  689. return
  690. }
  691. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  692. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  693. if in == nil {
  694. return nil
  695. }
  696. out := new(StatefulSetUpdateStrategy)
  697. in.DeepCopyInto(out)
  698. return out
  699. }