zz_generated.deepcopy.go 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130
  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 *ManagedTool) DeepCopyInto(out *ManagedTool) {
  602. *out = *in
  603. out.TypeMeta = in.TypeMeta
  604. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  605. in.Spec.DeepCopyInto(&out.Spec)
  606. in.Status.DeepCopyInto(&out.Status)
  607. }
  608. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedTool.
  609. func (in *ManagedTool) DeepCopy() *ManagedTool {
  610. if in == nil {
  611. return nil
  612. }
  613. out := new(ManagedTool)
  614. in.DeepCopyInto(out)
  615. return out
  616. }
  617. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  618. func (in *ManagedTool) DeepCopyObject() runtime.Object {
  619. if c := in.DeepCopy(); c != nil {
  620. return c
  621. }
  622. return nil
  623. }
  624. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  625. func (in *ManagedToolList) DeepCopyInto(out *ManagedToolList) {
  626. *out = *in
  627. out.TypeMeta = in.TypeMeta
  628. in.ListMeta.DeepCopyInto(&out.ListMeta)
  629. if in.Items != nil {
  630. in, out := &in.Items, &out.Items
  631. *out = make([]ManagedTool, len(*in))
  632. for i := range *in {
  633. (*in)[i].DeepCopyInto(&(*out)[i])
  634. }
  635. }
  636. }
  637. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolList.
  638. func (in *ManagedToolList) DeepCopy() *ManagedToolList {
  639. if in == nil {
  640. return nil
  641. }
  642. out := new(ManagedToolList)
  643. in.DeepCopyInto(out)
  644. return out
  645. }
  646. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  647. func (in *ManagedToolList) DeepCopyObject() runtime.Object {
  648. if c := in.DeepCopy(); c != nil {
  649. return c
  650. }
  651. return nil
  652. }
  653. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  654. func (in *ManagedToolSpec) DeepCopyInto(out *ManagedToolSpec) {
  655. *out = *in
  656. if in.StackRef != nil {
  657. in, out := &in.StackRef, &out.StackRef
  658. *out = new(v1.LocalObjectReference)
  659. **out = **in
  660. }
  661. if in.Auth != nil {
  662. in, out := &in.Auth, &out.Auth
  663. *out = new(AuthSpec)
  664. (*in).DeepCopyInto(*out)
  665. }
  666. if in.Template != nil {
  667. in, out := &in.Template, &out.Template
  668. *out = new(Template)
  669. (*in).DeepCopyInto(*out)
  670. }
  671. }
  672. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolSpec.
  673. func (in *ManagedToolSpec) DeepCopy() *ManagedToolSpec {
  674. if in == nil {
  675. return nil
  676. }
  677. out := new(ManagedToolSpec)
  678. in.DeepCopyInto(out)
  679. return out
  680. }
  681. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  682. func (in *ManagedToolStatus) DeepCopyInto(out *ManagedToolStatus) {
  683. *out = *in
  684. if in.Conditions != nil {
  685. in, out := &in.Conditions, &out.Conditions
  686. *out = make([]metav1.Condition, len(*in))
  687. for i := range *in {
  688. (*in)[i].DeepCopyInto(&(*out)[i])
  689. }
  690. }
  691. }
  692. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedToolStatus.
  693. func (in *ManagedToolStatus) DeepCopy() *ManagedToolStatus {
  694. if in == nil {
  695. return nil
  696. }
  697. out := new(ManagedToolStatus)
  698. in.DeepCopyInto(out)
  699. return out
  700. }
  701. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  702. func (in *OptionalComponent) DeepCopyInto(out *OptionalComponent) {
  703. *out = *in
  704. if in.Template != nil {
  705. in, out := &in.Template, &out.Template
  706. *out = new(Template)
  707. (*in).DeepCopyInto(*out)
  708. }
  709. }
  710. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalComponent.
  711. func (in *OptionalComponent) DeepCopy() *OptionalComponent {
  712. if in == nil {
  713. return nil
  714. }
  715. out := new(OptionalComponent)
  716. in.DeepCopyInto(out)
  717. return out
  718. }
  719. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  720. func (in *PVCArtifactSpec) DeepCopyInto(out *PVCArtifactSpec) {
  721. *out = *in
  722. }
  723. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCArtifactSpec.
  724. func (in *PVCArtifactSpec) DeepCopy() *PVCArtifactSpec {
  725. if in == nil {
  726. return nil
  727. }
  728. out := new(PVCArtifactSpec)
  729. in.DeepCopyInto(out)
  730. return out
  731. }
  732. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  733. func (in *RuntimeInferenceParameters) DeepCopyInto(out *RuntimeInferenceParameters) {
  734. *out = *in
  735. if in.ContextWindow != nil {
  736. in, out := &in.ContextWindow, &out.ContextWindow
  737. *out = new(int32)
  738. **out = **in
  739. }
  740. if in.TopK != nil {
  741. in, out := &in.TopK, &out.TopK
  742. *out = new(int32)
  743. **out = **in
  744. }
  745. if in.Extra != nil {
  746. in, out := &in.Extra, &out.Extra
  747. *out = make(map[string]string, len(*in))
  748. for key, val := range *in {
  749. (*out)[key] = val
  750. }
  751. }
  752. }
  753. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeInferenceParameters.
  754. func (in *RuntimeInferenceParameters) DeepCopy() *RuntimeInferenceParameters {
  755. if in == nil {
  756. return nil
  757. }
  758. out := new(RuntimeInferenceParameters)
  759. in.DeepCopyInto(out)
  760. return out
  761. }
  762. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  763. func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec) {
  764. *out = *in
  765. if in.Command != nil {
  766. in, out := &in.Command, &out.Command
  767. *out = make([]string, len(*in))
  768. copy(*out, *in)
  769. }
  770. if in.Args != nil {
  771. in, out := &in.Args, &out.Args
  772. *out = make([]string, len(*in))
  773. copy(*out, *in)
  774. }
  775. if in.ExtraArgs != nil {
  776. in, out := &in.ExtraArgs, &out.ExtraArgs
  777. *out = make([]string, len(*in))
  778. copy(*out, *in)
  779. }
  780. if in.ConditionalArgs != nil {
  781. in, out := &in.ConditionalArgs, &out.ConditionalArgs
  782. *out = make([]ConditionalArgs, len(*in))
  783. for i := range *in {
  784. (*in)[i].DeepCopyInto(&(*out)[i])
  785. }
  786. }
  787. if in.Env != nil {
  788. in, out := &in.Env, &out.Env
  789. *out = make([]v1.EnvVar, len(*in))
  790. for i := range *in {
  791. (*in)[i].DeepCopyInto(&(*out)[i])
  792. }
  793. }
  794. if in.EnvFrom != nil {
  795. in, out := &in.EnvFrom, &out.EnvFrom
  796. *out = make([]v1.EnvFromSource, len(*in))
  797. for i := range *in {
  798. (*in)[i].DeepCopyInto(&(*out)[i])
  799. }
  800. }
  801. if in.VolumeMounts != nil {
  802. in, out := &in.VolumeMounts, &out.VolumeMounts
  803. *out = make([]v1.VolumeMount, len(*in))
  804. for i := range *in {
  805. (*in)[i].DeepCopyInto(&(*out)[i])
  806. }
  807. }
  808. }
  809. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
  810. func (in *RuntimeSpec) DeepCopy() *RuntimeSpec {
  811. if in == nil {
  812. return nil
  813. }
  814. out := new(RuntimeSpec)
  815. in.DeepCopyInto(out)
  816. return out
  817. }
  818. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  819. func (in *Stack) DeepCopyInto(out *Stack) {
  820. *out = *in
  821. out.TypeMeta = in.TypeMeta
  822. in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
  823. in.Spec.DeepCopyInto(&out.Spec)
  824. in.Status.DeepCopyInto(&out.Status)
  825. }
  826. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
  827. func (in *Stack) DeepCopy() *Stack {
  828. if in == nil {
  829. return nil
  830. }
  831. out := new(Stack)
  832. in.DeepCopyInto(out)
  833. return out
  834. }
  835. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  836. func (in *Stack) DeepCopyObject() runtime.Object {
  837. if c := in.DeepCopy(); c != nil {
  838. return c
  839. }
  840. return nil
  841. }
  842. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  843. func (in *StackComponentStatus) DeepCopyInto(out *StackComponentStatus) {
  844. *out = *in
  845. }
  846. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackComponentStatus.
  847. func (in *StackComponentStatus) DeepCopy() *StackComponentStatus {
  848. if in == nil {
  849. return nil
  850. }
  851. out := new(StackComponentStatus)
  852. in.DeepCopyInto(out)
  853. return out
  854. }
  855. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  856. func (in *StackList) DeepCopyInto(out *StackList) {
  857. *out = *in
  858. out.TypeMeta = in.TypeMeta
  859. in.ListMeta.DeepCopyInto(&out.ListMeta)
  860. if in.Items != nil {
  861. in, out := &in.Items, &out.Items
  862. *out = make([]Stack, len(*in))
  863. for i := range *in {
  864. (*in)[i].DeepCopyInto(&(*out)[i])
  865. }
  866. }
  867. }
  868. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
  869. func (in *StackList) DeepCopy() *StackList {
  870. if in == nil {
  871. return nil
  872. }
  873. out := new(StackList)
  874. in.DeepCopyInto(out)
  875. return out
  876. }
  877. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
  878. func (in *StackList) DeepCopyObject() runtime.Object {
  879. if c := in.DeepCopy(); c != nil {
  880. return c
  881. }
  882. return nil
  883. }
  884. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  885. func (in *StackSpec) DeepCopyInto(out *StackSpec) {
  886. *out = *in
  887. if in.SharedVolumes != nil {
  888. in, out := &in.SharedVolumes, &out.SharedVolumes
  889. *out = make([]string, len(*in))
  890. copy(*out, *in)
  891. }
  892. if in.Gateway != nil {
  893. in, out := &in.Gateway, &out.Gateway
  894. *out = new(OptionalComponent)
  895. (*in).DeepCopyInto(*out)
  896. }
  897. if in.VectorStore != nil {
  898. in, out := &in.VectorStore, &out.VectorStore
  899. *out = new(OptionalComponent)
  900. (*in).DeepCopyInto(*out)
  901. }
  902. if in.GraphStore != nil {
  903. in, out := &in.GraphStore, &out.GraphStore
  904. *out = new(OptionalComponent)
  905. (*in).DeepCopyInto(*out)
  906. }
  907. if in.Database != nil {
  908. in, out := &in.Database, &out.Database
  909. *out = new(OptionalComponent)
  910. (*in).DeepCopyInto(*out)
  911. }
  912. if in.Observability != nil {
  913. in, out := &in.Observability, &out.Observability
  914. *out = new(OptionalComponent)
  915. (*in).DeepCopyInto(*out)
  916. }
  917. }
  918. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
  919. func (in *StackSpec) DeepCopy() *StackSpec {
  920. if in == nil {
  921. return nil
  922. }
  923. out := new(StackSpec)
  924. in.DeepCopyInto(out)
  925. return out
  926. }
  927. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  928. func (in *StackStatus) DeepCopyInto(out *StackStatus) {
  929. *out = *in
  930. out.ComponentStatus = in.ComponentStatus
  931. if in.Conditions != nil {
  932. in, out := &in.Conditions, &out.Conditions
  933. *out = make([]metav1.Condition, len(*in))
  934. for i := range *in {
  935. (*in)[i].DeepCopyInto(&(*out)[i])
  936. }
  937. }
  938. }
  939. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
  940. func (in *StackStatus) DeepCopy() *StackStatus {
  941. if in == nil {
  942. return nil
  943. }
  944. out := new(StackStatus)
  945. in.DeepCopyInto(out)
  946. return out
  947. }
  948. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  949. func (in *Template) DeepCopyInto(out *Template) {
  950. *out = *in
  951. in.Metadata.DeepCopyInto(&out.Metadata)
  952. in.Spec.DeepCopyInto(&out.Spec)
  953. }
  954. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
  955. func (in *Template) DeepCopy() *Template {
  956. if in == nil {
  957. return nil
  958. }
  959. out := new(Template)
  960. in.DeepCopyInto(out)
  961. return out
  962. }
  963. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  964. func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec) {
  965. *out = *in
  966. in.Runtime.DeepCopyInto(&out.Runtime)
  967. if in.Volumes != nil {
  968. in, out := &in.Volumes, &out.Volumes
  969. *out = make([]v1.Volume, len(*in))
  970. for i := range *in {
  971. (*in)[i].DeepCopyInto(&(*out)[i])
  972. }
  973. }
  974. in.Resources.DeepCopyInto(&out.Resources)
  975. if in.NodeSelector != nil {
  976. in, out := &in.NodeSelector, &out.NodeSelector
  977. *out = make(map[string]string, len(*in))
  978. for key, val := range *in {
  979. (*out)[key] = val
  980. }
  981. }
  982. if in.Affinity != nil {
  983. in, out := &in.Affinity, &out.Affinity
  984. *out = new(v1.Affinity)
  985. (*in).DeepCopyInto(*out)
  986. }
  987. if in.Tolerations != nil {
  988. in, out := &in.Tolerations, &out.Tolerations
  989. *out = make([]v1.Toleration, len(*in))
  990. for i := range *in {
  991. (*in)[i].DeepCopyInto(&(*out)[i])
  992. }
  993. }
  994. if in.TopologySpreadConstraints != nil {
  995. in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints
  996. *out = make([]v1.TopologySpreadConstraint, len(*in))
  997. for i := range *in {
  998. (*in)[i].DeepCopyInto(&(*out)[i])
  999. }
  1000. }
  1001. if in.SecurityContext != nil {
  1002. in, out := &in.SecurityContext, &out.SecurityContext
  1003. *out = new(v1.PodSecurityContext)
  1004. (*in).DeepCopyInto(*out)
  1005. }
  1006. }
  1007. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpec.
  1008. func (in *TemplateSpec) DeepCopy() *TemplateSpec {
  1009. if in == nil {
  1010. return nil
  1011. }
  1012. out := new(TemplateSpec)
  1013. in.DeepCopyInto(out)
  1014. return out
  1015. }
  1016. // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1017. func (in *URLArtifactSpec) DeepCopyInto(out *URLArtifactSpec) {
  1018. *out = *in
  1019. if in.AuthSecretRef != nil {
  1020. in, out := &in.AuthSecretRef, &out.AuthSecretRef
  1021. *out = new(v1.LocalObjectReference)
  1022. **out = **in
  1023. }
  1024. }
  1025. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new URLArtifactSpec.
  1026. func (in *URLArtifactSpec) DeepCopy() *URLArtifactSpec {
  1027. if in == nil {
  1028. return nil
  1029. }
  1030. out := new(URLArtifactSpec)
  1031. in.DeepCopyInto(out)
  1032. return out
  1033. }