fix
This commit is contained in:
@@ -115,6 +115,12 @@ type ClusterStats struct {
|
||||
Performance Performance `json:"performance"`
|
||||
Health Health `json:"health"`
|
||||
Uptime Uptime `json:"uptime"`
|
||||
Name string `json:"name"`
|
||||
ClusterId string `json:"clusterId"`
|
||||
Status string `json:"status"`
|
||||
Version string `json:"version"`
|
||||
Alerts string `json:"alerts"`
|
||||
Endpoint string `json:"endpoint"`
|
||||
}
|
||||
|
||||
type ResourceUsage struct {
|
||||
@@ -138,12 +144,13 @@ type Performance struct {
|
||||
}
|
||||
|
||||
type Health struct {
|
||||
NodesHealthy int `json:"nodesHealthy"`
|
||||
NodesTotal int `json:"nodesTotal"`
|
||||
PodsRunning int `json:"podsRunning"`
|
||||
PodsTotal int `json:"podsTotal"`
|
||||
Alerts int `json:"alerts"`
|
||||
Warnings int `json:"warnings"`
|
||||
NodesHealthy int `json:"nodesHealthy"`
|
||||
NodesTotal int `json:"nodesTotal"`
|
||||
PodsRunning int `json:"podsRunning"`
|
||||
PodsTotal int `json:"podsTotal"`
|
||||
Alerts int `json:"alerts"`
|
||||
Warnings int `json:"warnings"`
|
||||
Status string `json:"healthy"`
|
||||
}
|
||||
|
||||
type Uptime struct {
|
||||
|
||||
Reference in New Issue
Block a user