zz_generated.deepcopy.go 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019
  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 *ExternalTool) DeepCopyInto(out *ExternalTool) {
  347. *out = *in
  348. out.TypeMeta = in.TypeMeta
  349. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  350. in.Spec.DeepCopyInto(&out.Spec)
  351. in.Status.DeepCopyInto(&out.Status)
  352. }
  353. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTool.
  354. func (in *ExternalTool) DeepCopy() *ExternalTool {
  355. if in == nil {
  356. return nil
  357. }
  358. out := new(ExternalTool)
  359. in.DeepCopyInto(out)
  360. return out
  361. }
  362. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  363. func (in *ExternalTool) DeepCopyObject() runtime.Object {
  364. if c := in.DeepCopy(); c != nil {
  365. return c
  366. }
  367. return nil
  368. }
  369. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  370. func (in *ExternalToolList) DeepCopyInto(out *ExternalToolList) {
  371. *out = *in
  372. out.TypeMeta = in.TypeMeta
  373. in.ListMeta.DeepCopyInto(&out.ListMeta)
  374. if in.Items != nil {
  375. in, out := &in.Items, &out.Items
  376. *out = make([]ExternalTool, len(*in))
  377. for i := range *in {
  378. (*in)[i].DeepCopyInto(&(*out)[i])
  379. }
  380. }
  381. }
  382. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolList.
  383. func (in *ExternalToolList) DeepCopy() *ExternalToolList {
  384. if in == nil {
  385. return nil
  386. }
  387. out := new(ExternalToolList)
  388. in.DeepCopyInto(out)
  389. return out
  390. }
  391. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  392. func (in *ExternalToolList) DeepCopyObject() runtime.Object {
  393. if c := in.DeepCopy(); c != nil {
  394. return c
  395. }
  396. return nil
  397. }
  398. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  399. func (in *ExternalToolSpec) DeepCopyInto(out *ExternalToolSpec) {
  400. *out = *in
  401. if in.StackRef != nil {
  402. in, out := &in.StackRef, &out.StackRef
  403. *out = new(v1.LocalObjectReference)
  404. **out = **in
  405. }
  406. if in.Auth != nil {
  407. in, out := &in.Auth, &out.Auth
  408. *out = new(AuthSpec)
  409. (*in).DeepCopyInto(*out)
  410. }
  411. }
  412. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolSpec.
  413. func (in *ExternalToolSpec) DeepCopy() *ExternalToolSpec {
  414. if in == nil {
  415. return nil
  416. }
  417. out := new(ExternalToolSpec)
  418. in.DeepCopyInto(out)
  419. return out
  420. }
  421. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  422. func (in *ExternalToolStatus) DeepCopyInto(out *ExternalToolStatus) {
  423. *out = *in
  424. if in.Conditions != nil {
  425. in, out := &in.Conditions, &out.Conditions
  426. *out = make([]metav1.Condition, len(*in))
  427. for i := range *in {
  428. (*in)[i].DeepCopyInto(&(*out)[i])
  429. }
  430. }
  431. }
  432. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalToolStatus.
  433. func (in *ExternalToolStatus) DeepCopy() *ExternalToolStatus {
  434. if in == nil {
  435. return nil
  436. }
  437. out := new(ExternalToolStatus)
  438. in.DeepCopyInto(out)
  439. return out
  440. }
  441. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  442. func (in *HTTPHeaderSpec) DeepCopyInto(out *HTTPHeaderSpec) {
  443. *out = *in
  444. in.ValueFrom.DeepCopyInto(&out.ValueFrom)
  445. }
  446. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeaderSpec.
  447. func (in *HTTPHeaderSpec) DeepCopy() *HTTPHeaderSpec {
  448. if in == nil {
  449. return nil
  450. }
  451. out := new(HTTPHeaderSpec)
  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 *HuggingFaceArtifactSpec) DeepCopyInto(out *HuggingFaceArtifactSpec) {
  457. *out = *in
  458. if in.TokenSecretRef != nil {
  459. in, out := &in.TokenSecretRef, &out.TokenSecretRef
  460. *out = new(v1.SecretKeySelector)
  461. (*in).DeepCopyInto(*out)
  462. }
  463. }
  464. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HuggingFaceArtifactSpec.
  465. func (in *HuggingFaceArtifactSpec) DeepCopy() *HuggingFaceArtifactSpec {
  466. if in == nil {
  467. return nil
  468. }
  469. out := new(HuggingFaceArtifactSpec)
  470. in.DeepCopyInto(out)
  471. return out
  472. }
  473. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  474. func (in *InferenceParameters) DeepCopyInto(out *InferenceParameters) {
  475. *out = *in
  476. if in.MaxTokens != nil {
  477. in, out := &in.MaxTokens, &out.MaxTokens
  478. *out = new(int32)
  479. **out = **in
  480. }
  481. if in.Extra != nil {
  482. in, out := &in.Extra, &out.Extra
  483. *out = make(map[string]string, len(*in))
  484. for key, val := range *in {
  485. (*out)[key] = val
  486. }
  487. }
  488. }
  489. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceParameters.
  490. func (in *InferenceParameters) DeepCopy() *InferenceParameters {
  491. if in == nil {
  492. return nil
  493. }
  494. out := new(InferenceParameters)
  495. in.DeepCopyInto(out)
  496. return out
  497. }
  498. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  499. func (in *ManagedModel) DeepCopyInto(out *ManagedModel) {
  500. *out = *in
  501. out.TypeMeta = in.TypeMeta
  502. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  503. in.Spec.DeepCopyInto(&out.Spec)
  504. in.Status.DeepCopyInto(&out.Status)
  505. }
  506. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModel.
  507. func (in *ManagedModel) DeepCopy() *ManagedModel {
  508. if in == nil {
  509. return nil
  510. }
  511. out := new(ManagedModel)
  512. in.DeepCopyInto(out)
  513. return out
  514. }
  515. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  516. func (in *ManagedModel) DeepCopyObject() runtime.Object {
  517. if c := in.DeepCopy(); c != nil {
  518. return c
  519. }
  520. return nil
  521. }
  522. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  523. func (in *ManagedModelList) DeepCopyInto(out *ManagedModelList) {
  524. *out = *in
  525. out.TypeMeta = in.TypeMeta
  526. in.ListMeta.DeepCopyInto(&out.ListMeta)
  527. if in.Items != nil {
  528. in, out := &in.Items, &out.Items
  529. *out = make([]ManagedModel, len(*in))
  530. for i := range *in {
  531. (*in)[i].DeepCopyInto(&(*out)[i])
  532. }
  533. }
  534. }
  535. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelList.
  536. func (in *ManagedModelList) DeepCopy() *ManagedModelList {
  537. if in == nil {
  538. return nil
  539. }
  540. out := new(ManagedModelList)
  541. in.DeepCopyInto(out)
  542. return out
  543. }
  544. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  545. func (in *ManagedModelList) DeepCopyObject() runtime.Object {
  546. if c := in.DeepCopy(); c != nil {
  547. return c
  548. }
  549. return nil
  550. }
  551. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  552. func (in *ManagedModelSpec) DeepCopyInto(out *ManagedModelSpec) {
  553. *out = *in
  554. if in.StackRef != nil {
  555. in, out := &in.StackRef, &out.StackRef
  556. *out = new(v1.LocalObjectReference)
  557. **out = **in
  558. }
  559. in.Weights.DeepCopyInto(&out.Weights)
  560. if in.Template != nil {
  561. in, out := &in.Template, &out.Template
  562. *out = new(Template)
  563. (*in).DeepCopyInto(*out)
  564. }
  565. if in.RuntimeInferenceParams != nil {
  566. in, out := &in.RuntimeInferenceParams, &out.RuntimeInferenceParams
  567. *out = new(RuntimeInferenceParameters)
  568. (*in).DeepCopyInto(*out)
  569. }
  570. }
  571. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelSpec.
  572. func (in *ManagedModelSpec) DeepCopy() *ManagedModelSpec {
  573. if in == nil {
  574. return nil
  575. }
  576. out := new(ManagedModelSpec)
  577. in.DeepCopyInto(out)
  578. return out
  579. }
  580. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  581. func (in *ManagedModelStatus) DeepCopyInto(out *ManagedModelStatus) {
  582. *out = *in
  583. if in.Conditions != nil {
  584. in, out := &in.Conditions, &out.Conditions
  585. *out = make([]metav1.Condition, len(*in))
  586. for i := range *in {
  587. (*in)[i].DeepCopyInto(&(*out)[i])
  588. }
  589. }
  590. }
  591. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedModelStatus.
  592. func (in *ManagedModelStatus) DeepCopy() *ManagedModelStatus {
  593. if in == nil {
  594. return nil
  595. }
  596. out := new(ManagedModelStatus)
  597. in.DeepCopyInto(out)
  598. return out
  599. }
  600. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  601. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  602. *out = *in
  603. if in.Template != nil {
  604. in, out := &in.Template, &out.Template
  605. *out = new(Template)
  606. (*in).DeepCopyInto(*out)
  607. }
  608. }
  609. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  610. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  611. if in == nil {
  612. return nil
  613. }
  614. out := new(OptionalComponent)
  615. in.DeepCopyInto(out)
  616. return out
  617. }
  618. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  619. func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
  620. *out = *in
  621. }
  622. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
  623. func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
  624. if in == nil {
  625. return nil
  626. }
  627. out := new(PVCArtifactSpec)
  628. in.DeepCopyInto(out)
  629. return out
  630. }
  631. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  632. func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
  633. *out = *in
  634. if in.ContextWindow != nil {
  635. in, out := &in.ContextWindow, &out.ContextWindow
  636. *out = new(int32)
  637. **out = **in
  638. }
  639. if in.TopK != nil {
  640. in, out := &in.TopK, &out.TopK
  641. *out = new(int32)
  642. **out = **in
  643. }
  644. if in.Extra != nil {
  645. in, out := &in.Extra, &out.Extra
  646. *out = make(map[string]string, len(*in))
  647. for key, val := range *in {
  648. (*out)[key] = val
  649. }
  650. }
  651. }
  652. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
  653. func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
  654. if in == nil {
  655. return nil
  656. }
  657. out := new(RuntimeInferenceParameters)
  658. in.DeepCopyInto(out)
  659. return out
  660. }
  661. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  662. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  663. *out = *in
  664. if in.Command != nil {
  665. in, out := &in.Command, &out.Command
  666. *out = make([]string, len(*in))
  667. copy(*out, *in)
  668. }
  669. if in.Args != nil {
  670. in, out := &in.Args, &out.Args
  671. *out = make([]string, len(*in))
  672. copy(*out, *in)
  673. }
  674. if in.ExtraArgs != nil {
  675. in, out := &in.ExtraArgs, &out.ExtraArgs
  676. *out = make([]string, len(*in))
  677. copy(*out, *in)
  678. }
  679. if in.ConditionalArgs != nil {
  680. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  681. *out = make([]ConditionalArgs, len(*in))
  682. for i := range *in {
  683. (*in)[i].DeepCopyInto(&(*out)[i])
  684. }
  685. }
  686. if in.Env != nil {
  687. in, out := &in.Env, &out.Env
  688. *out = make([]v1.EnvVar, len(*in))
  689. for i := range *in {
  690. (*in)[i].DeepCopyInto(&(*out)[i])
  691. }
  692. }
  693. if in.EnvFrom != nil {
  694. in, out := &in.EnvFrom, &out.EnvFrom
  695. *out = make([]v1.EnvFromSource, len(*in))
  696. for i := range *in {
  697. (*in)[i].DeepCopyInto(&(*out)[i])
  698. }
  699. }
  700. if in.VolumeMounts != nil {
  701. in, out := &in.VolumeMounts, &out.VolumeMounts
  702. *out = make([]v1.VolumeMount, len(*in))
  703. for i := range *in {
  704. (*in)[i].DeepCopyInto(&(*out)[i])
  705. }
  706. }
  707. }
  708. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
  709. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  710. if in == nil {
  711. return nil
  712. }
  713. out := new(RuntimeSpec)
  714. in.DeepCopyInto(out)
  715. return out
  716. }
  717. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  718. func (in *Stack) DeepCopyInto(out *Stack) {
  719. *out = *in
  720. out.TypeMeta = in.TypeMeta
  721. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  722. in.Spec.DeepCopyInto(&out.Spec)
  723. in.Status.DeepCopyInto(&out.Status)
  724. }
  725. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  726. func (in *Stack) DeepCopy() *Stack {
  727. if in == nil {
  728. return nil
  729. }
  730. out := new(Stack)
  731. in.DeepCopyInto(out)
  732. return out
  733. }
  734. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  735. func (in *Stack) DeepCopyObject() runtime.Object {
  736. if c := in.DeepCopy(); c != nil {
  737. return c
  738. }
  739. return nil
  740. }
  741. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  742. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  743. *out = *in
  744. }
  745. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  746. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  747. if in == nil {
  748. return nil
  749. }
  750. out := new(StackComponentStatus)
  751. in.DeepCopyInto(out)
  752. return out
  753. }
  754. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  755. func (in *StackList) DeepCopyInto(out *StackList) {
  756. *out = *in
  757. out.TypeMeta = in.TypeMeta
  758. in.ListMeta.DeepCopyInto(&out.ListMeta)
  759. if in.Items != nil {
  760. in, out := &in.Items, &out.Items
  761. *out = make([]Stack, len(*in))
  762. for i := range *in {
  763. (*in)[i].DeepCopyInto(&(*out)[i])
  764. }
  765. }
  766. }
  767. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  768. func (in *StackList) DeepCopy() *StackList {
  769. if in == nil {
  770. return nil
  771. }
  772. out := new(StackList)
  773. in.DeepCopyInto(out)
  774. return out
  775. }
  776. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  777. func (in *StackList) DeepCopyObject() runtime.Object {
  778. if c := in.DeepCopy(); c != nil {
  779. return c
  780. }
  781. return nil
  782. }
  783. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  784. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  785. *out = *in
  786. if in.SharedVolumes != nil {
  787. in, out := &in.SharedVolumes, &out.SharedVolumes
  788. *out = make([]string, len(*in))
  789. copy(*out, *in)
  790. }
  791. if in.Gateway != nil {
  792. in, out := &in.Gateway, &out.Gateway
  793. *out = new(OptionalComponent)
  794. (*in).DeepCopyInto(*out)
  795. }
  796. if in.VectorStore != nil {
  797. in, out := &in.VectorStore, &out.VectorStore
  798. *out = new(OptionalComponent)
  799. (*in).DeepCopyInto(*out)
  800. }
  801. if in.GraphStore != nil {
  802. in, out := &in.GraphStore, &out.GraphStore
  803. *out = new(OptionalComponent)
  804. (*in).DeepCopyInto(*out)
  805. }
  806. if in.Database != nil {
  807. in, out := &in.Database, &out.Database
  808. *out = new(OptionalComponent)
  809. (*in).DeepCopyInto(*out)
  810. }
  811. if in.Observability != nil {
  812. in, out := &in.Observability, &out.Observability
  813. *out = new(OptionalComponent)
  814. (*in).DeepCopyInto(*out)
  815. }
  816. }
  817. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  818. func (in *StackSpec) DeepCopy() *StackSpec {
  819. if in == nil {
  820. return nil
  821. }
  822. out := new(StackSpec)
  823. in.DeepCopyInto(out)
  824. return out
  825. }
  826. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  827. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  828. *out = *in
  829. out.ComponentStatus = in.ComponentStatus
  830. if in.Conditions != nil {
  831. in, out := &in.Conditions, &out.Conditions
  832. *out = make([]metav1.Condition, len(*in))
  833. for i := range *in {
  834. (*in)[i].DeepCopyInto(&(*out)[i])
  835. }
  836. }
  837. }
  838. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  839. func (in *StackStatus) DeepCopy() *StackStatus {
  840. if in == nil {
  841. return nil
  842. }
  843. out := new(StackStatus)
  844. in.DeepCopyInto(out)
  845. return out
  846. }
  847. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  848. func (in *Template) DeepCopyInto(out *Template) {
  849. *out = *in
  850. in.Metadata.DeepCopyInto(&out.Metadata)
  851. in.Spec.DeepCopyInto(&out.Spec)
  852. }
  853. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  854. func (in *Template) DeepCopy() *Template {
  855. if in == nil {
  856. return nil
  857. }
  858. out := new(Template)
  859. in.DeepCopyInto(out)
  860. return out
  861. }
  862. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  863. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  864. *out = *in
  865. in.Runtime.DeepCopyInto(&out.Runtime)
  866. if in.Volumes != nil {
  867. in, out := &in.Volumes, &out.Volumes
  868. *out = make([]v1.Volume, len(*in))
  869. for i := range *in {
  870. (*in)[i].DeepCopyInto(&(*out)[i])
  871. }
  872. }
  873. in.Resources.DeepCopyInto(&out.Resources)
  874. if in.NodeSelector != nil {
  875. in, out := &in.NodeSelector, &out.NodeSelector
  876. *out = make(map[string]string, len(*in))
  877. for key, val := range *in {
  878. (*out)[key] = val
  879. }
  880. }
  881. if in.Affinity != nil {
  882. in, out := &in.Affinity, &out.Affinity
  883. *out = new(v1.Affinity)
  884. (*in).DeepCopyInto(*out)
  885. }
  886. if in.Tolerations != nil {
  887. in, out := &in.Tolerations, &out.Tolerations
  888. *out = make([]v1.Toleration, len(*in))
  889. for i := range *in {
  890. (*in)[i].DeepCopyInto(&(*out)[i])
  891. }
  892. }
  893. if in.TopologySpreadConstraints != nil {
  894. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  895. *out = make([]v1.TopologySpreadConstraint, len(*in))
  896. for i := range *in {
  897. (*in)[i].DeepCopyInto(&(*out)[i])
  898. }
  899. }
  900. if in.SecurityContext != nil {
  901. in, out := &in.SecurityContext, &out.SecurityContext
  902. *out = new(v1.PodSecurityContext)
  903. (*in).DeepCopyInto(*out)
  904. }
  905. }
  906. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  907. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  908. if in == nil {
  909. return nil
  910. }
  911. out := new(TemplateSpec)
  912. in.DeepCopyInto(out)
  913. return out
  914. }
  915. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  916. func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
  917. *out = *in
  918. if in.AuthSecretRef != nil {
  919. in, out := &in.AuthSecretRef, &out.AuthSecretRef
  920. *out = new(v1.LocalObjectReference)
  921. **out = **in
  922. }
  923. }
  924. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
  925. func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
  926. if in == nil {
  927. return nil
  928. }
  929. out := new(URLArtifactSpec)
  930. in.DeepCopyInto(out)
  931. return out
  932. }