zz_generated.deepcopy.go 16 KB

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