@daocloud-proto/insight 0.9.1-23 → 0.9.1-25
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
|
@@ -28,7 +28,7 @@ export enum ClusterProvider {
|
|
|
28
28
|
ALIYUN_ACK = "ALIYUN_ACK",
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export enum
|
|
31
|
+
export enum InsightAgentStatus {
|
|
32
32
|
NOT_INSTALLED = "NOT_INSTALLED",
|
|
33
33
|
HEALTHY = "HEALTHY",
|
|
34
34
|
UNHEALTHY = "UNHEALTHY",
|
|
@@ -91,7 +91,7 @@ export type ClusterDetail = {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
export type insightAgentState = {
|
|
94
|
-
status?:
|
|
94
|
+
status?: InsightAgentStatus
|
|
95
95
|
version?: string
|
|
96
96
|
createTime?: string
|
|
97
97
|
}
|
|
@@ -52,6 +52,7 @@ export type CronJob = {
|
|
|
52
52
|
phase?: CronJobPhase
|
|
53
53
|
createTimestamp?: string
|
|
54
54
|
jobNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
55
|
+
conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
export type CronJobSpec = {
|
|
@@ -90,4 +91,5 @@ export type Job = {
|
|
|
90
91
|
status?: JobStatus
|
|
91
92
|
createTimestamp?: string
|
|
92
93
|
jobPodNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
94
|
+
conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
|
|
93
95
|
}
|
|
@@ -14,4 +14,13 @@ export enum ConditionStatus {
|
|
|
14
14
|
export type ResourceNumSummary = {
|
|
15
15
|
totalNum?: number
|
|
16
16
|
readyNum?: number
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type Condition = {
|
|
20
|
+
lastTransitionTime?: string
|
|
21
|
+
lastUpdateTime?: string
|
|
22
|
+
message?: string
|
|
23
|
+
reason?: string
|
|
24
|
+
status?: string
|
|
25
|
+
type?: string
|
|
17
26
|
}
|