@daocloud-proto/hydra 0.18.0-dev-29 → 0.18.0-dev-30
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?:
|
|
184
|
+
phase?: HydraManagement_apiStorageV1alpha1Pvc.PersistentVolumeClaimPhase
|
|
184
185
|
capacity?: string
|
|
185
186
|
accessModes?: string[]
|
|
186
187
|
createdAt?: string
|
|
@@ -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?:
|
|
28
|
+
phase?: PersistentVolumeClaimPhase
|
|
21
29
|
capacity?: string
|
|
22
30
|
accessModes?: string[]
|
|
23
31
|
createdAt?: string
|