zz_generated.deepcopy.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  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 v1beta3
  17. import (
  18. runtime "k8s.io/apimachinery/pkg/runtime"
  19. )
  20. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  21. func (in *ExemptPriorityLevelConfiguration) DeepCopyInto(out *ExemptPriorityLevelConfiguration) {
  22. *out = *in
  23. if in.NominalConcurrencyShares != nil {
  24. in, out := &in.NominalConcurrencyShares, &out.NominalConcurrencyShares
  25. *out = new(int32)
  26. **out = **in
  27. }
  28. if in.LendablePercent != nil {
  29. in, out := &in.LendablePercent, &out.LendablePercent
  30. *out = new(int32)
  31. **out = **in
  32. }
  33. return
  34. }
  35. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExemptPriorityLevelConfiguration.
  36. func (in *ExemptPriorityLevelConfiguration) DeepCopy() *ExemptPriorityLevelConfiguration {
  37. if in == nil {
  38. return nil
  39. }
  40. out := new(ExemptPriorityLevelConfiguration)
  41. in.DeepCopyInto(out)
  42. return out
  43. }
  44. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  45. func (in *FlowDistinguisherMethod) DeepCopyInto(out *FlowDistinguisherMethod) {
  46. *out = *in
  47. return
  48. }
  49. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowDistinguisherMethod.
  50. func (in *FlowDistinguisherMethod) DeepCopy() *FlowDistinguisherMethod {
  51. if in == nil {
  52. return nil
  53. }
  54. out := new(FlowDistinguisherMethod)
  55. in.DeepCopyInto(out)
  56. return out
  57. }
  58. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  59. func (in *FlowSchema) DeepCopyInto(out *FlowSchema) {
  60. *out = *in
  61. out.TypeMeta = in.TypeMeta
  62. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  63. in.Spec.DeepCopyInto(&out.Spec)
  64. in.Status.DeepCopyInto(&out.Status)
  65. return
  66. }
  67. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowSchema.
  68. func (in *FlowSchema) DeepCopy() *FlowSchema {
  69. if in == nil {
  70. return nil
  71. }
  72. out := new(FlowSchema)
  73. in.DeepCopyInto(out)
  74. return out
  75. }
  76. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  77. func (in *FlowSchema) DeepCopyObject() runtime.Object {
  78. if c := in.DeepCopy(); c != nil {
  79. return c
  80. }
  81. return nil
  82. }
  83. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  84. func (in *FlowSchemaCondition) DeepCopyInto(out *FlowSchemaCondition) {
  85. *out = *in
  86. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  87. return
  88. }
  89. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowSchemaCondition.
  90. func (in *FlowSchemaCondition) DeepCopy() *FlowSchemaCondition {
  91. if in == nil {
  92. return nil
  93. }
  94. out := new(FlowSchemaCondition)
  95. in.DeepCopyInto(out)
  96. return out
  97. }
  98. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  99. func (in *FlowSchemaList) DeepCopyInto(out *FlowSchemaList) {
  100. *out = *in
  101. out.TypeMeta = in.TypeMeta
  102. in.ListMeta.DeepCopyInto(&out.ListMeta)
  103. if in.Items != nil {
  104. in, out := &in.Items, &out.Items
  105. *out = make([]FlowSchema, len(*in))
  106. for i := range *in {
  107. (*in)[i].DeepCopyInto(&(*out)[i])
  108. }
  109. }
  110. return
  111. }
  112. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowSchemaList.
  113. func (in *FlowSchemaList) DeepCopy() *FlowSchemaList {
  114. if in == nil {
  115. return nil
  116. }
  117. out := new(FlowSchemaList)
  118. in.DeepCopyInto(out)
  119. return out
  120. }
  121. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  122. func (in *FlowSchemaList) DeepCopyObject() runtime.Object {
  123. if c := in.DeepCopy(); c != nil {
  124. return c
  125. }
  126. return nil
  127. }
  128. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  129. func (in *FlowSchemaSpec) DeepCopyInto(out *FlowSchemaSpec) {
  130. *out = *in
  131. out.PriorityLevelConfiguration = in.PriorityLevelConfiguration
  132. if in.DistinguisherMethod != nil {
  133. in, out := &in.DistinguisherMethod, &out.DistinguisherMethod
  134. *out = new(FlowDistinguisherMethod)
  135. **out = **in
  136. }
  137. if in.Rules != nil {
  138. in, out := &in.Rules, &out.Rules
  139. *out = make([]PolicyRulesWithSubjects, len(*in))
  140. for i := range *in {
  141. (*in)[i].DeepCopyInto(&(*out)[i])
  142. }
  143. }
  144. return
  145. }
  146. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowSchemaSpec.
  147. func (in *FlowSchemaSpec) DeepCopy() *FlowSchemaSpec {
  148. if in == nil {
  149. return nil
  150. }
  151. out := new(FlowSchemaSpec)
  152. in.DeepCopyInto(out)
  153. return out
  154. }
  155. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  156. func (in *FlowSchemaStatus) DeepCopyInto(out *FlowSchemaStatus) {
  157. *out = *in
  158. if in.Conditions != nil {
  159. in, out := &in.Conditions, &out.Conditions
  160. *out = make([]FlowSchemaCondition, len(*in))
  161. for i := range *in {
  162. (*in)[i].DeepCopyInto(&(*out)[i])
  163. }
  164. }
  165. return
  166. }
  167. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlowSchemaStatus.
  168. func (in *FlowSchemaStatus) DeepCopy() *FlowSchemaStatus {
  169. if in == nil {
  170. return nil
  171. }
  172. out := new(FlowSchemaStatus)
  173. in.DeepCopyInto(out)
  174. return out
  175. }
  176. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  177. func (in *GroupSubject) DeepCopyInto(out *GroupSubject) {
  178. *out = *in
  179. return
  180. }
  181. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSubject.
  182. func (in *GroupSubject) DeepCopy() *GroupSubject {
  183. if in == nil {
  184. return nil
  185. }
  186. out := new(GroupSubject)
  187. in.DeepCopyInto(out)
  188. return out
  189. }
  190. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  191. func (in *LimitResponse) DeepCopyInto(out *LimitResponse) {
  192. *out = *in
  193. if in.Queuing != nil {
  194. in, out := &in.Queuing, &out.Queuing
  195. *out = new(QueuingConfiguration)
  196. **out = **in
  197. }
  198. return
  199. }
  200. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitResponse.
  201. func (in *LimitResponse) DeepCopy() *LimitResponse {
  202. if in == nil {
  203. return nil
  204. }
  205. out := new(LimitResponse)
  206. in.DeepCopyInto(out)
  207. return out
  208. }
  209. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  210. func (in *LimitedPriorityLevelConfiguration) DeepCopyInto(out *LimitedPriorityLevelConfiguration) {
  211. *out = *in
  212. in.LimitResponse.DeepCopyInto(&out.LimitResponse)
  213. if in.LendablePercent != nil {
  214. in, out := &in.LendablePercent, &out.LendablePercent
  215. *out = new(int32)
  216. **out = **in
  217. }
  218. if in.BorrowingLimitPercent != nil {
  219. in, out := &in.BorrowingLimitPercent, &out.BorrowingLimitPercent
  220. *out = new(int32)
  221. **out = **in
  222. }
  223. return
  224. }
  225. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedPriorityLevelConfiguration.
  226. func (in *LimitedPriorityLevelConfiguration) DeepCopy() *LimitedPriorityLevelConfiguration {
  227. if in == nil {
  228. return nil
  229. }
  230. out := new(LimitedPriorityLevelConfiguration)
  231. in.DeepCopyInto(out)
  232. return out
  233. }
  234. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  235. func (in *NonResourcePolicyRule) DeepCopyInto(out *NonResourcePolicyRule) {
  236. *out = *in
  237. if in.Verbs != nil {
  238. in, out := &in.Verbs, &out.Verbs
  239. *out = make([]string, len(*in))
  240. copy(*out, *in)
  241. }
  242. if in.NonResourceURLs != nil {
  243. in, out := &in.NonResourceURLs, &out.NonResourceURLs
  244. *out = make([]string, len(*in))
  245. copy(*out, *in)
  246. }
  247. return
  248. }
  249. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourcePolicyRule.
  250. func (in *NonResourcePolicyRule) DeepCopy() *NonResourcePolicyRule {
  251. if in == nil {
  252. return nil
  253. }
  254. out := new(NonResourcePolicyRule)
  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 *PolicyRulesWithSubjects) DeepCopyInto(out *PolicyRulesWithSubjects) {
  260. *out = *in
  261. if in.Subjects != nil {
  262. in, out := &in.Subjects, &out.Subjects
  263. *out = make([]Subject, len(*in))
  264. for i := range *in {
  265. (*in)[i].DeepCopyInto(&(*out)[i])
  266. }
  267. }
  268. if in.ResourceRules != nil {
  269. in, out := &in.ResourceRules, &out.ResourceRules
  270. *out = make([]ResourcePolicyRule, len(*in))
  271. for i := range *in {
  272. (*in)[i].DeepCopyInto(&(*out)[i])
  273. }
  274. }
  275. if in.NonResourceRules != nil {
  276. in, out := &in.NonResourceRules, &out.NonResourceRules
  277. *out = make([]NonResourcePolicyRule, len(*in))
  278. for i := range *in {
  279. (*in)[i].DeepCopyInto(&(*out)[i])
  280. }
  281. }
  282. return
  283. }
  284. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRulesWithSubjects.
  285. func (in *PolicyRulesWithSubjects) DeepCopy() *PolicyRulesWithSubjects {
  286. if in == nil {
  287. return nil
  288. }
  289. out := new(PolicyRulesWithSubjects)
  290. in.DeepCopyInto(out)
  291. return out
  292. }
  293. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  294. func (in *PriorityLevelConfiguration) DeepCopyInto(out *PriorityLevelConfiguration) {
  295. *out = *in
  296. out.TypeMeta = in.TypeMeta
  297. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  298. in.Spec.DeepCopyInto(&out.Spec)
  299. in.Status.DeepCopyInto(&out.Status)
  300. return
  301. }
  302. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfiguration.
  303. func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
  304. if in == nil {
  305. return nil
  306. }
  307. out := new(PriorityLevelConfiguration)
  308. in.DeepCopyInto(out)
  309. return out
  310. }
  311. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  312. func (in *PriorityLevelConfiguration) DeepCopyObject() runtime.Object {
  313. if c := in.DeepCopy(); c != nil {
  314. return c
  315. }
  316. return nil
  317. }
  318. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  319. func (in *PriorityLevelConfigurationCondition) DeepCopyInto(out *PriorityLevelConfigurationCondition) {
  320. *out = *in
  321. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  322. return
  323. }
  324. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfigurationCondition.
  325. func (in *PriorityLevelConfigurationCondition) DeepCopy() *PriorityLevelConfigurationCondition {
  326. if in == nil {
  327. return nil
  328. }
  329. out := new(PriorityLevelConfigurationCondition)
  330. in.DeepCopyInto(out)
  331. return out
  332. }
  333. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  334. func (in *PriorityLevelConfigurationList) DeepCopyInto(out *PriorityLevelConfigurationList) {
  335. *out = *in
  336. out.TypeMeta = in.TypeMeta
  337. in.ListMeta.DeepCopyInto(&out.ListMeta)
  338. if in.Items != nil {
  339. in, out := &in.Items, &out.Items
  340. *out = make([]PriorityLevelConfiguration, len(*in))
  341. for i := range *in {
  342. (*in)[i].DeepCopyInto(&(*out)[i])
  343. }
  344. }
  345. return
  346. }
  347. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfigurationList.
  348. func (in *PriorityLevelConfigurationList) DeepCopy() *PriorityLevelConfigurationList {
  349. if in == nil {
  350. return nil
  351. }
  352. out := new(PriorityLevelConfigurationList)
  353. in.DeepCopyInto(out)
  354. return out
  355. }
  356. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  357. func (in *PriorityLevelConfigurationList) DeepCopyObject() runtime.Object {
  358. if c := in.DeepCopy(); c != nil {
  359. return c
  360. }
  361. return nil
  362. }
  363. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  364. func (in *PriorityLevelConfigurationReference) DeepCopyInto(out *PriorityLevelConfigurationReference) {
  365. *out = *in
  366. return
  367. }
  368. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfigurationReference.
  369. func (in *PriorityLevelConfigurationReference) DeepCopy() *PriorityLevelConfigurationReference {
  370. if in == nil {
  371. return nil
  372. }
  373. out := new(PriorityLevelConfigurationReference)
  374. in.DeepCopyInto(out)
  375. return out
  376. }
  377. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  378. func (in *PriorityLevelConfigurationSpec) DeepCopyInto(out *PriorityLevelConfigurationSpec) {
  379. *out = *in
  380. if in.Limited != nil {
  381. in, out := &in.Limited, &out.Limited
  382. *out = new(LimitedPriorityLevelConfiguration)
  383. (*in).DeepCopyInto(*out)
  384. }
  385. if in.Exempt != nil {
  386. in, out := &in.Exempt, &out.Exempt
  387. *out = new(ExemptPriorityLevelConfiguration)
  388. (*in).DeepCopyInto(*out)
  389. }
  390. return
  391. }
  392. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfigurationSpec.
  393. func (in *PriorityLevelConfigurationSpec) DeepCopy() *PriorityLevelConfigurationSpec {
  394. if in == nil {
  395. return nil
  396. }
  397. out := new(PriorityLevelConfigurationSpec)
  398. in.DeepCopyInto(out)
  399. return out
  400. }
  401. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  402. func (in *PriorityLevelConfigurationStatus) DeepCopyInto(out *PriorityLevelConfigurationStatus) {
  403. *out = *in
  404. if in.Conditions != nil {
  405. in, out := &in.Conditions, &out.Conditions
  406. *out = make([]PriorityLevelConfigurationCondition, len(*in))
  407. for i := range *in {
  408. (*in)[i].DeepCopyInto(&(*out)[i])
  409. }
  410. }
  411. return
  412. }
  413. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfigurationStatus.
  414. func (in *PriorityLevelConfigurationStatus) DeepCopy() *PriorityLevelConfigurationStatus {
  415. if in == nil {
  416. return nil
  417. }
  418. out := new(PriorityLevelConfigurationStatus)
  419. in.DeepCopyInto(out)
  420. return out
  421. }
  422. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  423. func (in *QueuingConfiguration) DeepCopyInto(out *QueuingConfiguration) {
  424. *out = *in
  425. return
  426. }
  427. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueuingConfiguration.
  428. func (in *QueuingConfiguration) DeepCopy() *QueuingConfiguration {
  429. if in == nil {
  430. return nil
  431. }
  432. out := new(QueuingConfiguration)
  433. in.DeepCopyInto(out)
  434. return out
  435. }
  436. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  437. func (in *ResourcePolicyRule) DeepCopyInto(out *ResourcePolicyRule) {
  438. *out = *in
  439. if in.Verbs != nil {
  440. in, out := &in.Verbs, &out.Verbs
  441. *out = make([]string, len(*in))
  442. copy(*out, *in)
  443. }
  444. if in.APIGroups != nil {
  445. in, out := &in.APIGroups, &out.APIGroups
  446. *out = make([]string, len(*in))
  447. copy(*out, *in)
  448. }
  449. if in.Resources != nil {
  450. in, out := &in.Resources, &out.Resources
  451. *out = make([]string, len(*in))
  452. copy(*out, *in)
  453. }
  454. if in.Namespaces != nil {
  455. in, out := &in.Namespaces, &out.Namespaces
  456. *out = make([]string, len(*in))
  457. copy(*out, *in)
  458. }
  459. return
  460. }
  461. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyRule.
  462. func (in *ResourcePolicyRule) DeepCopy() *ResourcePolicyRule {
  463. if in == nil {
  464. return nil
  465. }
  466. out := new(ResourcePolicyRule)
  467. in.DeepCopyInto(out)
  468. return out
  469. }
  470. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  471. func (in *ServiceAccountSubject) DeepCopyInto(out *ServiceAccountSubject) {
  472. *out = *in
  473. return
  474. }
  475. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountSubject.
  476. func (in *ServiceAccountSubject) DeepCopy() *ServiceAccountSubject {
  477. if in == nil {
  478. return nil
  479. }
  480. out := new(ServiceAccountSubject)
  481. in.DeepCopyInto(out)
  482. return out
  483. }
  484. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  485. func (in *Subject) DeepCopyInto(out *Subject) {
  486. *out = *in
  487. if in.User != nil {
  488. in, out := &in.User, &out.User
  489. *out = new(UserSubject)
  490. **out = **in
  491. }
  492. if in.Group != nil {
  493. in, out := &in.Group, &out.Group
  494. *out = new(GroupSubject)
  495. **out = **in
  496. }
  497. if in.ServiceAccount != nil {
  498. in, out := &in.ServiceAccount, &out.ServiceAccount
  499. *out = new(ServiceAccountSubject)
  500. **out = **in
  501. }
  502. return
  503. }
  504. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
  505. func (in *Subject) DeepCopy() *Subject {
  506. if in == nil {
  507. return nil
  508. }
  509. out := new(Subject)
  510. in.DeepCopyInto(out)
  511. return out
  512. }
  513. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  514. func (in *UserSubject) DeepCopyInto(out *UserSubject) {
  515. *out = *in
  516. return
  517. }
  518. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSubject.
  519. func (in *UserSubject) DeepCopy() *UserSubject {
  520. if in == nil {
  521. return nil
  522. }
  523. out := new(UserSubject)
  524. in.DeepCopyInto(out)
  525. return out
  526. }