@daocloud-proto/insight 0.9.1 → 0.9.2
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
|
@@ -72,8 +72,7 @@ export type ClusterSummary = {
|
|
|
72
72
|
kubeSystemId?: string
|
|
73
73
|
phase?: ClusterPhase
|
|
74
74
|
nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
75
|
-
insightAgentStatus?:
|
|
76
|
-
insightAgentCreateTime?: string
|
|
75
|
+
insightAgentStatus?: insightAgentState
|
|
77
76
|
}
|
|
78
77
|
|
|
79
78
|
export type ClusterDetail = {
|
|
@@ -88,7 +87,13 @@ export type ClusterDetail = {
|
|
|
88
87
|
statefulsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
89
88
|
daemonsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
90
89
|
podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
91
|
-
insightAgentStatus?:
|
|
90
|
+
insightAgentStatus?: insightAgentState
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export type insightAgentState = {
|
|
94
|
+
status?: InsightAgentStatus
|
|
95
|
+
version?: string
|
|
96
|
+
createTime?: string
|
|
92
97
|
}
|
|
93
98
|
|
|
94
99
|
export type ListNamespacesRequest = {
|
|
@@ -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
|
}
|