zz_generated.deepcopy.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913
  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 *ArtifactSpec) DeepCopyInto(out *ArtifactSpec) {
  23. *out = *in
  24. if in.HuggingFace != nil {
  25. in, out := &in.HuggingFace, &out.HuggingFace
  26. *out = new(HuggingFaceArtifactSpec)
  27. (*in).DeepCopyInto(*out)
  28. }
  29. if in.URL != nil {
  30. in, out := &in.URL, &out.URL
  31. *out = new(URLArtifactSpec)
  32. (*in).DeepCopyInto(*out)
  33. }
  34. if in.PVC != nil {
  35. in, out := &in.PVC, &out.PVC
  36. *out = new(PVCArtifactSpec)
  37. **out = **in
  38. }
  39. }
  40. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArtifactSpec.
  41. func (in *ArtifactSpec) DeepCopy() *ArtifactSpec {
  42. if in == nil {
  43. return nil
  44. }
  45. out := new(ArtifactSpec)
  46. in.DeepCopyInto(out)
  47. return out
  48. }
  49. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  50. func (in *AuthAPIKey) DeepCopyInto(out *AuthAPIKey) {
  51. *out = *in
  52. in.SecretRef.DeepCopyInto(&out.SecretRef)
  53. }
  54. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthAPIKey.
  55. func (in *AuthAPIKey) DeepCopy() *AuthAPIKey {
  56. if in == nil {
  57. return nil
  58. }
  59. out := new(AuthAPIKey)
  60. in.DeepCopyInto(out)
  61. return out
  62. }
  63. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  64. func (in *AuthSpec) DeepCopyInto(out *AuthSpec) {
  65. *out = *in
  66. if in.BearerToken != nil {
  67. in, out := &in.BearerToken, &out.BearerToken
  68. *out = new(v1.SecretKeySelector)
  69. (*in).DeepCopyInto(*out)
  70. }
  71. if in.APIKey != nil {
  72. in, out := &in.APIKey, &out.APIKey
  73. *out = new(AuthAPIKey)
  74. (*in).DeepCopyInto(*out)
  75. }
  76. if in.Headers != nil {
  77. in, out := &in.Headers, &out.Headers
  78. *out = make([]HTTPHeaderSpec, len(*in))
  79. for i := range *in {
  80. (*in)[i].DeepCopyInto(&(*out)[i])
  81. }
  82. }
  83. }
  84. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
  85. func (in *AuthSpec) DeepCopy() *AuthSpec {
  86. if in == nil {
  87. return nil
  88. }
  89. out := new(AuthSpec)
  90. in.DeepCopyInto(out)
  91. return out
  92. }
  93. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  94. func (in *Component) DeepCopyInto(out *Component) {
  95. *out = *in
  96. out.TypeMeta = in.TypeMeta
  97. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  98. in.Spec.DeepCopyInto(&out.Spec)
  99. in.Status.DeepCopyInto(&out.Status)
  100. }
  101. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
  102. func (in *Component) DeepCopy() *Component {
  103. if in == nil {
  104. return nil
  105. }
  106. out := new(Component)
  107. in.DeepCopyInto(out)
  108. return out
  109. }
  110. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  111. func (in *Component) DeepCopyObject() runtime.Object {
  112. if c := in.DeepCopy(); c != nil {
  113. return c
  114. }
  115. return nil
  116. }
  117. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  118. func (in *ComponentList) DeepCopyInto(out *ComponentList) {
  119. *out = *in
  120. out.TypeMeta = in.TypeMeta
  121. in.ListMeta.DeepCopyInto(&out.ListMeta)
  122. if in.Items != nil {
  123. in, out := &in.Items, &out.Items
  124. *out = make([]Component, len(*in))
  125. for i := range *in {
  126. (*in)[i].DeepCopyInto(&(*out)[i])
  127. }
  128. }
  129. }
  130. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentList.
  131. func (in *ComponentList) DeepCopy() *ComponentList {
  132. if in == nil {
  133. return nil
  134. }
  135. out := new(ComponentList)
  136. in.DeepCopyInto(out)
  137. return out
  138. }
  139. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  140. func (in *ComponentList) DeepCopyObject() runtime.Object {
  141. if c := in.DeepCopy(); c != nil {
  142. return c
  143. }
  144. return nil
  145. }
  146. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  147. func (in *ComponentSpec) DeepCopyInto(out *ComponentSpec) {
  148. *out = *in
  149. if in.Template != nil {
  150. in, out := &in.Template, &out.Template
  151. *out = new(Template)
  152. (*in).DeepCopyInto(*out)
  153. }
  154. if in.Variables != nil {
  155. in, out := &in.Variables, &out.Variables
  156. *out = make(map[string]string, len(*in))
  157. for key, val := range *in {
  158. (*out)[key] = val
  159. }
  160. }
  161. if in.Dependencies != nil {
  162. in, out := &in.Dependencies, &out.Dependencies
  163. *out = make([]v1.ObjectReference, len(*in))
  164. copy(*out, *in)
  165. }
  166. if in.StackRef != nil {
  167. in, out := &in.StackRef, &out.StackRef
  168. *out = new(v1.LocalObjectReference)
  169. **out = **in
  170. }
  171. }
  172. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentSpec.
  173. func (in *ComponentSpec) DeepCopy() *ComponentSpec {
  174. if in == nil {
  175. return nil
  176. }
  177. out := new(ComponentSpec)
  178. in.DeepCopyInto(out)
  179. return out
  180. }
  181. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  182. func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) {
  183. *out = *in
  184. if in.Dependencies != nil {
  185. in, out := &in.Dependencies, &out.Dependencies
  186. *out = make(map[string]map[string]int64, len(*in))
  187. for key, val := range *in {
  188. var outVal map[string]int64
  189. if val == nil {
  190. (*out)[key] = nil
  191. } else {
  192. inVal := (*in)[key]
  193. in, out := &inVal, &outVal
  194. *out = make(map[string]int64, len(*in))
  195. for key, val := range *in {
  196. (*out)[key] = val
  197. }
  198. }
  199. (*out)[key] = outVal
  200. }
  201. }
  202. if in.Conditions != nil {
  203. in, out := &in.Conditions, &out.Conditions
  204. *out = make([]metav1.Condition, len(*in))
  205. for i := range *in {
  206. (*in)[i].DeepCopyInto(&(*out)[i])
  207. }
  208. }
  209. }
  210. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
  211. func (in *ComponentStatus) DeepCopy() *ComponentStatus {
  212. if in == nil {
  213. return nil
  214. }
  215. out := new(ComponentStatus)
  216. in.DeepCopyInto(out)
  217. return out
  218. }
  219. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  220. func (in *ConditionalArgs) DeepCopyInto(out *ConditionalArgs) {
  221. *out = *in
  222. if in.Args != nil {
  223. in, out := &in.Args, &out.Args
  224. *out = make([]string, len(*in))
  225. copy(*out, *in)
  226. }
  227. }
  228. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConditionalArgs.
  229. func (in *ConditionalArgs) DeepCopy() *ConditionalArgs {
  230. if in == nil {
  231. return nil
  232. }
  233. out := new(ConditionalArgs)
  234. in.DeepCopyInto(out)
  235. return out
  236. }
  237. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  238. func (in *ExternalModel) DeepCopyInto(out *ExternalModel) {
  239. *out = *in
  240. out.TypeMeta = in.TypeMeta
  241. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  242. in.Spec.DeepCopyInto(&out.Spec)
  243. in.Status.DeepCopyInto(&out.Status)
  244. }
  245. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModel.
  246. func (in *ExternalModel) DeepCopy() *ExternalModel {
  247. if in == nil {
  248. return nil
  249. }
  250. out := new(ExternalModel)
  251. in.DeepCopyInto(out)
  252. return out
  253. }
  254. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  255. func (in *ExternalModel) DeepCopyObject() runtime.Object {
  256. if c := in.DeepCopy(); c != nil {
  257. return c
  258. }
  259. return nil
  260. }
  261. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  262. func (in *ExternalModelList) DeepCopyInto(out *ExternalModelList) {
  263. *out = *in
  264. out.TypeMeta = in.TypeMeta
  265. in.ListMeta.DeepCopyInto(&out.ListMeta)
  266. if in.Items != nil {
  267. in, out := &in.Items, &out.Items
  268. *out = make([]ExternalModel, len(*in))
  269. for i := range *in {
  270. (*in)[i].DeepCopyInto(&(*out)[i])
  271. }
  272. }
  273. }
  274. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelList.
  275. func (in *ExternalModelList) DeepCopy() *ExternalModelList {
  276. if in == nil {
  277. return nil
  278. }
  279. out := new(ExternalModelList)
  280. in.DeepCopyInto(out)
  281. return out
  282. }
  283. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  284. func (in *ExternalModelList) DeepCopyObject() runtime.Object {
  285. if c := in.DeepCopy(); c != nil {
  286. return c
  287. }
  288. return nil
  289. }
  290. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  291. func (in *ExternalModelSpec) DeepCopyInto(out *ExternalModelSpec) {
  292. *out = *in
  293. if in.StackRef != nil {
  294. in, out := &in.StackRef, &out.StackRef
  295. *out = new(v1.LocalObjectReference)
  296. **out = **in
  297. }
  298. if in.Auth != nil {
  299. in, out := &in.Auth, &out.Auth
  300. *out = new(AuthSpec)
  301. (*in).DeepCopyInto(*out)
  302. }
  303. if in.ExtraParams != nil {
  304. in, out := &in.ExtraParams, &out.ExtraParams
  305. *out = make(map[string]string, len(*in))
  306. for key, val := range *in {
  307. (*out)[key] = val
  308. }
  309. }
  310. if in.DefaultInferenceParams != nil {
  311. in, out := &in.DefaultInferenceParams, &out.DefaultInferenceParams
  312. *out = new(InferenceParameters)
  313. (*in).DeepCopyInto(*out)
  314. }
  315. }
  316. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelSpec.
  317. func (in *ExternalModelSpec) DeepCopy() *ExternalModelSpec {
  318. if in == nil {
  319. return nil
  320. }
  321. out := new(ExternalModelSpec)
  322. in.DeepCopyInto(out)
  323. return out
  324. }
  325. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  326. func (in *ExternalModelStatus) DeepCopyInto(out *ExternalModelStatus) {
  327. *out = *in
  328. if in.Conditions != nil {
  329. in, out := &in.Conditions, &out.Conditions
  330. *out = make([]metav1.Condition, len(*in))
  331. for i := range *in {
  332. (*in)[i].DeepCopyInto(&(*out)[i])
  333. }
  334. }
  335. }
  336. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalModelStatus.
  337. func (in *ExternalModelStatus) DeepCopy() *ExternalModelStatus {
  338. if in == nil {
  339. return nil
  340. }
  341. out := new(ExternalModelStatus)
  342. in.DeepCopyInto(out)
  343. return out
  344. }
  345. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  346. func (in *HTTPHeaderSpec) DeepCopyInto(out *HTTPHeaderSpec) {
  347. *out = *in
  348. in.ValueFrom.DeepCopyInto(&out.ValueFrom)
  349. }
  350. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSpec.
  351. func (in *HTTPHeaderSpec) DeepCopy() *HTTPHeaderSpec {
  352. if in == nil {
  353. return nil
  354. }
  355. out := new(HTTPHeaderSpec)
  356. in.DeepCopyInto(out)
  357. return out
  358. }
  359. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  360. func (in *HuggingFaceArtifactSpec) DeepCopyInto(out *HuggingFaceArtifactSpec) {
  361. *out = *in
  362. if in.TokenSecretRef != nil {
  363. in, out := &in.TokenSecretRef, &out.TokenSecretRef
  364. *out = new(v1.SecretKeySelector)
  365. (*in).DeepCopyInto(*out)
  366. }
  367. }
  368. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HuggingFaceArtifactSpec.
  369. func (in *HuggingFaceArtifactSpec) DeepCopy() *HuggingFaceArtifactSpec {
  370. if in == nil {
  371. return nil
  372. }
  373. out := new(HuggingFaceArtifactSpec)
  374. in.DeepCopyInto(out)
  375. return out
  376. }
  377. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  378. func (in *InferenceParameters) DeepCopyInto(out *InferenceParameters) {
  379. *out = *in
  380. if in.MaxTokens != nil {
  381. in, out := &in.MaxTokens, &out.MaxTokens
  382. *out = new(int32)
  383. **out = **in
  384. }
  385. if in.Extra != nil {
  386. in, out := &in.Extra, &out.Extra
  387. *out = make(map[string]string, len(*in))
  388. for key, val := range *in {
  389. (*out)[key] = val
  390. }
  391. }
  392. }
  393. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceParameters.
  394. func (in *InferenceParameters) DeepCopy() *InferenceParameters {
  395. if in == nil {
  396. return nil
  397. }
  398. out := new(InferenceParameters)
  399. in.DeepCopyInto(out)
  400. return out
  401. }
  402. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  403. func (in *ManagedModel) DeepCopyInto(out *ManagedModel) {
  404. *out = *in
  405. out.TypeMeta = in.TypeMeta
  406. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  407. in.Spec.DeepCopyInto(&out.Spec)
  408. in.Status.DeepCopyInto(&out.Status)
  409. }
  410. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModel.
  411. func (in *ManagedModel) DeepCopy() *ManagedModel {
  412. if in == nil {
  413. return nil
  414. }
  415. out := new(ManagedModel)
  416. in.DeepCopyInto(out)
  417. return out
  418. }
  419. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  420. func (in *ManagedModel) DeepCopyObject() runtime.Object {
  421. if c := in.DeepCopy(); c != nil {
  422. return c
  423. }
  424. return nil
  425. }
  426. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  427. func (in *ManagedModelList) DeepCopyInto(out *ManagedModelList) {
  428. *out = *in
  429. out.TypeMeta = in.TypeMeta
  430. in.ListMeta.DeepCopyInto(&out.ListMeta)
  431. if in.Items != nil {
  432. in, out := &in.Items, &out.Items
  433. *out = make([]ManagedModel, len(*in))
  434. for i := range *in {
  435. (*in)[i].DeepCopyInto(&(*out)[i])
  436. }
  437. }
  438. }
  439. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelList.
  440. func (in *ManagedModelList) DeepCopy() *ManagedModelList {
  441. if in == nil {
  442. return nil
  443. }
  444. out := new(ManagedModelList)
  445. in.DeepCopyInto(out)
  446. return out
  447. }
  448. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  449. func (in *ManagedModelList) DeepCopyObject() runtime.Object {
  450. if c := in.DeepCopy(); c != nil {
  451. return c
  452. }
  453. return nil
  454. }
  455. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  456. func (in *ManagedModelSpec) DeepCopyInto(out *ManagedModelSpec) {
  457. *out = *in
  458. if in.StackRef != nil {
  459. in, out := &in.StackRef, &out.StackRef
  460. *out = new(v1.LocalObjectReference)
  461. **out = **in
  462. }
  463. in.Weights.DeepCopyInto(&out.Weights)
  464. if in.Template != nil {
  465. in, out := &in.Template, &out.Template
  466. *out = new(Template)
  467. (*in).DeepCopyInto(*out)
  468. }
  469. if in.RuntimeInferenceParams != nil {
  470. in, out := &in.RuntimeInferenceParams, &out.RuntimeInferenceParams
  471. *out = new(RuntimeInferenceParameters)
  472. (*in).DeepCopyInto(*out)
  473. }
  474. }
  475. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelSpec.
  476. func (in *ManagedModelSpec) DeepCopy() *ManagedModelSpec {
  477. if in == nil {
  478. return nil
  479. }
  480. out := new(ManagedModelSpec)
  481. in.DeepCopyInto(out)
  482. return out
  483. }
  484. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  485. func (in *ManagedModelStatus) DeepCopyInto(out *ManagedModelStatus) {
  486. *out = *in
  487. if in.Conditions != nil {
  488. in, out := &in.Conditions, &out.Conditions
  489. *out = make([]metav1.Condition, len(*in))
  490. for i := range *in {
  491. (*in)[i].DeepCopyInto(&(*out)[i])
  492. }
  493. }
  494. }
  495. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelStatus.
  496. func (in *ManagedModelStatus) DeepCopy() *ManagedModelStatus {
  497. if in == nil {
  498. return nil
  499. }
  500. out := new(ManagedModelStatus)
  501. in.DeepCopyInto(out)
  502. return out
  503. }
  504. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  505. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  506. *out = *in
  507. if in.Template != nil {
  508. in, out := &in.Template, &out.Template
  509. *out = new(Template)
  510. (*in).DeepCopyInto(*out)
  511. }
  512. }
  513. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  514. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  515. if in == nil {
  516. return nil
  517. }
  518. out := new(OptionalComponent)
  519. in.DeepCopyInto(out)
  520. return out
  521. }
  522. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  523. func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
  524. *out = *in
  525. }
  526. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
  527. func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
  528. if in == nil {
  529. return nil
  530. }
  531. out := new(PVCArtifactSpec)
  532. in.DeepCopyInto(out)
  533. return out
  534. }
  535. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  536. func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
  537. *out = *in
  538. if in.ContextWindow != nil {
  539. in, out := &in.ContextWindow, &out.ContextWindow
  540. *out = new(int32)
  541. **out = **in
  542. }
  543. if in.TopK != nil {
  544. in, out := &in.TopK, &out.TopK
  545. *out = new(int32)
  546. **out = **in
  547. }
  548. if in.Extra != nil {
  549. in, out := &in.Extra, &out.Extra
  550. *out = make(map[string]string, len(*in))
  551. for key, val := range *in {
  552. (*out)[key] = val
  553. }
  554. }
  555. }
  556. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
  557. func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
  558. if in == nil {
  559. return nil
  560. }
  561. out := new(RuntimeInferenceParameters)
  562. in.DeepCopyInto(out)
  563. return out
  564. }
  565. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  566. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  567. *out = *in
  568. if in.Command != nil {
  569. in, out := &in.Command, &out.Command
  570. *out = make([]string, len(*in))
  571. copy(*out, *in)
  572. }
  573. if in.Args != nil {
  574. in, out := &in.Args, &out.Args
  575. *out = make([]string, len(*in))
  576. copy(*out, *in)
  577. }
  578. if in.ExtraArgs != nil {
  579. in, out := &in.ExtraArgs, &out.ExtraArgs
  580. *out = make([]string, len(*in))
  581. copy(*out, *in)
  582. }
  583. if in.ConditionalArgs != nil {
  584. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  585. *out = make([]ConditionalArgs, len(*in))
  586. for i := range *in {
  587. (*in)[i].DeepCopyInto(&(*out)[i])
  588. }
  589. }
  590. if in.Env != nil {
  591. in, out := &in.Env, &out.Env
  592. *out = make([]v1.EnvVar, len(*in))
  593. for i := range *in {
  594. (*in)[i].DeepCopyInto(&(*out)[i])
  595. }
  596. }
  597. if in.EnvFrom != nil {
  598. in, out := &in.EnvFrom, &out.EnvFrom
  599. *out = make([]v1.EnvFromSource, len(*in))
  600. for i := range *in {
  601. (*in)[i].DeepCopyInto(&(*out)[i])
  602. }
  603. }
  604. if in.VolumeMounts != nil {
  605. in, out := &in.VolumeMounts, &out.VolumeMounts
  606. *out = make([]v1.VolumeMount, len(*in))
  607. for i := range *in {
  608. (*in)[i].DeepCopyInto(&(*out)[i])
  609. }
  610. }
  611. }
  612. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
  613. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  614. if in == nil {
  615. return nil
  616. }
  617. out := new(RuntimeSpec)
  618. in.DeepCopyInto(out)
  619. return out
  620. }
  621. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  622. func (in *Stack) DeepCopyInto(out *Stack) {
  623. *out = *in
  624. out.TypeMeta = in.TypeMeta
  625. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  626. in.Spec.DeepCopyInto(&out.Spec)
  627. in.Status.DeepCopyInto(&out.Status)
  628. }
  629. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  630. func (in *Stack) DeepCopy() *Stack {
  631. if in == nil {
  632. return nil
  633. }
  634. out := new(Stack)
  635. in.DeepCopyInto(out)
  636. return out
  637. }
  638. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  639. func (in *Stack) DeepCopyObject() runtime.Object {
  640. if c := in.DeepCopy(); c != nil {
  641. return c
  642. }
  643. return nil
  644. }
  645. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  646. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  647. *out = *in
  648. }
  649. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  650. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  651. if in == nil {
  652. return nil
  653. }
  654. out := new(StackComponentStatus)
  655. in.DeepCopyInto(out)
  656. return out
  657. }
  658. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  659. func (in *StackList) DeepCopyInto(out *StackList) {
  660. *out = *in
  661. out.TypeMeta = in.TypeMeta
  662. in.ListMeta.DeepCopyInto(&out.ListMeta)
  663. if in.Items != nil {
  664. in, out := &in.Items, &out.Items
  665. *out = make([]Stack, len(*in))
  666. for i := range *in {
  667. (*in)[i].DeepCopyInto(&(*out)[i])
  668. }
  669. }
  670. }
  671. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  672. func (in *StackList) DeepCopy() *StackList {
  673. if in == nil {
  674. return nil
  675. }
  676. out := new(StackList)
  677. in.DeepCopyInto(out)
  678. return out
  679. }
  680. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  681. func (in *StackList) DeepCopyObject() runtime.Object {
  682. if c := in.DeepCopy(); c != nil {
  683. return c
  684. }
  685. return nil
  686. }
  687. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  688. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  689. *out = *in
  690. if in.SharedVolumes != nil {
  691. in, out := &in.SharedVolumes, &out.SharedVolumes
  692. *out = make([]string, len(*in))
  693. copy(*out, *in)
  694. }
  695. if in.Gateway != nil {
  696. in, out := &in.Gateway, &out.Gateway
  697. *out = new(OptionalComponent)
  698. (*in).DeepCopyInto(*out)
  699. }
  700. if in.VectorStore != nil {
  701. in, out := &in.VectorStore, &out.VectorStore
  702. *out = new(OptionalComponent)
  703. (*in).DeepCopyInto(*out)
  704. }
  705. if in.GraphStore != nil {
  706. in, out := &in.GraphStore, &out.GraphStore
  707. *out = new(OptionalComponent)
  708. (*in).DeepCopyInto(*out)
  709. }
  710. if in.Database != nil {
  711. in, out := &in.Database, &out.Database
  712. *out = new(OptionalComponent)
  713. (*in).DeepCopyInto(*out)
  714. }
  715. if in.Observability != nil {
  716. in, out := &in.Observability, &out.Observability
  717. *out = new(OptionalComponent)
  718. (*in).DeepCopyInto(*out)
  719. }
  720. }
  721. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  722. func (in *StackSpec) DeepCopy() *StackSpec {
  723. if in == nil {
  724. return nil
  725. }
  726. out := new(StackSpec)
  727. in.DeepCopyInto(out)
  728. return out
  729. }
  730. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  731. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  732. *out = *in
  733. out.ComponentStatus = in.ComponentStatus
  734. if in.Conditions != nil {
  735. in, out := &in.Conditions, &out.Conditions
  736. *out = make([]metav1.Condition, len(*in))
  737. for i := range *in {
  738. (*in)[i].DeepCopyInto(&(*out)[i])
  739. }
  740. }
  741. }
  742. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  743. func (in *StackStatus) DeepCopy() *StackStatus {
  744. if in == nil {
  745. return nil
  746. }
  747. out := new(StackStatus)
  748. in.DeepCopyInto(out)
  749. return out
  750. }
  751. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  752. func (in *Template) DeepCopyInto(out *Template) {
  753. *out = *in
  754. in.Metadata.DeepCopyInto(&out.Metadata)
  755. in.Spec.DeepCopyInto(&out.Spec)
  756. }
  757. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  758. func (in *Template) DeepCopy() *Template {
  759. if in == nil {
  760. return nil
  761. }
  762. out := new(Template)
  763. in.DeepCopyInto(out)
  764. return out
  765. }
  766. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  767. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  768. *out = *in
  769. in.Runtime.DeepCopyInto(&out.Runtime)
  770. if in.Volumes != nil {
  771. in, out := &in.Volumes, &out.Volumes
  772. *out = make([]v1.Volume, len(*in))
  773. for i := range *in {
  774. (*in)[i].DeepCopyInto(&(*out)[i])
  775. }
  776. }
  777. in.Resources.DeepCopyInto(&out.Resources)
  778. if in.NodeSelector != nil {
  779. in, out := &in.NodeSelector, &out.NodeSelector
  780. *out = make(map[string]string, len(*in))
  781. for key, val := range *in {
  782. (*out)[key] = val
  783. }
  784. }
  785. if in.Affinity != nil {
  786. in, out := &in.Affinity, &out.Affinity
  787. *out = new(v1.Affinity)
  788. (*in).DeepCopyInto(*out)
  789. }
  790. if in.Tolerations != nil {
  791. in, out := &in.Tolerations, &out.Tolerations
  792. *out = make([]v1.Toleration, len(*in))
  793. for i := range *in {
  794. (*in)[i].DeepCopyInto(&(*out)[i])
  795. }
  796. }
  797. if in.TopologySpreadConstraints != nil {
  798. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  799. *out = make([]v1.TopologySpreadConstraint, len(*in))
  800. for i := range *in {
  801. (*in)[i].DeepCopyInto(&(*out)[i])
  802. }
  803. }
  804. if in.SecurityContext != nil {
  805. in, out := &in.SecurityContext, &out.SecurityContext
  806. *out = new(v1.PodSecurityContext)
  807. (*in).DeepCopyInto(*out)
  808. }
  809. }
  810. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  811. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  812. if in == nil {
  813. return nil
  814. }
  815. out := new(TemplateSpec)
  816. in.DeepCopyInto(out)
  817. return out
  818. }
  819. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  820. func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
  821. *out = *in
  822. if in.AuthSecretRef != nil {
  823. in, out := &in.AuthSecretRef, &out.AuthSecretRef
  824. *out = new(v1.LocalObjectReference)
  825. **out = **in
  826. }
  827. }
  828. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
  829. func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
  830. if in == nil {
  831. return nil
  832. }
  833. out := new(URLArtifactSpec)
  834. in.DeepCopyInto(out)
  835. return out
  836. }