mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-20 17:48:47 +00:00
chore: remove unused ClusterHealth types
Remove internal/models/cluster.go containing ClusterHealth and ClusterNodeStatus types that were never used in the codebase.
This commit is contained in:
parent
3fce14469c
commit
2fccd575b2
1 changed files with 0 additions and 17 deletions
|
|
@ -1,17 +0,0 @@
|
|||
package models
|
||||
|
||||
// ClusterHealth represents the health status of a cluster
|
||||
type ClusterHealth struct {
|
||||
Name string `json:"name"`
|
||||
TotalNodes int `json:"totalNodes"`
|
||||
OnlineNodes int `json:"onlineNodes"`
|
||||
OfflineNodes int `json:"offlineNodes"`
|
||||
HealthPercentage float64 `json:"healthPercentage"`
|
||||
NodeStatuses []ClusterNodeStatus `json:"nodeStatuses"`
|
||||
}
|
||||
|
||||
// ClusterNodeStatus represents the status of a single node in a cluster
|
||||
type ClusterNodeStatus struct {
|
||||
Endpoint string `json:"endpoint"`
|
||||
Online bool `json:"online"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue