zz_generated.deepcopy.go 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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 v2alpha1
  16. import (
  17. "github.com/external-secrets/external-secrets/apis/externalsecrets/v1"
  18. metav1 "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 *ParameterStore) DeepCopyInto(out *ParameterStore) {
  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 ParameterStore.
  30. func (in *ParameterStore) DeepCopy() *ParameterStore {
  31. if in == nil {
  32. return nil
  33. }
  34. out := new(ParameterStore)
  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 *ParameterStore) 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 *ParameterStoreList) DeepCopyInto(out *ParameterStoreList) {
  47. *out = *in
  48. out.TypeMeta = in.TypeMeta
  49. in.ListMeta.DeepCopyInto(&out.ListMeta)
  50. if in.Items != nil {
  51. in, out := &in.Items, &out.Items
  52. *out = make([]ParameterStore, len(*in))
  53. for i := range *in {
  54. (*in)[i].DeepCopyInto(&(*out)[i])
  55. }
  56. }
  57. }
  58. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterStoreList.
  59. func (in *ParameterStoreList) DeepCopy() *ParameterStoreList {
  60. if in == nil {
  61. return nil
  62. }
  63. out := new(ParameterStoreList)
  64. in.DeepCopyInto(out)
  65. return out
  66. }
  67. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  68. func (in *ParameterStoreList) DeepCopyObject() runtime.Object {
  69. if c := in.DeepCopy(); c != nil {
  70. return c
  71. }
  72. return nil
  73. }
  74. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  75. func (in *ParameterStoreSpec) DeepCopyInto(out *ParameterStoreSpec) {
  76. *out = *in
  77. in.Auth.DeepCopyInto(&out.Auth)
  78. if in.AdditionalRoles != nil {
  79. in, out := &in.AdditionalRoles, &out.AdditionalRoles
  80. *out = make([]string, len(*in))
  81. copy(*out, *in)
  82. }
  83. if in.SessionTags != nil {
  84. in, out := &in.SessionTags, &out.SessionTags
  85. *out = make([]*v1.Tag, len(*in))
  86. for i := range *in {
  87. if (*in)[i] != nil {
  88. in, out := &(*in)[i], &(*out)[i]
  89. *out = new(v1.Tag)
  90. **out = **in
  91. }
  92. }
  93. }
  94. if in.TransitiveTagKeys != nil {
  95. in, out := &in.TransitiveTagKeys, &out.TransitiveTagKeys
  96. *out = make([]string, len(*in))
  97. copy(*out, *in)
  98. }
  99. }
  100. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterStoreSpec.
  101. func (in *ParameterStoreSpec) DeepCopy() *ParameterStoreSpec {
  102. if in == nil {
  103. return nil
  104. }
  105. out := new(ParameterStoreSpec)
  106. in.DeepCopyInto(out)
  107. return out
  108. }
  109. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  110. func (in *ParameterStoreStatus) DeepCopyInto(out *ParameterStoreStatus) {
  111. *out = *in
  112. if in.Conditions != nil {
  113. in, out := &in.Conditions, &out.Conditions
  114. *out = make([]metav1.Condition, len(*in))
  115. for i := range *in {
  116. (*in)[i].DeepCopyInto(&(*out)[i])
  117. }
  118. }
  119. }
  120. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParameterStoreStatus.
  121. func (in *ParameterStoreStatus) DeepCopy() *ParameterStoreStatus {
  122. if in == nil {
  123. return nil
  124. }
  125. out := new(ParameterStoreStatus)
  126. in.DeepCopyInto(out)
  127. return out
  128. }
  129. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  130. func (in *SecretsManager) DeepCopyInto(out *SecretsManager) {
  131. *out = *in
  132. out.TypeMeta = in.TypeMeta
  133. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  134. in.Spec.DeepCopyInto(&out.Spec)
  135. in.Status.DeepCopyInto(&out.Status)
  136. }
  137. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManager.
  138. func (in *SecretsManager) DeepCopy() *SecretsManager {
  139. if in == nil {
  140. return nil
  141. }
  142. out := new(SecretsManager)
  143. in.DeepCopyInto(out)
  144. return out
  145. }
  146. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  147. func (in *SecretsManager) DeepCopyObject() runtime.Object {
  148. if c := in.DeepCopy(); c != nil {
  149. return c
  150. }
  151. return nil
  152. }
  153. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  154. func (in *SecretsManagerList) DeepCopyInto(out *SecretsManagerList) {
  155. *out = *in
  156. out.TypeMeta = in.TypeMeta
  157. in.ListMeta.DeepCopyInto(&out.ListMeta)
  158. if in.Items != nil {
  159. in, out := &in.Items, &out.Items
  160. *out = make([]SecretsManager, len(*in))
  161. for i := range *in {
  162. (*in)[i].DeepCopyInto(&(*out)[i])
  163. }
  164. }
  165. }
  166. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerList.
  167. func (in *SecretsManagerList) DeepCopy() *SecretsManagerList {
  168. if in == nil {
  169. return nil
  170. }
  171. out := new(SecretsManagerList)
  172. in.DeepCopyInto(out)
  173. return out
  174. }
  175. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  176. func (in *SecretsManagerList) DeepCopyObject() runtime.Object {
  177. if c := in.DeepCopy(); c != nil {
  178. return c
  179. }
  180. return nil
  181. }
  182. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  183. func (in *SecretsManagerSpec) DeepCopyInto(out *SecretsManagerSpec) {
  184. *out = *in
  185. in.Auth.DeepCopyInto(&out.Auth)
  186. if in.AdditionalRoles != nil {
  187. in, out := &in.AdditionalRoles, &out.AdditionalRoles
  188. *out = make([]string, len(*in))
  189. copy(*out, *in)
  190. }
  191. if in.SessionTags != nil {
  192. in, out := &in.SessionTags, &out.SessionTags
  193. *out = make([]*v1.Tag, len(*in))
  194. for i := range *in {
  195. if (*in)[i] != nil {
  196. in, out := &(*in)[i], &(*out)[i]
  197. *out = new(v1.Tag)
  198. **out = **in
  199. }
  200. }
  201. }
  202. if in.SecretsManager != nil {
  203. in, out := &in.SecretsManager, &out.SecretsManager
  204. *out = new(v1.SecretsManager)
  205. **out = **in
  206. }
  207. if in.TransitiveTagKeys != nil {
  208. in, out := &in.TransitiveTagKeys, &out.TransitiveTagKeys
  209. *out = make([]string, len(*in))
  210. copy(*out, *in)
  211. }
  212. }
  213. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerSpec.
  214. func (in *SecretsManagerSpec) DeepCopy() *SecretsManagerSpec {
  215. if in == nil {
  216. return nil
  217. }
  218. out := new(SecretsManagerSpec)
  219. in.DeepCopyInto(out)
  220. return out
  221. }
  222. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  223. func (in *SecretsManagerStatus) DeepCopyInto(out *SecretsManagerStatus) {
  224. *out = *in
  225. if in.Conditions != nil {
  226. in, out := &in.Conditions, &out.Conditions
  227. *out = make([]metav1.Condition, len(*in))
  228. for i := range *in {
  229. (*in)[i].DeepCopyInto(&(*out)[i])
  230. }
  231. }
  232. }
  233. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsManagerStatus.
  234. func (in *SecretsManagerStatus) DeepCopy() *SecretsManagerStatus {
  235. if in == nil {
  236. return nil
  237. }
  238. out := new(SecretsManagerStatus)
  239. in.DeepCopyInto(out)
  240. return out
  241. }