zz_generated.deepcopy.go 24 KB

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