zz_generated.deepcopy.go 26 KB

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