Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

chore: remove unused ClusterHealth types

rcourtman2fccd575b2bd
diff --git a/internal/models/cluster.go b/internal/models/cluster.go
deleted file mode 100644
index 3940624169..0000000000
--- a/internal/models/cluster.go
+++ /dev/null
@@ -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"`
-}