zz_generated.deepcopy.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. //go:build !ignore_autogenerated
  2. /*
  3. Copyright 2026 LocoStack.
  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. http://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. "k8s.io/api/core/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 *AuthAPIKey) DeepCopyInto(out *AuthAPIKey) {
  23. *out = *in
  24. in.SecretRef.DeepCopyInto(&out.SecretRef)
  25. }
  26. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthAPIKey.
  27. func (in *AuthAPIKey) DeepCopy() *AuthAPIKey {
  28. if in == nil {
  29. return nil
  30. }
  31. out := new(AuthAPIKey)
  32. in.DeepCopyInto(out)
  33. return out
  34. }
  35. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  36. func (in *AuthSpec) DeepCopyInto(out *AuthSpec) {
  37. *out = *in
  38. if in.BearerToken != nil {
  39. in, out := &in.BearerToken, &out.BearerToken
  40. *out = new(v1.SecretKeySelector)
  41. (*in).DeepCopyInto(*out)
  42. }
  43. if in.APIKey != nil {
  44. in, out := &in.APIKey, &out.APIKey
  45. *out = new(AuthAPIKey)
  46. (*in).DeepCopyInto(*out)
  47. }
  48. if in.Headers != nil {
  49. in, out := &in.Headers, &out.Headers
  50. *out = make([]HTTPHeaderSpec, len(*in))
  51. for i := range *in {
  52. (*in)[i].DeepCopyInto(&(*out)[i])
  53. }
  54. }
  55. }
  56. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
  57. func (in *AuthSpec) DeepCopy() *AuthSpec {
  58. if in == nil {
  59. return nil
  60. }
  61. out := new(AuthSpec)
  62. in.DeepCopyInto(out)
  63. return out
  64. }
  65. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  66. func (in *Component) DeepCopyInto(out *Component) {
  67. *out = *in
  68. out.TypeMeta = in.TypeMeta
  69. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  70. in.Spec.DeepCopyInto(&out.Spec)
  71. in.Status.DeepCopyInto(&out.Status)
  72. }
  73. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
  74. func (in *Component) DeepCopy() *Component {
  75. if in == nil {
  76. return nil
  77. }
  78. out := new(Component)
  79. in.DeepCopyInto(out)
  80. return out
  81. }
  82. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  83. func (in *Component) DeepCopyObject() runtime.Object {
  84. if c := in.DeepCopy(); c != nil {
  85. return c
  86. }
  87. return nil
  88. }
  89. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  90. func (in *ComponentList) DeepCopyInto(out *ComponentList) {
  91. *out = *in
  92. out.TypeMeta = in.TypeMeta
  93. in.ListMeta.DeepCopyInto(&out.ListMeta)
  94. if in.Items != nil {
  95. in, out := &in.Items, &out.Items
  96. *out = make([]Component, len(*in))
  97. for i := range *in {
  98. (*in)[i].DeepCopyInto(&(*out)[i])
  99. }
  100. }
  101. }
  102. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
  103. func (in *ComponentList) DeepCopy() *ComponentList {
  104. if in == nil {
  105. return nil
  106. }
  107. out := new(ComponentList)
  108. in.DeepCopyInto(out)
  109. return out
  110. }
  111. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  112. func (in *ComponentList) DeepCopyObject() runtime.Object {
  113. if c := in.DeepCopy(); c != nil {
  114. return c
  115. }
  116. return nil
  117. }
  118. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  119. func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) {
  120. *out = *in
  121. if in.Template != nil {
  122. in, out := &in.Template, &out.Template
  123. *out = new(Template)
  124. (*in).DeepCopyInto(*out)
  125. }
  126. if in.Variables != nil {
  127. in, out := &in.Variables, &out.Variables
  128. *out = make(map[string]string, len(*in))
  129. for key, val := range *in {
  130. (*out)[key] = val
  131. }
  132. }
  133. if in.Dependencies != nil {
  134. in, out := &in.Dependencies, &out.Dependencies
  135. *out = make([]v1.ObjectReference, len(*in))
  136. copy(*out, *in)
  137. }
  138. if in.StackRef != nil {
  139. in, out := &in.StackRef, &out.StackRef
  140. *out = new(v1.LocalObjectReference)
  141. **out = **in
  142. }
  143. }
  144. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
  145. func (in *ComponentSpec) DeepCopy() *ComponentSpec {
  146. if in == nil {
  147. return nil
  148. }
  149. out := new(ComponentSpec)
  150. in.DeepCopyInto(out)
  151. return out
  152. }
  153. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  154. func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
  155. *out = *in
  156. if in.Dependencies != nil {
  157. in, out := &in.Dependencies, &out.Dependencies
  158. *out = make(map[string]map[string]int64, len(*in))
  159. for key, val := range *in {
  160. var outVal map[string]int64
  161. if val == nil {
  162. (*out)[key] = nil
  163. } else {
  164. inVal := (*in)[key]
  165. in, out := &inVal, &outVal
  166. *out = make(map[string]int64, len(*in))
  167. for key, val := range *in {
  168. (*out)[key] = val
  169. }
  170. }
  171. (*out)[key] = outVal
  172. }
  173. }
  174. if in.Conditions != nil {
  175. in, out := &in.Conditions, &out.Conditions
  176. *out = make([]metav1.Condition, len(*in))
  177. for i := range *in {
  178. (*in)[i].DeepCopyInto(&(*out)[i])
  179. }
  180. }
  181. }
  182. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
  183. func (in *ComponentStatus) DeepCopy() *ComponentStatus {
  184. if in == nil {
  185. return nil
  186. }
  187. out := new(ComponentStatus)
  188. in.DeepCopyInto(out)
  189. return out
  190. }
  191. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  192. func (in *ConditionalArgs) DeepCopyInto(out *ConditionalArgs) {
  193. *out = *in
  194. if in.Args != nil {
  195. in, out := &in.Args, &out.Args
  196. *out = make([]string, len(*in))
  197. copy(*out, *in)
  198. }
  199. }
  200. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionalArgs.
  201. func (in *ConditionalArgs) DeepCopy() *ConditionalArgs {
  202. if in == nil {
  203. return nil
  204. }
  205. out := new(ConditionalArgs)
  206. in.DeepCopyInto(out)
  207. return out
  208. }
  209. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  210. func (in *ExternalModel) DeepCopyInto(out *ExternalModel) {
  211. *out = *in
  212. out.TypeMeta = in.TypeMeta
  213. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  214. in.Spec.DeepCopyInto(&out.Spec)
  215. in.Status.DeepCopyInto(&out.Status)
  216. }
  217. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModel.
  218. func (in *ExternalModel) DeepCopy() *ExternalModel {
  219. if in == nil {
  220. return nil
  221. }
  222. out := new(ExternalModel)
  223. in.DeepCopyInto(out)
  224. return out
  225. }
  226. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  227. func (in *ExternalModel) DeepCopyObject() runtime.Object {
  228. if c := in.DeepCopy(); c != nil {
  229. return c
  230. }
  231. return nil
  232. }
  233. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  234. func (in *ExternalModelList) DeepCopyInto(out *ExternalModelList) {
  235. *out = *in
  236. out.TypeMeta = in.TypeMeta
  237. in.ListMeta.DeepCopyInto(&out.ListMeta)
  238. if in.Items != nil {
  239. in, out := &in.Items, &out.Items
  240. *out = make([]ExternalModel, len(*in))
  241. for i := range *in {
  242. (*in)[i].DeepCopyInto(&(*out)[i])
  243. }
  244. }
  245. }
  246. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelList.
  247. func (in *ExternalModelList) DeepCopy() *ExternalModelList {
  248. if in == nil {
  249. return nil
  250. }
  251. out := new(ExternalModelList)
  252. in.DeepCopyInto(out)
  253. return out
  254. }
  255. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  256. func (in *ExternalModelList) DeepCopyObject() runtime.Object {
  257. if c := in.DeepCopy(); c != nil {
  258. return c
  259. }
  260. return nil
  261. }
  262. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  263. func (in *ExternalModelSpec) DeepCopyInto(out *ExternalModelSpec) {
  264. *out = *in
  265. if in.StackRef != nil {
  266. in, out := &in.StackRef, &out.StackRef
  267. *out = new(v1.LocalObjectReference)
  268. **out = **in
  269. }
  270. if in.Auth != nil {
  271. in, out := &in.Auth, &out.Auth
  272. *out = new(AuthSpec)
  273. (*in).DeepCopyInto(*out)
  274. }
  275. if in.ExtraParams != nil {
  276. in, out := &in.ExtraParams, &out.ExtraParams
  277. *out = make(map[string]string, len(*in))
  278. for key, val := range *in {
  279. (*out)[key] = val
  280. }
  281. }
  282. if in.DefaultInferenceParams != nil {
  283. in, out := &in.DefaultInferenceParams, &out.DefaultInferenceParams
  284. *out = new(InferenceParameters)
  285. (*in).DeepCopyInto(*out)
  286. }
  287. }
  288. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelSpec.
  289. func (in *ExternalModelSpec) DeepCopy() *ExternalModelSpec {
  290. if in == nil {
  291. return nil
  292. }
  293. out := new(ExternalModelSpec)
  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 *ExternalModelStatus) DeepCopyInto(out *ExternalModelStatus) {
  299. *out = *in
  300. if in.Conditions != nil {
  301. in, out := &in.Conditions, &out.Conditions
  302. *out = make([]metav1.Condition, len(*in))
  303. for i := range *in {
  304. (*in)[i].DeepCopyInto(&(*out)[i])
  305. }
  306. }
  307. }
  308. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelStatus.
  309. func (in *ExternalModelStatus) DeepCopy() *ExternalModelStatus {
  310. if in == nil {
  311. return nil
  312. }
  313. out := new(ExternalModelStatus)
  314. in.DeepCopyInto(out)
  315. return out
  316. }
  317. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  318. func (in *HTTPHeaderSpec) DeepCopyInto(out *HTTPHeaderSpec) {
  319. *out = *in
  320. in.ValueFrom.DeepCopyInto(&out.ValueFrom)
  321. }
  322. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSpec.
  323. func (in *HTTPHeaderSpec) DeepCopy() *HTTPHeaderSpec {
  324. if in == nil {
  325. return nil
  326. }
  327. out := new(HTTPHeaderSpec)
  328. in.DeepCopyInto(out)
  329. return out
  330. }
  331. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  332. func (in *InferenceParameters) DeepCopyInto(out *InferenceParameters) {
  333. *out = *in
  334. if in.MaxTokens != nil {
  335. in, out := &in.MaxTokens, &out.MaxTokens
  336. *out = new(int32)
  337. **out = **in
  338. }
  339. if in.Extra != nil {
  340. in, out := &in.Extra, &out.Extra
  341. *out = make(map[string]string, len(*in))
  342. for key, val := range *in {
  343. (*out)[key] = val
  344. }
  345. }
  346. }
  347. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceParameters.
  348. func (in *InferenceParameters) DeepCopy() *InferenceParameters {
  349. if in == nil {
  350. return nil
  351. }
  352. out := new(InferenceParameters)
  353. in.DeepCopyInto(out)
  354. return out
  355. }
  356. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  357. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  358. *out = *in
  359. if in.Template != nil {
  360. in, out := &in.Template, &out.Template
  361. *out = new(Template)
  362. (*in).DeepCopyInto(*out)
  363. }
  364. }
  365. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  366. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  367. if in == nil {
  368. return nil
  369. }
  370. out := new(OptionalComponent)
  371. in.DeepCopyInto(out)
  372. return out
  373. }
  374. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  375. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  376. *out = *in
  377. if in.Command != nil {
  378. in, out := &in.Command, &out.Command
  379. *out = make([]string, len(*in))
  380. copy(*out, *in)
  381. }
  382. if in.Args != nil {
  383. in, out := &in.Args, &out.Args
  384. *out = make([]string, len(*in))
  385. copy(*out, *in)
  386. }
  387. if in.ExtraArgs != nil {
  388. in, out := &in.ExtraArgs, &out.ExtraArgs
  389. *out = make([]string, len(*in))
  390. copy(*out, *in)
  391. }
  392. if in.ConditionalArgs != nil {
  393. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  394. *out = make([]ConditionalArgs, len(*in))
  395. for i := range *in {
  396. (*in)[i].DeepCopyInto(&(*out)[i])
  397. }
  398. }
  399. if in.Env != nil {
  400. in, out := &in.Env, &out.Env
  401. *out = make([]v1.EnvVar, len(*in))
  402. for i := range *in {
  403. (*in)[i].DeepCopyInto(&(*out)[i])
  404. }
  405. }
  406. if in.EnvFrom != nil {
  407. in, out := &in.EnvFrom, &out.EnvFrom
  408. *out = make([]v1.EnvFromSource, len(*in))
  409. for i := range *in {
  410. (*in)[i].DeepCopyInto(&(*out)[i])
  411. }
  412. }
  413. if in.VolumeMounts != nil {
  414. in, out := &in.VolumeMounts, &out.VolumeMounts
  415. *out = make([]v1.VolumeMount, len(*in))
  416. for i := range *in {
  417. (*in)[i].DeepCopyInto(&(*out)[i])
  418. }
  419. }
  420. }
  421. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
  422. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  423. if in == nil {
  424. return nil
  425. }
  426. out := new(RuntimeSpec)
  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 *Stack) DeepCopyInto(out *Stack) {
  432. *out = *in
  433. out.TypeMeta = in.TypeMeta
  434. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  435. in.Spec.DeepCopyInto(&out.Spec)
  436. in.Status.DeepCopyInto(&out.Status)
  437. }
  438. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  439. func (in *Stack) DeepCopy() *Stack {
  440. if in == nil {
  441. return nil
  442. }
  443. out := new(Stack)
  444. in.DeepCopyInto(out)
  445. return out
  446. }
  447. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  448. func (in *Stack) DeepCopyObject() runtime.Object {
  449. if c := in.DeepCopy(); c != nil {
  450. return c
  451. }
  452. return nil
  453. }
  454. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  455. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  456. *out = *in
  457. }
  458. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  459. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  460. if in == nil {
  461. return nil
  462. }
  463. out := new(StackComponentStatus)
  464. in.DeepCopyInto(out)
  465. return out
  466. }
  467. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  468. func (in *StackList) DeepCopyInto(out *StackList) {
  469. *out = *in
  470. out.TypeMeta = in.TypeMeta
  471. in.ListMeta.DeepCopyInto(&out.ListMeta)
  472. if in.Items != nil {
  473. in, out := &in.Items, &out.Items
  474. *out = make([]Stack, len(*in))
  475. for i := range *in {
  476. (*in)[i].DeepCopyInto(&(*out)[i])
  477. }
  478. }
  479. }
  480. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  481. func (in *StackList) DeepCopy() *StackList {
  482. if in == nil {
  483. return nil
  484. }
  485. out := new(StackList)
  486. in.DeepCopyInto(out)
  487. return out
  488. }
  489. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  490. func (in *StackList) DeepCopyObject() runtime.Object {
  491. if c := in.DeepCopy(); c != nil {
  492. return c
  493. }
  494. return nil
  495. }
  496. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  497. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  498. *out = *in
  499. if in.SharedVolumes != nil {
  500. in, out := &in.SharedVolumes, &out.SharedVolumes
  501. *out = make([]string, len(*in))
  502. copy(*out, *in)
  503. }
  504. if in.Gateway != nil {
  505. in, out := &in.Gateway, &out.Gateway
  506. *out = new(OptionalComponent)
  507. (*in).DeepCopyInto(*out)
  508. }
  509. if in.VectorStore != nil {
  510. in, out := &in.VectorStore, &out.VectorStore
  511. *out = new(OptionalComponent)
  512. (*in).DeepCopyInto(*out)
  513. }
  514. if in.GraphStore != nil {
  515. in, out := &in.GraphStore, &out.GraphStore
  516. *out = new(OptionalComponent)
  517. (*in).DeepCopyInto(*out)
  518. }
  519. if in.Database != nil {
  520. in, out := &in.Database, &out.Database
  521. *out = new(OptionalComponent)
  522. (*in).DeepCopyInto(*out)
  523. }
  524. if in.Observability != nil {
  525. in, out := &in.Observability, &out.Observability
  526. *out = new(OptionalComponent)
  527. (*in).DeepCopyInto(*out)
  528. }
  529. }
  530. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  531. func (in *StackSpec) DeepCopy() *StackSpec {
  532. if in == nil {
  533. return nil
  534. }
  535. out := new(StackSpec)
  536. in.DeepCopyInto(out)
  537. return out
  538. }
  539. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  540. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  541. *out = *in
  542. out.ComponentStatus = in.ComponentStatus
  543. if in.Conditions != nil {
  544. in, out := &in.Conditions, &out.Conditions
  545. *out = make([]metav1.Condition, len(*in))
  546. for i := range *in {
  547. (*in)[i].DeepCopyInto(&(*out)[i])
  548. }
  549. }
  550. }
  551. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  552. func (in *StackStatus) DeepCopy() *StackStatus {
  553. if in == nil {
  554. return nil
  555. }
  556. out := new(StackStatus)
  557. in.DeepCopyInto(out)
  558. return out
  559. }
  560. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  561. func (in *Template) DeepCopyInto(out *Template) {
  562. *out = *in
  563. in.Metadata.DeepCopyInto(&out.Metadata)
  564. in.Spec.DeepCopyInto(&out.Spec)
  565. }
  566. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  567. func (in *Template) DeepCopy() *Template {
  568. if in == nil {
  569. return nil
  570. }
  571. out := new(Template)
  572. in.DeepCopyInto(out)
  573. return out
  574. }
  575. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  576. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  577. *out = *in
  578. in.Runtime.DeepCopyInto(&out.Runtime)
  579. if in.Volumes != nil {
  580. in, out := &in.Volumes, &out.Volumes
  581. *out = make([]v1.Volume, len(*in))
  582. for i := range *in {
  583. (*in)[i].DeepCopyInto(&(*out)[i])
  584. }
  585. }
  586. in.Resources.DeepCopyInto(&out.Resources)
  587. if in.NodeSelector != nil {
  588. in, out := &in.NodeSelector, &out.NodeSelector
  589. *out = make(map[string]string, len(*in))
  590. for key, val := range *in {
  591. (*out)[key] = val
  592. }
  593. }
  594. if in.Affinity != nil {
  595. in, out := &in.Affinity, &out.Affinity
  596. *out = new(v1.Affinity)
  597. (*in).DeepCopyInto(*out)
  598. }
  599. if in.Tolerations != nil {
  600. in, out := &in.Tolerations, &out.Tolerations
  601. *out = make([]v1.Toleration, len(*in))
  602. for i := range *in {
  603. (*in)[i].DeepCopyInto(&(*out)[i])
  604. }
  605. }
  606. if in.TopologySpreadConstraints != nil {
  607. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  608. *out = make([]v1.TopologySpreadConstraint, len(*in))
  609. for i := range *in {
  610. (*in)[i].DeepCopyInto(&(*out)[i])
  611. }
  612. }
  613. if in.SecurityContext != nil {
  614. in, out := &in.SecurityContext, &out.SecurityContext
  615. *out = new(v1.PodSecurityContext)
  616. (*in).DeepCopyInto(*out)
  617. }
  618. }
  619. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  620. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  621. if in == nil {
  622. return nil
  623. }
  624. out := new(TemplateSpec)
  625. in.DeepCopyInto(out)
  626. return out
  627. }