mirror of
https://github.com/bloomberg/goldpinger.git
synced 2026-02-14 18:09:50 +00:00
Regenearte the code
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
@@ -33,11 +33,17 @@ type ClusterHealthResults struct {
|
||||
// Format: date-time
|
||||
GeneratedAt strfmt.DateTime `json:"generated-at,omitempty"`
|
||||
|
||||
// instances healthy
|
||||
InstancesHealthy []string `json:"instancesHealthy"`
|
||||
// hosts healthy
|
||||
HostsHealthy []string `json:"hostsHealthy"`
|
||||
|
||||
// instances unealthy
|
||||
InstancesUnealthy []string `json:"instancesUnealthy"`
|
||||
// hosts unhealthy
|
||||
HostsUnhealthy []string `json:"hostsUnhealthy"`
|
||||
|
||||
// pods healthy
|
||||
PodsHealthy []string `json:"podsHealthy"`
|
||||
|
||||
// pods unhealthy
|
||||
PodsUnhealthy []string `json:"podsUnhealthy"`
|
||||
}
|
||||
|
||||
// Validate validates this cluster health results
|
||||
|
||||
@@ -249,13 +249,25 @@ func init() {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"instancesHealthy": {
|
||||
"hostsHealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"instancesUnealthy": {
|
||||
"hostsUnhealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"podsHealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"podsUnhealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
@@ -582,13 +594,25 @@ func init() {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"instancesHealthy": {
|
||||
"hostsHealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"instancesUnealthy": {
|
||||
"hostsUnhealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"podsHealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"podsUnhealthy": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user