zz_generated.deepcopy.go 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  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 v1beta1
  17. import (
  18. v1 "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 *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest) {
  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. return
  29. }
  30. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest.
  31. func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest {
  32. if in == nil {
  33. return nil
  34. }
  35. out := new(CertificateSigningRequest)
  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 *CertificateSigningRequest) 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 *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigningRequestCondition) {
  48. *out = *in
  49. in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
  50. in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
  51. return
  52. }
  53. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
  54. func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
  55. if in == nil {
  56. return nil
  57. }
  58. out := new(CertificateSigningRequestCondition)
  59. in.DeepCopyInto(out)
  60. return out
  61. }
  62. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  63. func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningRequestList) {
  64. *out = *in
  65. out.TypeMeta = in.TypeMeta
  66. in.ListMeta.DeepCopyInto(&out.ListMeta)
  67. if in.Items != nil {
  68. in, out := &in.Items, &out.Items
  69. *out = make([]CertificateSigningRequest, len(*in))
  70. for i := range *in {
  71. (*in)[i].DeepCopyInto(&(*out)[i])
  72. }
  73. }
  74. return
  75. }
  76. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
  77. func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
  78. if in == nil {
  79. return nil
  80. }
  81. out := new(CertificateSigningRequestList)
  82. in.DeepCopyInto(out)
  83. return out
  84. }
  85. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  86. func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
  87. if c := in.DeepCopy(); c != nil {
  88. return c
  89. }
  90. return nil
  91. }
  92. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  93. func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningRequestSpec) {
  94. *out = *in
  95. if in.Request != nil {
  96. in, out := &in.Request, &out.Request
  97. *out = make([]byte, len(*in))
  98. copy(*out, *in)
  99. }
  100. if in.SignerName != nil {
  101. in, out := &in.SignerName, &out.SignerName
  102. *out = new(string)
  103. **out = **in
  104. }
  105. if in.ExpirationSeconds != nil {
  106. in, out := &in.ExpirationSeconds, &out.ExpirationSeconds
  107. *out = new(int32)
  108. **out = **in
  109. }
  110. if in.Usages != nil {
  111. in, out := &in.Usages, &out.Usages
  112. *out = make([]KeyUsage, len(*in))
  113. copy(*out, *in)
  114. }
  115. if in.Groups != nil {
  116. in, out := &in.Groups, &out.Groups
  117. *out = make([]string, len(*in))
  118. copy(*out, *in)
  119. }
  120. if in.Extra != nil {
  121. in, out := &in.Extra, &out.Extra
  122. *out = make(map[string]ExtraValue, len(*in))
  123. for key, val := range *in {
  124. var outVal []string
  125. if val == nil {
  126. (*out)[key] = nil
  127. } else {
  128. in, out := &val, &outVal
  129. *out = make(ExtraValue, len(*in))
  130. copy(*out, *in)
  131. }
  132. (*out)[key] = outVal
  133. }
  134. }
  135. return
  136. }
  137. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
  138. func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
  139. if in == nil {
  140. return nil
  141. }
  142. out := new(CertificateSigningRequestSpec)
  143. in.DeepCopyInto(out)
  144. return out
  145. }
  146. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  147. func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningRequestStatus) {
  148. *out = *in
  149. if in.Conditions != nil {
  150. in, out := &in.Conditions, &out.Conditions
  151. *out = make([]CertificateSigningRequestCondition, len(*in))
  152. for i := range *in {
  153. (*in)[i].DeepCopyInto(&(*out)[i])
  154. }
  155. }
  156. if in.Certificate != nil {
  157. in, out := &in.Certificate, &out.Certificate
  158. *out = make([]byte, len(*in))
  159. copy(*out, *in)
  160. }
  161. return
  162. }
  163. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
  164. func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
  165. if in == nil {
  166. return nil
  167. }
  168. out := new(CertificateSigningRequestStatus)
  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 *ClusterTrustBundle) DeepCopyInto(out *ClusterTrustBundle) {
  174. *out = *in
  175. out.TypeMeta = in.TypeMeta
  176. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  177. out.Spec = in.Spec
  178. return
  179. }
  180. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTrustBundle.
  181. func (in *ClusterTrustBundle) DeepCopy() *ClusterTrustBundle {
  182. if in == nil {
  183. return nil
  184. }
  185. out := new(ClusterTrustBundle)
  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 *ClusterTrustBundle) 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 *ClusterTrustBundleList) DeepCopyInto(out *ClusterTrustBundleList) {
  198. *out = *in
  199. out.TypeMeta = in.TypeMeta
  200. in.ListMeta.DeepCopyInto(&out.ListMeta)
  201. if in.Items != nil {
  202. in, out := &in.Items, &out.Items
  203. *out = make([]ClusterTrustBundle, len(*in))
  204. for i := range *in {
  205. (*in)[i].DeepCopyInto(&(*out)[i])
  206. }
  207. }
  208. return
  209. }
  210. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTrustBundleList.
  211. func (in *ClusterTrustBundleList) DeepCopy() *ClusterTrustBundleList {
  212. if in == nil {
  213. return nil
  214. }
  215. out := new(ClusterTrustBundleList)
  216. in.DeepCopyInto(out)
  217. return out
  218. }
  219. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  220. func (in *ClusterTrustBundleList) DeepCopyObject() runtime.Object {
  221. if c := in.DeepCopy(); c != nil {
  222. return c
  223. }
  224. return nil
  225. }
  226. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  227. func (in *ClusterTrustBundleSpec) DeepCopyInto(out *ClusterTrustBundleSpec) {
  228. *out = *in
  229. return
  230. }
  231. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTrustBundleSpec.
  232. func (in *ClusterTrustBundleSpec) DeepCopy() *ClusterTrustBundleSpec {
  233. if in == nil {
  234. return nil
  235. }
  236. out := new(ClusterTrustBundleSpec)
  237. in.DeepCopyInto(out)
  238. return out
  239. }
  240. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  241. func (in ExtraValue) DeepCopyInto(out *ExtraValue) {
  242. {
  243. in := &in
  244. *out = make(ExtraValue, len(*in))
  245. copy(*out, *in)
  246. return
  247. }
  248. }
  249. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
  250. func (in ExtraValue) DeepCopy() ExtraValue {
  251. if in == nil {
  252. return nil
  253. }
  254. out := new(ExtraValue)
  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 *PodCertificateRequest) DeepCopyInto(out *PodCertificateRequest) {
  260. *out = *in
  261. out.TypeMeta = in.TypeMeta
  262. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  263. in.Spec.DeepCopyInto(&out.Spec)
  264. in.Status.DeepCopyInto(&out.Status)
  265. return
  266. }
  267. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCertificateRequest.
  268. func (in *PodCertificateRequest) DeepCopy() *PodCertificateRequest {
  269. if in == nil {
  270. return nil
  271. }
  272. out := new(PodCertificateRequest)
  273. in.DeepCopyInto(out)
  274. return out
  275. }
  276. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  277. func (in *PodCertificateRequest) DeepCopyObject() runtime.Object {
  278. if c := in.DeepCopy(); c != nil {
  279. return c
  280. }
  281. return nil
  282. }
  283. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  284. func (in *PodCertificateRequestList) DeepCopyInto(out *PodCertificateRequestList) {
  285. *out = *in
  286. out.TypeMeta = in.TypeMeta
  287. in.ListMeta.DeepCopyInto(&out.ListMeta)
  288. if in.Items != nil {
  289. in, out := &in.Items, &out.Items
  290. *out = make([]PodCertificateRequest, len(*in))
  291. for i := range *in {
  292. (*in)[i].DeepCopyInto(&(*out)[i])
  293. }
  294. }
  295. return
  296. }
  297. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCertificateRequestList.
  298. func (in *PodCertificateRequestList) DeepCopy() *PodCertificateRequestList {
  299. if in == nil {
  300. return nil
  301. }
  302. out := new(PodCertificateRequestList)
  303. in.DeepCopyInto(out)
  304. return out
  305. }
  306. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  307. func (in *PodCertificateRequestList) DeepCopyObject() runtime.Object {
  308. if c := in.DeepCopy(); c != nil {
  309. return c
  310. }
  311. return nil
  312. }
  313. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  314. func (in *PodCertificateRequestSpec) DeepCopyInto(out *PodCertificateRequestSpec) {
  315. *out = *in
  316. if in.MaxExpirationSeconds != nil {
  317. in, out := &in.MaxExpirationSeconds, &out.MaxExpirationSeconds
  318. *out = new(int32)
  319. **out = **in
  320. }
  321. if in.PKIXPublicKey != nil {
  322. in, out := &in.PKIXPublicKey, &out.PKIXPublicKey
  323. *out = make([]byte, len(*in))
  324. copy(*out, *in)
  325. }
  326. if in.ProofOfPossession != nil {
  327. in, out := &in.ProofOfPossession, &out.ProofOfPossession
  328. *out = make([]byte, len(*in))
  329. copy(*out, *in)
  330. }
  331. if in.UnverifiedUserAnnotations != nil {
  332. in, out := &in.UnverifiedUserAnnotations, &out.UnverifiedUserAnnotations
  333. *out = make(map[string]string, len(*in))
  334. for key, val := range *in {
  335. (*out)[key] = val
  336. }
  337. }
  338. return
  339. }
  340. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCertificateRequestSpec.
  341. func (in *PodCertificateRequestSpec) DeepCopy() *PodCertificateRequestSpec {
  342. if in == nil {
  343. return nil
  344. }
  345. out := new(PodCertificateRequestSpec)
  346. in.DeepCopyInto(out)
  347. return out
  348. }
  349. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  350. func (in *PodCertificateRequestStatus) DeepCopyInto(out *PodCertificateRequestStatus) {
  351. *out = *in
  352. if in.Conditions != nil {
  353. in, out := &in.Conditions, &out.Conditions
  354. *out = make([]v1.Condition, len(*in))
  355. for i := range *in {
  356. (*in)[i].DeepCopyInto(&(*out)[i])
  357. }
  358. }
  359. if in.NotBefore != nil {
  360. in, out := &in.NotBefore, &out.NotBefore
  361. *out = (*in).DeepCopy()
  362. }
  363. if in.BeginRefreshAt != nil {
  364. in, out := &in.BeginRefreshAt, &out.BeginRefreshAt
  365. *out = (*in).DeepCopy()
  366. }
  367. if in.NotAfter != nil {
  368. in, out := &in.NotAfter, &out.NotAfter
  369. *out = (*in).DeepCopy()
  370. }
  371. return
  372. }
  373. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCertificateRequestStatus.
  374. func (in *PodCertificateRequestStatus) DeepCopy() *PodCertificateRequestStatus {
  375. if in == nil {
  376. return nil
  377. }
  378. out := new(PodCertificateRequestStatus)
  379. in.DeepCopyInto(out)
  380. return out
  381. }