@daocloud-proto/hydra 0.18.0-dev-27 → 0.18.0-dev-28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,6 +134,13 @@ export type WeightVolumeConfig = {
134
134
  mountPath?: string
135
135
  }
136
136
 
137
+ export type PVCVolumeConfig = {
138
+ pvcNamespace?: string
139
+ pvcName?: string
140
+ subPath?: string
141
+ mountPath?: string
142
+ }
143
+
137
144
  export type ConfigMapMountConfig = {
138
145
  configMapName?: string
139
146
  mountPath?: string
@@ -200,6 +207,7 @@ export type CreateWSModelServingRequest = BaseCreateWSModelServingRequest
200
207
  & OneOf<{ schedulingConfig: SchedulingConfig }>
201
208
  & OneOf<{ preflight: PreflightConfig }>
202
209
  & OneOf<{ healthCheck: HealthCheckConfig }>
210
+ & OneOf<{ pvcVolumeConfig: PVCVolumeConfig }>
203
211
 
204
212
  export type ModelServing = {
205
213
  id?: string
@@ -249,6 +257,7 @@ export type ModelServing = {
249
257
  configMapMounts?: ConfigMapMountConfig[]
250
258
  healthCheck?: HealthCheckConfig
251
259
  enableMetrics?: boolean
260
+ pvcVolumeConfig?: PVCVolumeConfig
252
261
  }
253
262
 
254
263
  export type WSModelServing = BaseWSModelServing
@@ -336,6 +345,7 @@ export type WSModelServingActionRequest = {
336
345
  export type WSModelServingDeployDetectionRequest = BaseWSModelServingDeployDetectionRequest
337
346
  & OneOf<{ weightVolumeConfig: WeightVolumeConfig }>
338
347
  & OneOf<{ schedulingConfig: SchedulingConfig }>
348
+ & OneOf<{ pvcVolumeConfig: PVCVolumeConfig }>
339
349
 
340
350
  export type ModelServingDeployDetectionResponse = {
341
351
  ready?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.18.0-dev-27",
3
+ "version": "v0.18.0-dev-28",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"