@daocloud-proto/kpanda 0.9.7-44 → 0.9.7-46

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.
@@ -10,10 +10,10 @@ import * as KpandaIoApiBatchV1alpha1Job from "./job.pb"
10
10
 
11
11
  export enum CronJobStatusCronJobState {
12
12
  CRONJOB_STATE_UNSPECIFIED = "CRONJOB_STATE_UNSPECIFIED",
13
- WAITING = "WAITING",
14
- ACTIVATED = "ACTIVATED",
15
- STOPPED = "STOPPED",
16
- DELETING = "DELETING",
13
+ Waiting = "Waiting",
14
+ Activated = "Activated",
15
+ Stopped = "Stopped",
16
+ Deleting = "Deleting",
17
17
  }
18
18
 
19
19
  export type CronJob = {
@@ -10,11 +10,11 @@ import * as KpandaIoApiTypesPage from "../../types/page.pb"
10
10
 
11
11
  export enum JobStatusJobState {
12
12
  JOB_STATE_UNSPECIFIED = "JOB_STATE_UNSPECIFIED",
13
- WAITING = "WAITING",
14
- RUNNING = "RUNNING",
15
- COMPLETED = "COMPLETED",
16
- DELETING = "DELETING",
17
- FAILED = "FAILED",
13
+ Waiting = "Waiting",
14
+ Running = "Running",
15
+ Completed = "Completed",
16
+ Deleting = "Deleting",
17
+ Failed = "Failed",
18
18
  }
19
19
 
20
20
  export type Job = {
@@ -22,12 +22,12 @@ export enum ClusterProvider {
22
22
 
23
23
  export enum ClusterPhase {
24
24
  CLUSTER_PHASE_UNSPECIFIED = "CLUSTER_PHASE_UNSPECIFIED",
25
- UNKNOWN = "UNKNOWN",
26
- CREATING = "CREATING",
27
- RUNNING = "RUNNING",
28
- UPDATING = "UPDATING",
29
- DELETING = "DELETING",
30
- FAILED = "FAILED",
25
+ Unknown = "Unknown",
26
+ Creating = "Creating",
27
+ Running = "Running",
28
+ Updating = "Updating",
29
+ Deleting = "Deleting",
30
+ Failed = "Failed",
31
31
  }
32
32
 
33
33
  export type ListClustersRequest = {
@@ -36,7 +36,7 @@ export type ListClustersRequest = {
36
36
  pageSize?: number
37
37
  role?: string[]
38
38
  kubernetesVersion?: string
39
- phase?: string
39
+ phase?: ClusterPhase
40
40
  labelSelector?: string
41
41
  fieldSelector?: string
42
42
  managedBy?: string
@@ -16,19 +16,19 @@ export enum TaintEffect {
16
16
  NoExecute = "NoExecute",
17
17
  }
18
18
 
19
+ export enum NodePhase {
20
+ NODE_PHASE_UNSPECIFIED = "NODE_PHASE_UNSPECIFIED",
21
+ Ready = "Ready",
22
+ Not_Ready = "Not_Ready",
23
+ Unknown = "Unknown",
24
+ }
25
+
19
26
  export enum NodeStatusRole {
20
27
  NODE_ROLE_UNSPECIFIED = "NODE_ROLE_UNSPECIFIED",
21
28
  CONTROL_PLANE = "CONTROL_PLANE",
22
29
  WORKER = "WORKER",
23
30
  }
24
31
 
25
- export enum NodeStatusStatusPhase {
26
- PHASE_UNSPECIFIED = "PHASE_UNSPECIFIED",
27
- READY = "READY",
28
- NOT_READY = "NOT_READY",
29
- UNKNOWN = "UNKNOWN",
30
- }
31
-
32
32
  export type Node = {
33
33
  metadata?: KpandaIoApiTypesObjectmeta.ObjectMeta
34
34
  spec?: NodeSpec
@@ -42,7 +42,7 @@ export type NodeSpec = {
42
42
  }
43
43
 
44
44
  export type NodeStatusStatus = {
45
- phase?: NodeStatusStatusPhase
45
+ phase?: NodePhase
46
46
  conditions?: NodeCondition[]
47
47
  }
48
48
 
@@ -121,7 +121,7 @@ export type ListNodesRequest = {
121
121
  cluster?: string
122
122
  page?: number
123
123
  pageSize?: number
124
- phase?: NodeStatusStatusPhase[]
124
+ phase?: NodePhase[]
125
125
  nodeIp?: string
126
126
  sortBy?: KpandaIoApiTypesPage.SortBy
127
127
  sortDir?: KpandaIoApiTypesPage.SortDir
@@ -196,7 +196,7 @@ export type NodeSummary = {
196
196
  creationTimestamp?: string
197
197
  podCIDR?: string
198
198
  unschedulable?: boolean
199
- phase?: NodeStatusStatusPhase
199
+ phase?: NodePhase
200
200
  }
201
201
 
202
202
  export type ListClusterNodeSummaryRequest = {
@@ -6,11 +6,11 @@
6
6
 
7
7
  export enum WorkloadState {
8
8
  WORKLOAD_STATE_UNSPECIFIED = "WORKLOAD_STATE_UNSPECIFIED",
9
- WORKLOAD_STATE_RUNNING = "WORKLOAD_STATE_RUNNING",
10
- WORKLOAD_STATE_DELETING = "WORKLOAD_STATE_DELETING",
11
- WORKLOAD_STATE_NOT_READY = "WORKLOAD_STATE_NOT_READY",
12
- WORKLOAD_STATE_STOPPED = "WORKLOAD_STATE_STOPPED",
13
- WORKLOAD_STATE_WAITING = "WORKLOAD_STATE_WAITING",
9
+ Running = "Running",
10
+ Deleting = "Deleting",
11
+ Not_Ready = "Not_Ready",
12
+ Stopped = "Stopped",
13
+ Waiting = "Waiting",
14
14
  }
15
15
 
16
16
  export type OwnerReference = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.9.7-44",
3
+ "version":"0.9.7-46",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {