zz_generated.deepcopy.go 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  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. if in.MaxSurge != nil {
  494. in, out := &in.MaxSurge, &out.MaxSurge
  495. *out = new(intstr.IntOrString)
  496. **out = **in
  497. }
  498. return
  499. }
  500. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet.
  501. func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet {
  502. if in == nil {
  503. return nil
  504. }
  505. out := new(RollingUpdateDaemonSet)
  506. in.DeepCopyInto(out)
  507. return out
  508. }
  509. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  510. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  511. *out = *in
  512. if in.MaxUnavailable != nil {
  513. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  514. *out = new(intstr.IntOrString)
  515. **out = **in
  516. }
  517. if in.MaxSurge != nil {
  518. in, out := &in.MaxSurge, &out.MaxSurge
  519. *out = new(intstr.IntOrString)
  520. **out = **in
  521. }
  522. return
  523. }
  524. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  525. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  526. if in == nil {
  527. return nil
  528. }
  529. out := new(RollingUpdateDeployment)
  530. in.DeepCopyInto(out)
  531. return out
  532. }
  533. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  534. func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
  535. *out = *in
  536. if in.Partition != nil {
  537. in, out := &in.Partition, &out.Partition
  538. *out = new(int32)
  539. **out = **in
  540. }
  541. return
  542. }
  543. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  544. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  545. if in == nil {
  546. return nil
  547. }
  548. out := new(RollingUpdateStatefulSetStrategy)
  549. in.DeepCopyInto(out)
  550. return out
  551. }
  552. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  553. func (in *Scale) DeepCopyInto(out *Scale) {
  554. *out = *in
  555. out.TypeMeta = in.TypeMeta
  556. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  557. out.Spec = in.Spec
  558. in.Status.DeepCopyInto(&out.Status)
  559. return
  560. }
  561. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  562. func (in *Scale) DeepCopy() *Scale {
  563. if in == nil {
  564. return nil
  565. }
  566. out := new(Scale)
  567. in.DeepCopyInto(out)
  568. return out
  569. }
  570. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  571. func (in *Scale) DeepCopyObject() runtime.Object {
  572. if c := in.DeepCopy(); c != nil {
  573. return c
  574. }
  575. return nil
  576. }
  577. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  578. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  579. *out = *in
  580. return
  581. }
  582. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  583. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  584. if in == nil {
  585. return nil
  586. }
  587. out := new(ScaleSpec)
  588. in.DeepCopyInto(out)
  589. return out
  590. }
  591. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  592. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  593. *out = *in
  594. if in.Selector != nil {
  595. in, out := &in.Selector, &out.Selector
  596. *out = make(map[string]string, len(*in))
  597. for key, val := range *in {
  598. (*out)[key] = val
  599. }
  600. }
  601. return
  602. }
  603. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  604. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  605. if in == nil {
  606. return nil
  607. }
  608. out := new(ScaleStatus)
  609. in.DeepCopyInto(out)
  610. return out
  611. }
  612. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  613. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  614. *out = *in
  615. out.TypeMeta = in.TypeMeta
  616. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  617. in.Spec.DeepCopyInto(&out.Spec)
  618. in.Status.DeepCopyInto(&out.Status)
  619. return
  620. }
  621. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  622. func (in *StatefulSet) DeepCopy() *StatefulSet {
  623. if in == nil {
  624. return nil
  625. }
  626. out := new(StatefulSet)
  627. in.DeepCopyInto(out)
  628. return out
  629. }
  630. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  631. func (in *StatefulSet) DeepCopyObject() runtime.Object {
  632. if c := in.DeepCopy(); c != nil {
  633. return c
  634. }
  635. return nil
  636. }
  637. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  638. func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  639. *out = *in
  640. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  641. return
  642. }
  643. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  644. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  645. if in == nil {
  646. return nil
  647. }
  648. out := new(StatefulSetCondition)
  649. in.DeepCopyInto(out)
  650. return out
  651. }
  652. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  653. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  654. *out = *in
  655. out.TypeMeta = in.TypeMeta
  656. in.ListMeta.DeepCopyInto(&out.ListMeta)
  657. if in.Items != nil {
  658. in, out := &in.Items, &out.Items
  659. *out = make([]StatefulSet, len(*in))
  660. for i := range *in {
  661. (*in)[i].DeepCopyInto(&(*out)[i])
  662. }
  663. }
  664. return
  665. }
  666. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  667. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  668. if in == nil {
  669. return nil
  670. }
  671. out := new(StatefulSetList)
  672. in.DeepCopyInto(out)
  673. return out
  674. }
  675. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  676. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  677. if c := in.DeepCopy(); c != nil {
  678. return c
  679. }
  680. return nil
  681. }
  682. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  683. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  684. *out = *in
  685. if in.Replicas != nil {
  686. in, out := &in.Replicas, &out.Replicas
  687. *out = new(int32)
  688. **out = **in
  689. }
  690. if in.Selector != nil {
  691. in, out := &in.Selector, &out.Selector
  692. *out = new(v1.LabelSelector)
  693. (*in).DeepCopyInto(*out)
  694. }
  695. in.Template.DeepCopyInto(&out.Template)
  696. if in.VolumeClaimTemplates != nil {
  697. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  698. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  699. for i := range *in {
  700. (*in)[i].DeepCopyInto(&(*out)[i])
  701. }
  702. }
  703. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  704. if in.RevisionHistoryLimit != nil {
  705. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  706. *out = new(int32)
  707. **out = **in
  708. }
  709. return
  710. }
  711. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  712. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  713. if in == nil {
  714. return nil
  715. }
  716. out := new(StatefulSetSpec)
  717. in.DeepCopyInto(out)
  718. return out
  719. }
  720. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  721. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  722. *out = *in
  723. if in.CollisionCount != nil {
  724. in, out := &in.CollisionCount, &out.CollisionCount
  725. *out = new(int32)
  726. **out = **in
  727. }
  728. if in.Conditions != nil {
  729. in, out := &in.Conditions, &out.Conditions
  730. *out = make([]StatefulSetCondition, len(*in))
  731. for i := range *in {
  732. (*in)[i].DeepCopyInto(&(*out)[i])
  733. }
  734. }
  735. return
  736. }
  737. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  738. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  739. if in == nil {
  740. return nil
  741. }
  742. out := new(StatefulSetStatus)
  743. in.DeepCopyInto(out)
  744. return out
  745. }
  746. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  747. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  748. *out = *in
  749. if in.RollingUpdate != nil {
  750. in, out := &in.RollingUpdate, &out.RollingUpdate
  751. *out = new(RollingUpdateStatefulSetStrategy)
  752. (*in).DeepCopyInto(*out)
  753. }
  754. return
  755. }
  756. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  757. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  758. if in == nil {
  759. return nil
  760. }
  761. out := new(StatefulSetUpdateStrategy)
  762. in.DeepCopyInto(out)
  763. return out
  764. }