zz_generated.deepcopy.go 16 KB

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