zz_generated.deepcopy.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  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 v1beta1
  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 *Deployment) DeepCopyInto(out *Deployment) {
  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 Deployment.
  86. func (in *Deployment) DeepCopy() *Deployment {
  87. if in == nil {
  88. return nil
  89. }
  90. out := new(Deployment)
  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 *Deployment) 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 *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
  103. *out = *in
  104. in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
  105. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  106. return
  107. }
  108. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
  109. func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
  110. if in == nil {
  111. return nil
  112. }
  113. out := new(DeploymentCondition)
  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 *DeploymentList) DeepCopyInto(out *DeploymentList) {
  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([]Deployment, 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 DeploymentList.
  132. func (in *DeploymentList) DeepCopy() *DeploymentList {
  133. if in == nil {
  134. return nil
  135. }
  136. out := new(DeploymentList)
  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 *DeploymentList) 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 *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
  149. *out = *in
  150. out.TypeMeta = in.TypeMeta
  151. if in.UpdatedAnnotations != nil {
  152. in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
  153. *out = make(map[string]string, len(*in))
  154. for key, val := range *in {
  155. (*out)[key] = val
  156. }
  157. }
  158. out.RollbackTo = in.RollbackTo
  159. return
  160. }
  161. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
  162. func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
  163. if in == nil {
  164. return nil
  165. }
  166. out := new(DeploymentRollback)
  167. in.DeepCopyInto(out)
  168. return out
  169. }
  170. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  171. func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
  172. if c := in.DeepCopy(); c != nil {
  173. return c
  174. }
  175. return nil
  176. }
  177. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  178. func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
  179. *out = *in
  180. if in.Replicas != nil {
  181. in, out := &in.Replicas, &out.Replicas
  182. *out = new(int32)
  183. **out = **in
  184. }
  185. if in.Selector != nil {
  186. in, out := &in.Selector, &out.Selector
  187. *out = new(v1.LabelSelector)
  188. (*in).DeepCopyInto(*out)
  189. }
  190. in.Template.DeepCopyInto(&out.Template)
  191. in.Strategy.DeepCopyInto(&out.Strategy)
  192. if in.RevisionHistoryLimit != nil {
  193. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  194. *out = new(int32)
  195. **out = **in
  196. }
  197. if in.RollbackTo != nil {
  198. in, out := &in.RollbackTo, &out.RollbackTo
  199. *out = new(RollbackConfig)
  200. **out = **in
  201. }
  202. if in.ProgressDeadlineSeconds != nil {
  203. in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
  204. *out = new(int32)
  205. **out = **in
  206. }
  207. return
  208. }
  209. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
  210. func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
  211. if in == nil {
  212. return nil
  213. }
  214. out := new(DeploymentSpec)
  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 *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
  220. *out = *in
  221. if in.Conditions != nil {
  222. in, out := &in.Conditions, &out.Conditions
  223. *out = make([]DeploymentCondition, len(*in))
  224. for i := range *in {
  225. (*in)[i].DeepCopyInto(&(*out)[i])
  226. }
  227. }
  228. if in.CollisionCount != nil {
  229. in, out := &in.CollisionCount, &out.CollisionCount
  230. *out = new(int32)
  231. **out = **in
  232. }
  233. return
  234. }
  235. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
  236. func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
  237. if in == nil {
  238. return nil
  239. }
  240. out := new(DeploymentStatus)
  241. in.DeepCopyInto(out)
  242. return out
  243. }
  244. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  245. func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
  246. *out = *in
  247. if in.RollingUpdate != nil {
  248. in, out := &in.RollingUpdate, &out.RollingUpdate
  249. *out = new(RollingUpdateDeployment)
  250. (*in).DeepCopyInto(*out)
  251. }
  252. return
  253. }
  254. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
  255. func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
  256. if in == nil {
  257. return nil
  258. }
  259. out := new(DeploymentStrategy)
  260. in.DeepCopyInto(out)
  261. return out
  262. }
  263. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  264. func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
  265. *out = *in
  266. return
  267. }
  268. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
  269. func (in *RollbackConfig) DeepCopy() *RollbackConfig {
  270. if in == nil {
  271. return nil
  272. }
  273. out := new(RollbackConfig)
  274. in.DeepCopyInto(out)
  275. return out
  276. }
  277. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  278. func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
  279. *out = *in
  280. if in.MaxUnavailable != nil {
  281. in, out := &in.MaxUnavailable, &out.MaxUnavailable
  282. *out = new(intstr.IntOrString)
  283. **out = **in
  284. }
  285. if in.MaxSurge != nil {
  286. in, out := &in.MaxSurge, &out.MaxSurge
  287. *out = new(intstr.IntOrString)
  288. **out = **in
  289. }
  290. return
  291. }
  292. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
  293. func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
  294. if in == nil {
  295. return nil
  296. }
  297. out := new(RollingUpdateDeployment)
  298. in.DeepCopyInto(out)
  299. return out
  300. }
  301. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  302. func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
  303. *out = *in
  304. if in.Partition != nil {
  305. in, out := &in.Partition, &out.Partition
  306. *out = new(int32)
  307. **out = **in
  308. }
  309. return
  310. }
  311. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
  312. func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
  313. if in == nil {
  314. return nil
  315. }
  316. out := new(RollingUpdateStatefulSetStrategy)
  317. in.DeepCopyInto(out)
  318. return out
  319. }
  320. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  321. func (in *Scale) DeepCopyInto(out *Scale) {
  322. *out = *in
  323. out.TypeMeta = in.TypeMeta
  324. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  325. out.Spec = in.Spec
  326. in.Status.DeepCopyInto(&out.Status)
  327. return
  328. }
  329. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
  330. func (in *Scale) DeepCopy() *Scale {
  331. if in == nil {
  332. return nil
  333. }
  334. out := new(Scale)
  335. in.DeepCopyInto(out)
  336. return out
  337. }
  338. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  339. func (in *Scale) DeepCopyObject() runtime.Object {
  340. if c := in.DeepCopy(); c != nil {
  341. return c
  342. }
  343. return nil
  344. }
  345. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  346. func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
  347. *out = *in
  348. return
  349. }
  350. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
  351. func (in *ScaleSpec) DeepCopy() *ScaleSpec {
  352. if in == nil {
  353. return nil
  354. }
  355. out := new(ScaleSpec)
  356. in.DeepCopyInto(out)
  357. return out
  358. }
  359. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  360. func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
  361. *out = *in
  362. if in.Selector != nil {
  363. in, out := &in.Selector, &out.Selector
  364. *out = make(map[string]string, len(*in))
  365. for key, val := range *in {
  366. (*out)[key] = val
  367. }
  368. }
  369. return
  370. }
  371. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
  372. func (in *ScaleStatus) DeepCopy() *ScaleStatus {
  373. if in == nil {
  374. return nil
  375. }
  376. out := new(ScaleStatus)
  377. in.DeepCopyInto(out)
  378. return out
  379. }
  380. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  381. func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
  382. *out = *in
  383. out.TypeMeta = in.TypeMeta
  384. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  385. in.Spec.DeepCopyInto(&out.Spec)
  386. in.Status.DeepCopyInto(&out.Status)
  387. return
  388. }
  389. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
  390. func (in *StatefulSet) DeepCopy() *StatefulSet {
  391. if in == nil {
  392. return nil
  393. }
  394. out := new(StatefulSet)
  395. in.DeepCopyInto(out)
  396. return out
  397. }
  398. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  399. func (in *StatefulSet) DeepCopyObject() runtime.Object {
  400. if c := in.DeepCopy(); c != nil {
  401. return c
  402. }
  403. return nil
  404. }
  405. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  406. func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
  407. *out = *in
  408. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  409. return
  410. }
  411. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
  412. func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
  413. if in == nil {
  414. return nil
  415. }
  416. out := new(StatefulSetCondition)
  417. in.DeepCopyInto(out)
  418. return out
  419. }
  420. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  421. func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
  422. *out = *in
  423. out.TypeMeta = in.TypeMeta
  424. in.ListMeta.DeepCopyInto(&out.ListMeta)
  425. if in.Items != nil {
  426. in, out := &in.Items, &out.Items
  427. *out = make([]StatefulSet, len(*in))
  428. for i := range *in {
  429. (*in)[i].DeepCopyInto(&(*out)[i])
  430. }
  431. }
  432. return
  433. }
  434. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
  435. func (in *StatefulSetList) DeepCopy() *StatefulSetList {
  436. if in == nil {
  437. return nil
  438. }
  439. out := new(StatefulSetList)
  440. in.DeepCopyInto(out)
  441. return out
  442. }
  443. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  444. func (in *StatefulSetList) DeepCopyObject() runtime.Object {
  445. if c := in.DeepCopy(); c != nil {
  446. return c
  447. }
  448. return nil
  449. }
  450. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  451. func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
  452. *out = *in
  453. if in.Replicas != nil {
  454. in, out := &in.Replicas, &out.Replicas
  455. *out = new(int32)
  456. **out = **in
  457. }
  458. if in.Selector != nil {
  459. in, out := &in.Selector, &out.Selector
  460. *out = new(v1.LabelSelector)
  461. (*in).DeepCopyInto(*out)
  462. }
  463. in.Template.DeepCopyInto(&out.Template)
  464. if in.VolumeClaimTemplates != nil {
  465. in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
  466. *out = make([]corev1.PersistentVolumeClaim, len(*in))
  467. for i := range *in {
  468. (*in)[i].DeepCopyInto(&(*out)[i])
  469. }
  470. }
  471. in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
  472. if in.RevisionHistoryLimit != nil {
  473. in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
  474. *out = new(int32)
  475. **out = **in
  476. }
  477. return
  478. }
  479. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
  480. func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
  481. if in == nil {
  482. return nil
  483. }
  484. out := new(StatefulSetSpec)
  485. in.DeepCopyInto(out)
  486. return out
  487. }
  488. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  489. func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
  490. *out = *in
  491. if in.ObservedGeneration != nil {
  492. in, out := &in.ObservedGeneration, &out.ObservedGeneration
  493. *out = new(int64)
  494. **out = **in
  495. }
  496. if in.CollisionCount != nil {
  497. in, out := &in.CollisionCount, &out.CollisionCount
  498. *out = new(int32)
  499. **out = **in
  500. }
  501. if in.Conditions != nil {
  502. in, out := &in.Conditions, &out.Conditions
  503. *out = make([]StatefulSetCondition, len(*in))
  504. for i := range *in {
  505. (*in)[i].DeepCopyInto(&(*out)[i])
  506. }
  507. }
  508. return
  509. }
  510. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
  511. func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
  512. if in == nil {
  513. return nil
  514. }
  515. out := new(StatefulSetStatus)
  516. in.DeepCopyInto(out)
  517. return out
  518. }
  519. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  520. func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
  521. *out = *in
  522. if in.RollingUpdate != nil {
  523. in, out := &in.RollingUpdate, &out.RollingUpdate
  524. *out = new(RollingUpdateStatefulSetStrategy)
  525. (*in).DeepCopyInto(*out)
  526. }
  527. return
  528. }
  529. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
  530. func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
  531. if in == nil {
  532. return nil
  533. }
  534. out := new(StatefulSetUpdateStrategy)
  535. in.DeepCopyInto(out)
  536. return out
  537. }