zz_generated.deepcopy.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. //go:build !ignore_autogenerated
  2. /*
  3. Copyright © The ESO 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. 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 *PushSecretDataTo) DeepCopyInto(out *PushSecretDataTo) {
  217. *out = *in
  218. if in.StoreRef != nil {
  219. in, out := &in.StoreRef, &out.StoreRef
  220. *out = new(PushSecretStoreRef)
  221. (*in).DeepCopyInto(*out)
  222. }
  223. if in.Match != nil {
  224. in, out := &in.Match, &out.Match
  225. *out = new(PushSecretDataToMatch)
  226. **out = **in
  227. }
  228. if in.Rewrite != nil {
  229. in, out := &in.Rewrite, &out.Rewrite
  230. *out = make([]PushSecretRewrite, len(*in))
  231. for i := range *in {
  232. (*in)[i].DeepCopyInto(&(*out)[i])
  233. }
  234. }
  235. if in.Metadata != nil {
  236. in, out := &in.Metadata, &out.Metadata
  237. *out = new(apiextensionsv1.JSON)
  238. (*in).DeepCopyInto(*out)
  239. }
  240. }
  241. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretDataTo.
  242. func (in *PushSecretDataTo) DeepCopy() *PushSecretDataTo {
  243. if in == nil {
  244. return nil
  245. }
  246. out := new(PushSecretDataTo)
  247. in.DeepCopyInto(out)
  248. return out
  249. }
  250. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  251. func (in *PushSecretDataToMatch) DeepCopyInto(out *PushSecretDataToMatch) {
  252. *out = *in
  253. }
  254. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretDataToMatch.
  255. func (in *PushSecretDataToMatch) DeepCopy() *PushSecretDataToMatch {
  256. if in == nil {
  257. return nil
  258. }
  259. out := new(PushSecretDataToMatch)
  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 *PushSecretList) DeepCopyInto(out *PushSecretList) {
  265. *out = *in
  266. out.TypeMeta = in.TypeMeta
  267. in.ListMeta.DeepCopyInto(&out.ListMeta)
  268. if in.Items != nil {
  269. in, out := &in.Items, &out.Items
  270. *out = make([]PushSecret, len(*in))
  271. for i := range *in {
  272. (*in)[i].DeepCopyInto(&(*out)[i])
  273. }
  274. }
  275. }
  276. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretList.
  277. func (in *PushSecretList) DeepCopy() *PushSecretList {
  278. if in == nil {
  279. return nil
  280. }
  281. out := new(PushSecretList)
  282. in.DeepCopyInto(out)
  283. return out
  284. }
  285. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  286. func (in *PushSecretList) DeepCopyObject() runtime.Object {
  287. if c := in.DeepCopy(); c != nil {
  288. return c
  289. }
  290. return nil
  291. }
  292. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  293. func (in *PushSecretMatch) DeepCopyInto(out *PushSecretMatch) {
  294. *out = *in
  295. out.RemoteRef = in.RemoteRef
  296. }
  297. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretMatch.
  298. func (in *PushSecretMatch) DeepCopy() *PushSecretMatch {
  299. if in == nil {
  300. return nil
  301. }
  302. out := new(PushSecretMatch)
  303. in.DeepCopyInto(out)
  304. return out
  305. }
  306. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  307. func (in *PushSecretMetadata) DeepCopyInto(out *PushSecretMetadata) {
  308. *out = *in
  309. if in.Annotations != nil {
  310. in, out := &in.Annotations, &out.Annotations
  311. *out = make(map[string]string, len(*in))
  312. for key, val := range *in {
  313. (*out)[key] = val
  314. }
  315. }
  316. if in.Labels != nil {
  317. in, out := &in.Labels, &out.Labels
  318. *out = make(map[string]string, len(*in))
  319. for key, val := range *in {
  320. (*out)[key] = val
  321. }
  322. }
  323. }
  324. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretMetadata.
  325. func (in *PushSecretMetadata) DeepCopy() *PushSecretMetadata {
  326. if in == nil {
  327. return nil
  328. }
  329. out := new(PushSecretMetadata)
  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 *PushSecretRemoteRef) DeepCopyInto(out *PushSecretRemoteRef) {
  335. *out = *in
  336. }
  337. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretRemoteRef.
  338. func (in *PushSecretRemoteRef) DeepCopy() *PushSecretRemoteRef {
  339. if in == nil {
  340. return nil
  341. }
  342. out := new(PushSecretRemoteRef)
  343. in.DeepCopyInto(out)
  344. return out
  345. }
  346. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  347. func (in *PushSecretRewrite) DeepCopyInto(out *PushSecretRewrite) {
  348. *out = *in
  349. if in.Regexp != nil {
  350. in, out := &in.Regexp, &out.Regexp
  351. *out = new(externalsecretsv1.ExternalSecretRewriteRegexp)
  352. **out = **in
  353. }
  354. if in.Transform != nil {
  355. in, out := &in.Transform, &out.Transform
  356. *out = new(externalsecretsv1.ExternalSecretRewriteTransform)
  357. **out = **in
  358. }
  359. }
  360. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretRewrite.
  361. func (in *PushSecretRewrite) DeepCopy() *PushSecretRewrite {
  362. if in == nil {
  363. return nil
  364. }
  365. out := new(PushSecretRewrite)
  366. in.DeepCopyInto(out)
  367. return out
  368. }
  369. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  370. func (in *PushSecretSecret) DeepCopyInto(out *PushSecretSecret) {
  371. *out = *in
  372. if in.Selector != nil {
  373. in, out := &in.Selector, &out.Selector
  374. *out = new(v1.LabelSelector)
  375. (*in).DeepCopyInto(*out)
  376. }
  377. }
  378. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSecret.
  379. func (in *PushSecretSecret) DeepCopy() *PushSecretSecret {
  380. if in == nil {
  381. return nil
  382. }
  383. out := new(PushSecretSecret)
  384. in.DeepCopyInto(out)
  385. return out
  386. }
  387. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  388. func (in *PushSecretSelector) DeepCopyInto(out *PushSecretSelector) {
  389. *out = *in
  390. if in.Secret != nil {
  391. in, out := &in.Secret, &out.Secret
  392. *out = new(PushSecretSecret)
  393. (*in).DeepCopyInto(*out)
  394. }
  395. if in.GeneratorRef != nil {
  396. in, out := &in.GeneratorRef, &out.GeneratorRef
  397. *out = new(externalsecretsv1.GeneratorRef)
  398. **out = **in
  399. }
  400. }
  401. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSelector.
  402. func (in *PushSecretSelector) DeepCopy() *PushSecretSelector {
  403. if in == nil {
  404. return nil
  405. }
  406. out := new(PushSecretSelector)
  407. in.DeepCopyInto(out)
  408. return out
  409. }
  410. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  411. func (in *PushSecretSpec) DeepCopyInto(out *PushSecretSpec) {
  412. *out = *in
  413. if in.RefreshInterval != nil {
  414. in, out := &in.RefreshInterval, &out.RefreshInterval
  415. *out = new(v1.Duration)
  416. **out = **in
  417. }
  418. if in.SecretStoreRefs != nil {
  419. in, out := &in.SecretStoreRefs, &out.SecretStoreRefs
  420. *out = make([]PushSecretStoreRef, len(*in))
  421. for i := range *in {
  422. (*in)[i].DeepCopyInto(&(*out)[i])
  423. }
  424. }
  425. in.Selector.DeepCopyInto(&out.Selector)
  426. if in.Data != nil {
  427. in, out := &in.Data, &out.Data
  428. *out = make([]PushSecretData, len(*in))
  429. for i := range *in {
  430. (*in)[i].DeepCopyInto(&(*out)[i])
  431. }
  432. }
  433. if in.DataTo != nil {
  434. in, out := &in.DataTo, &out.DataTo
  435. *out = make([]PushSecretDataTo, len(*in))
  436. for i := range *in {
  437. (*in)[i].DeepCopyInto(&(*out)[i])
  438. }
  439. }
  440. if in.Template != nil {
  441. in, out := &in.Template, &out.Template
  442. *out = new(externalsecretsv1.ExternalSecretTemplate)
  443. (*in).DeepCopyInto(*out)
  444. }
  445. }
  446. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretSpec.
  447. func (in *PushSecretSpec) DeepCopy() *PushSecretSpec {
  448. if in == nil {
  449. return nil
  450. }
  451. out := new(PushSecretSpec)
  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 *PushSecretStatus) DeepCopyInto(out *PushSecretStatus) {
  457. *out = *in
  458. in.RefreshTime.DeepCopyInto(&out.RefreshTime)
  459. if in.SyncedPushSecrets != nil {
  460. in, out := &in.SyncedPushSecrets, &out.SyncedPushSecrets
  461. *out = make(SyncedPushSecretsMap, len(*in))
  462. for key, val := range *in {
  463. var outVal map[string]PushSecretData
  464. if val == nil {
  465. (*out)[key] = nil
  466. } else {
  467. inVal := (*in)[key]
  468. in, out := &inVal, &outVal
  469. *out = make(map[string]PushSecretData, len(*in))
  470. for key, val := range *in {
  471. (*out)[key] = *val.DeepCopy()
  472. }
  473. }
  474. (*out)[key] = outVal
  475. }
  476. }
  477. if in.Conditions != nil {
  478. in, out := &in.Conditions, &out.Conditions
  479. *out = make([]PushSecretStatusCondition, len(*in))
  480. for i := range *in {
  481. (*in)[i].DeepCopyInto(&(*out)[i])
  482. }
  483. }
  484. }
  485. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStatus.
  486. func (in *PushSecretStatus) DeepCopy() *PushSecretStatus {
  487. if in == nil {
  488. return nil
  489. }
  490. out := new(PushSecretStatus)
  491. in.DeepCopyInto(out)
  492. return out
  493. }
  494. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  495. func (in *PushSecretStatusCondition) DeepCopyInto(out *PushSecretStatusCondition) {
  496. *out = *in
  497. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  498. }
  499. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStatusCondition.
  500. func (in *PushSecretStatusCondition) DeepCopy() *PushSecretStatusCondition {
  501. if in == nil {
  502. return nil
  503. }
  504. out := new(PushSecretStatusCondition)
  505. in.DeepCopyInto(out)
  506. return out
  507. }
  508. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  509. func (in *PushSecretStoreRef) DeepCopyInto(out *PushSecretStoreRef) {
  510. *out = *in
  511. if in.LabelSelector != nil {
  512. in, out := &in.LabelSelector, &out.LabelSelector
  513. *out = new(v1.LabelSelector)
  514. (*in).DeepCopyInto(*out)
  515. }
  516. }
  517. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PushSecretStoreRef.
  518. func (in *PushSecretStoreRef) DeepCopy() *PushSecretStoreRef {
  519. if in == nil {
  520. return nil
  521. }
  522. out := new(PushSecretStoreRef)
  523. in.DeepCopyInto(out)
  524. return out
  525. }
  526. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  527. func (in SyncedPushSecretsMap) DeepCopyInto(out *SyncedPushSecretsMap) {
  528. {
  529. in := &in
  530. *out = make(SyncedPushSecretsMap, len(*in))
  531. for key, val := range *in {
  532. var outVal map[string]PushSecretData
  533. if val == nil {
  534. (*out)[key] = nil
  535. } else {
  536. inVal := (*in)[key]
  537. in, out := &inVal, &outVal
  538. *out = make(map[string]PushSecretData, len(*in))
  539. for key, val := range *in {
  540. (*out)[key] = *val.DeepCopy()
  541. }
  542. }
  543. (*out)[key] = outVal
  544. }
  545. }
  546. }
  547. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyncedPushSecretsMap.
  548. func (in SyncedPushSecretsMap) DeepCopy() SyncedPushSecretsMap {
  549. if in == nil {
  550. return nil
  551. }
  552. out := new(SyncedPushSecretsMap)
  553. in.DeepCopyInto(out)
  554. return *out
  555. }