zz_generated.deepcopy.go 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. //go:build !ignore_autogenerated
  2. /*
  3. Copyright © 2025 ESO Maintainer Team
  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. https://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 controller-gen. DO NOT EDIT.
  15. package v1alpha1
  16. import (
  17. externalsecretsv1 "github.com/external-secrets/external-secrets/apis/externalsecrets/v1"
  18. apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
  19. "k8s.io/apimachinery/pkg/apis/meta/v1"
  20. runtime "k8s.io/apimachinery/pkg/runtime"
  21. )
  22. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  23. func (in *ClusterPushSecret) DeepCopyInto(out *ClusterPushSecret) {
  24. *out = *in
  25. out.TypeMeta = in.TypeMeta
  26. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  27. in.Spec.DeepCopyInto(&out.Spec)
  28. in.Status.DeepCopyInto(&out.Status)
  29. }
  30. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecret.
  31. func (in *ClusterPushSecret) DeepCopy() *ClusterPushSecret {
  32. if in == nil {
  33. return nil
  34. }
  35. out := new(ClusterPushSecret)
  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 *ClusterPushSecret) 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 *ClusterPushSecretCondition) DeepCopyInto(out *ClusterPushSecretCondition) {
  48. *out = *in
  49. if in.NamespaceSelector != nil {
  50. in, out := &in.NamespaceSelector, &out.NamespaceSelector
  51. *out = new(v1.LabelSelector)
  52. (*in).DeepCopyInto(*out)
  53. }
  54. if in.Namespaces != nil {
  55. in, out := &in.Namespaces, &out.Namespaces
  56. *out = make([]string, len(*in))
  57. copy(*out, *in)
  58. }
  59. }
  60. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretCondition.
  61. func (in *ClusterPushSecretCondition) DeepCopy() *ClusterPushSecretCondition {
  62. if in == nil {
  63. return nil
  64. }
  65. out := new(ClusterPushSecretCondition)
  66. in.DeepCopyInto(out)
  67. return out
  68. }
  69. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  70. func (in *ClusterPushSecretList) DeepCopyInto(out *ClusterPushSecretList) {
  71. *out = *in
  72. out.TypeMeta = in.TypeMeta
  73. in.ListMeta.DeepCopyInto(&out.ListMeta)
  74. if in.Items != nil {
  75. in, out := &in.Items, &out.Items
  76. *out = make([]ClusterPushSecret, len(*in))
  77. for i := range *in {
  78. (*in)[i].DeepCopyInto(&(*out)[i])
  79. }
  80. }
  81. }
  82. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretList.
  83. func (in *ClusterPushSecretList) DeepCopy() *ClusterPushSecretList {
  84. if in == nil {
  85. return nil
  86. }
  87. out := new(ClusterPushSecretList)
  88. in.DeepCopyInto(out)
  89. return out
  90. }
  91. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  92. func (in *ClusterPushSecretList) DeepCopyObject() runtime.Object {
  93. if c := in.DeepCopy(); c != nil {
  94. return c
  95. }
  96. return nil
  97. }
  98. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  99. func (in *ClusterPushSecretNamespaceFailure) DeepCopyInto(out *ClusterPushSecretNamespaceFailure) {
  100. *out = *in
  101. }
  102. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretNamespaceFailure.
  103. func (in *ClusterPushSecretNamespaceFailure) DeepCopy() *ClusterPushSecretNamespaceFailure {
  104. if in == nil {
  105. return nil
  106. }
  107. out := new(ClusterPushSecretNamespaceFailure)
  108. in.DeepCopyInto(out)
  109. return out
  110. }
  111. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  112. func (in *ClusterPushSecretSpec) DeepCopyInto(out *ClusterPushSecretSpec) {
  113. *out = *in
  114. in.PushSecretSpec.DeepCopyInto(&out.PushSecretSpec)
  115. if in.RefreshInterval != nil {
  116. in, out := &in.RefreshInterval, &out.RefreshInterval
  117. *out = new(v1.Duration)
  118. **out = **in
  119. }
  120. in.PushSecretMetadata.DeepCopyInto(&out.PushSecretMetadata)
  121. if in.NamespaceSelectors != nil {
  122. in, out := &in.NamespaceSelectors, &out.NamespaceSelectors
  123. *out = make([]*v1.LabelSelector, len(*in))
  124. for i := range *in {
  125. if (*in)[i] != nil {
  126. in, out := &(*in)[i], &(*out)[i]
  127. *out = new(v1.LabelSelector)
  128. (*in).DeepCopyInto(*out)
  129. }
  130. }
  131. }
  132. }
  133. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretSpec.
  134. func (in *ClusterPushSecretSpec) DeepCopy() *ClusterPushSecretSpec {
  135. if in == nil {
  136. return nil
  137. }
  138. out := new(ClusterPushSecretSpec)
  139. in.DeepCopyInto(out)
  140. return out
  141. }
  142. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  143. func (in *ClusterPushSecretStatus) DeepCopyInto(out *ClusterPushSecretStatus) {
  144. *out = *in
  145. if in.FailedNamespaces != nil {
  146. in, out := &in.FailedNamespaces, &out.FailedNamespaces
  147. *out = make([]ClusterPushSecretNamespaceFailure, len(*in))
  148. copy(*out, *in)
  149. }
  150. if in.ProvisionedNamespaces != nil {
  151. in, out := &in.ProvisionedNamespaces, &out.ProvisionedNamespaces
  152. *out = make([]string, len(*in))
  153. copy(*out, *in)
  154. }
  155. if in.Conditions != nil {
  156. in, out := &in.Conditions, &out.Conditions
  157. *out = make([]PushSecretStatusCondition, len(*in))
  158. for i := range *in {
  159. (*in)[i].DeepCopyInto(&(*out)[i])
  160. }
  161. }
  162. }
  163. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPushSecretStatus.
  164. func (in *ClusterPushSecretStatus) DeepCopy() *ClusterPushSecretStatus {
  165. if in == nil {
  166. return nil
  167. }
  168. out := new(ClusterPushSecretStatus)
  169. in.DeepCopyInto(out)
  170. return out
  171. }
  172. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  173. func (in *PushSecret) DeepCopyInto(out *PushSecret) {
  174. *out = *in
  175. out.TypeMeta = in.TypeMeta
  176. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  177. in.Spec.DeepCopyInto(&out.Spec)
  178. in.Status.DeepCopyInto(&out.Status)
  179. }
  180. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecret.
  181. func (in *PushSecret) DeepCopy() *PushSecret {
  182. if in == nil {
  183. return nil
  184. }
  185. out := new(PushSecret)
  186. in.DeepCopyInto(out)
  187. return out
  188. }
  189. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  190. func (in *PushSecret) DeepCopyObject() runtime.Object {
  191. if c := in.DeepCopy(); c != nil {
  192. return c
  193. }
  194. return nil
  195. }
  196. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  197. func (in *PushSecretData) DeepCopyInto(out *PushSecretData) {
  198. *out = *in
  199. out.Match = in.Match
  200. if in.Metadata != nil {
  201. in, out := &in.Metadata, &out.Metadata
  202. *out = new(apiextensionsv1.JSON)
  203. (*in).DeepCopyInto(*out)
  204. }
  205. }
  206. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretData.
  207. func (in *PushSecretData) DeepCopy() *PushSecretData {
  208. if in == nil {
  209. return nil
  210. }
  211. out := new(PushSecretData)
  212. in.DeepCopyInto(out)
  213. return out
  214. }
  215. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  216. func (in *PushSecretList) DeepCopyInto(out *PushSecretList) {
  217. *out = *in
  218. out.TypeMeta = in.TypeMeta
  219. in.ListMeta.DeepCopyInto(&out.ListMeta)
  220. if in.Items != nil {
  221. in, out := &in.Items, &out.Items
  222. *out = make([]PushSecret, len(*in))
  223. for i := range *in {
  224. (*in)[i].DeepCopyInto(&(*out)[i])
  225. }
  226. }
  227. }
  228. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretList.
  229. func (in *PushSecretList) DeepCopy() *PushSecretList {
  230. if in == nil {
  231. return nil
  232. }
  233. out := new(PushSecretList)
  234. in.DeepCopyInto(out)
  235. return out
  236. }
  237. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  238. func (in *PushSecretList) DeepCopyObject() runtime.Object {
  239. if c := in.DeepCopy(); c != nil {
  240. return c
  241. }
  242. return nil
  243. }
  244. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  245. func (in *PushSecretMatch) DeepCopyInto(out *PushSecretMatch) {
  246. *out = *in
  247. out.RemoteRef = in.RemoteRef
  248. }
  249. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretMatch.
  250. func (in *PushSecretMatch) DeepCopy() *PushSecretMatch {
  251. if in == nil {
  252. return nil
  253. }
  254. out := new(PushSecretMatch)
  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 *PushSecretMetadata) DeepCopyInto(out *PushSecretMetadata) {
  260. *out = *in
  261. if in.Annotations != nil {
  262. in, out := &in.Annotations, &out.Annotations
  263. *out = make(map[string]string, len(*in))
  264. for key, val := range *in {
  265. (*out)[key] = val
  266. }
  267. }
  268. if in.Labels != nil {
  269. in, out := &in.Labels, &out.Labels
  270. *out = make(map[string]string, len(*in))
  271. for key, val := range *in {
  272. (*out)[key] = val
  273. }
  274. }
  275. }
  276. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretMetadata.
  277. func (in *PushSecretMetadata) DeepCopy() *PushSecretMetadata {
  278. if in == nil {
  279. return nil
  280. }
  281. out := new(PushSecretMetadata)
  282. in.DeepCopyInto(out)
  283. return out
  284. }
  285. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  286. func (in *PushSecretRemoteRef) DeepCopyInto(out *PushSecretRemoteRef) {
  287. *out = *in
  288. }
  289. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretRemoteRef.
  290. func (in *PushSecretRemoteRef) DeepCopy() *PushSecretRemoteRef {
  291. if in == nil {
  292. return nil
  293. }
  294. out := new(PushSecretRemoteRef)
  295. in.DeepCopyInto(out)
  296. return out
  297. }
  298. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  299. func (in *PushSecretSecret) DeepCopyInto(out *PushSecretSecret) {
  300. *out = *in
  301. if in.Selector != nil {
  302. in, out := &in.Selector, &out.Selector
  303. *out = new(v1.LabelSelector)
  304. (*in).DeepCopyInto(*out)
  305. }
  306. }
  307. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSecret.
  308. func (in *PushSecretSecret) DeepCopy() *PushSecretSecret {
  309. if in == nil {
  310. return nil
  311. }
  312. out := new(PushSecretSecret)
  313. in.DeepCopyInto(out)
  314. return out
  315. }
  316. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  317. func (in *PushSecretSelector) DeepCopyInto(out *PushSecretSelector) {
  318. *out = *in
  319. if in.Secret != nil {
  320. in, out := &in.Secret, &out.Secret
  321. *out = new(PushSecretSecret)
  322. (*in).DeepCopyInto(*out)
  323. }
  324. if in.GeneratorRef != nil {
  325. in, out := &in.GeneratorRef, &out.GeneratorRef
  326. *out = new(externalsecretsv1.GeneratorRef)
  327. **out = **in
  328. }
  329. }
  330. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSelector.
  331. func (in *PushSecretSelector) DeepCopy() *PushSecretSelector {
  332. if in == nil {
  333. return nil
  334. }
  335. out := new(PushSecretSelector)
  336. in.DeepCopyInto(out)
  337. return out
  338. }
  339. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  340. func (in *PushSecretSpec) DeepCopyInto(out *PushSecretSpec) {
  341. *out = *in
  342. if in.RefreshInterval != nil {
  343. in, out := &in.RefreshInterval, &out.RefreshInterval
  344. *out = new(v1.Duration)
  345. **out = **in
  346. }
  347. if in.SecretStoreRefs != nil {
  348. in, out := &in.SecretStoreRefs, &out.SecretStoreRefs
  349. *out = make([]PushSecretStoreRef, len(*in))
  350. for i := range *in {
  351. (*in)[i].DeepCopyInto(&(*out)[i])
  352. }
  353. }
  354. in.Selector.DeepCopyInto(&out.Selector)
  355. if in.Data != nil {
  356. in, out := &in.Data, &out.Data
  357. *out = make([]PushSecretData, len(*in))
  358. for i := range *in {
  359. (*in)[i].DeepCopyInto(&(*out)[i])
  360. }
  361. }
  362. if in.Template != nil {
  363. in, out := &in.Template, &out.Template
  364. *out = new(externalsecretsv1.ExternalSecretTemplate)
  365. (*in).DeepCopyInto(*out)
  366. }
  367. }
  368. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSpec.
  369. func (in *PushSecretSpec) DeepCopy() *PushSecretSpec {
  370. if in == nil {
  371. return nil
  372. }
  373. out := new(PushSecretSpec)
  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 *PushSecretStatus) DeepCopyInto(out *PushSecretStatus) {
  379. *out = *in
  380. in.RefreshTime.DeepCopyInto(&out.RefreshTime)
  381. if in.SyncedPushSecrets != nil {
  382. in, out := &in.SyncedPushSecrets, &out.SyncedPushSecrets
  383. *out = make(SyncedPushSecretsMap, len(*in))
  384. for key, val := range *in {
  385. var outVal map[string]PushSecretData
  386. if val == nil {
  387. (*out)[key] = nil
  388. } else {
  389. inVal := (*in)[key]
  390. in, out := &inVal, &outVal
  391. *out = make(map[string]PushSecretData, len(*in))
  392. for key, val := range *in {
  393. (*out)[key] = *val.DeepCopy()
  394. }
  395. }
  396. (*out)[key] = outVal
  397. }
  398. }
  399. if in.Conditions != nil {
  400. in, out := &in.Conditions, &out.Conditions
  401. *out = make([]PushSecretStatusCondition, len(*in))
  402. for i := range *in {
  403. (*in)[i].DeepCopyInto(&(*out)[i])
  404. }
  405. }
  406. }
  407. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStatus.
  408. func (in *PushSecretStatus) DeepCopy() *PushSecretStatus {
  409. if in == nil {
  410. return nil
  411. }
  412. out := new(PushSecretStatus)
  413. in.DeepCopyInto(out)
  414. return out
  415. }
  416. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  417. func (in *PushSecretStatusCondition) DeepCopyInto(out *PushSecretStatusCondition) {
  418. *out = *in
  419. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  420. }
  421. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStatusCondition.
  422. func (in *PushSecretStatusCondition) DeepCopy() *PushSecretStatusCondition {
  423. if in == nil {
  424. return nil
  425. }
  426. out := new(PushSecretStatusCondition)
  427. in.DeepCopyInto(out)
  428. return out
  429. }
  430. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  431. func (in *PushSecretStoreRef) DeepCopyInto(out *PushSecretStoreRef) {
  432. *out = *in
  433. if in.LabelSelector != nil {
  434. in, out := &in.LabelSelector, &out.LabelSelector
  435. *out = new(v1.LabelSelector)
  436. (*in).DeepCopyInto(*out)
  437. }
  438. }
  439. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStoreRef.
  440. func (in *PushSecretStoreRef) DeepCopy() *PushSecretStoreRef {
  441. if in == nil {
  442. return nil
  443. }
  444. out := new(PushSecretStoreRef)
  445. in.DeepCopyInto(out)
  446. return out
  447. }
  448. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  449. func (in SyncedPushSecretsMap) DeepCopyInto(out *SyncedPushSecretsMap) {
  450. {
  451. in := &in
  452. *out = make(SyncedPushSecretsMap, len(*in))
  453. for key, val := range *in {
  454. var outVal map[string]PushSecretData
  455. if val == nil {
  456. (*out)[key] = nil
  457. } else {
  458. inVal := (*in)[key]
  459. in, out := &inVal, &outVal
  460. *out = make(map[string]PushSecretData, len(*in))
  461. for key, val := range *in {
  462. (*out)[key] = *val.DeepCopy()
  463. }
  464. }
  465. (*out)[key] = outVal
  466. }
  467. }
  468. }
  469. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncedPushSecretsMap.
  470. func (in SyncedPushSecretsMap) DeepCopy() SyncedPushSecretsMap {
  471. if in == nil {
  472. return nil
  473. }
  474. out := new(SyncedPushSecretsMap)
  475. in.DeepCopyInto(out)
  476. return *out
  477. }