From 2fccd575b2bd04202fd39c0df563bab911720ff4 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Thu, 27 Nov 2025 08:45:50 +0000 Subject: [PATCH] chore: remove unused ClusterHealth types Remove internal/models/cluster.go containing ClusterHealth and ClusterNodeStatus types that were never used in the codebase. --- internal/models/cluster.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 internal/models/cluster.go diff --git a/internal/models/cluster.go b/internal/models/cluster.go deleted file mode 100644 index 394062416..000000000 --- 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"` -}