@daocloud-proto/hydra 0.18.0-dev-29 → 0.18.0-dev-31

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.
@@ -7,6 +7,7 @@
7
7
  import * as HydraCommonCommon from "../../../common/common.pb"
8
8
  import * as fm from "../../../fetch.pb"
9
9
  import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
10
+ import * as HydraManagement_apiStorageV1alpha1Pvc from "../../../management-api/storage/v1alpha1/pvc.pb"
10
11
  import * as HydraManagement_apiWorkspaceV1alpha1Workspace from "../../../management-api/workspace/v1alpha1/workspace.pb"
11
12
 
12
13
  export enum AdminPermission {
@@ -180,7 +181,7 @@ export type PersistentVolumeClaim = {
180
181
  name?: string
181
182
  namespace?: string
182
183
  storageClassName?: string
183
- phase?: string
184
+ phase?: HydraManagement_apiStorageV1alpha1Pvc.PersistentVolumeClaimPhase
184
185
  capacity?: string
185
186
  accessModes?: string[]
186
187
  createdAt?: string
@@ -34,6 +34,7 @@ export type ExportJob = {
34
34
  pvcNamespace?: string
35
35
  pvcName?: string
36
36
  storageSource?: HydraManagement_apiModelV1alpha1Model_weights_volume.StorageSourceType
37
+ exportMountPath?: string
37
38
  }
38
39
 
39
40
  export type SaveExportJobRequest = {
@@ -123,6 +123,7 @@ export type TrainingConfig = {
123
123
  outputPvcNamespace?: string
124
124
  outputPvcName?: string
125
125
  storageSource?: HydraManagement_apiModelV1alpha1Model_weights_volume.StorageSourceType
126
+ outputMountPath?: string
126
127
  }
127
128
 
128
129
  export type DpoConfig = {
@@ -6,6 +6,14 @@
6
6
 
7
7
  import * as HydraCommonCommon from "../../../common/common.pb"
8
8
  import * as fm from "../../../fetch.pb"
9
+
10
+ export enum PersistentVolumeClaimPhase {
11
+ PERSISTENT_VOLUME_CLAIM_PHASE_UNSPECIFIED = "PERSISTENT_VOLUME_CLAIM_PHASE_UNSPECIFIED",
12
+ PERSISTENT_VOLUME_CLAIM_PHASE_PENDING = "PERSISTENT_VOLUME_CLAIM_PHASE_PENDING",
13
+ PERSISTENT_VOLUME_CLAIM_PHASE_BOUND = "PERSISTENT_VOLUME_CLAIM_PHASE_BOUND",
14
+ PERSISTENT_VOLUME_CLAIM_PHASE_LOST = "PERSISTENT_VOLUME_CLAIM_PHASE_LOST",
15
+ }
16
+
9
17
  export type ListWSPersistentVolumeClaimsRequest = {
10
18
  workspace?: number
11
19
  cluster?: string
@@ -17,7 +25,7 @@ export type PersistentVolumeClaim = {
17
25
  name?: string
18
26
  namespace?: string
19
27
  storageClassName?: string
20
- phase?: string
28
+ phase?: PersistentVolumeClaimPhase
21
29
  capacity?: string
22
30
  accessModes?: string[]
23
31
  createdAt?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.18.0-dev-29",
3
+ "version": "v0.18.0-dev-31",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"