@daocloud-proto/insight 0.9.0-29 → 0.9.0-35
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.
package/package.json
CHANGED
|
@@ -15,19 +15,19 @@ export enum CronJobPhase {
|
|
|
15
15
|
CRONJOB_STATE_DELETING = "CRONJOB_STATE_DELETING",
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export enum
|
|
18
|
+
export enum JobState {
|
|
19
19
|
JOB_STATE_UNSPECIFIED = "JOB_STATE_UNSPECIFIED",
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
JOB_STATE_WAITING = "JOB_STATE_WAITING",
|
|
21
|
+
JOB_STATE_RUNNING = "JOB_STATE_RUNNING",
|
|
22
|
+
JOB_STATE_COMPLETED = "JOB_STATE_COMPLETED",
|
|
23
|
+
JOB_STATE_DELETING = "JOB_STATE_DELETING",
|
|
24
|
+
JOB_STATE_FAILED = "JOB_STATE_FAILED",
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export type ListJobsRequest = {
|
|
28
28
|
cluster?: string
|
|
29
29
|
namespace?: string
|
|
30
|
-
phase?:
|
|
30
|
+
phase?: JobState
|
|
31
31
|
name?: string
|
|
32
32
|
page?: number
|
|
33
33
|
pageSize?: number
|
|
@@ -80,7 +80,7 @@ export type JobStatus = {
|
|
|
80
80
|
active?: number
|
|
81
81
|
succeed?: number
|
|
82
82
|
failed?: number
|
|
83
|
-
phase?:
|
|
83
|
+
phase?: JobState
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export type Job = {
|