Makes cluster-nodes functional.

This commit is contained in:
2025-11-04 16:44:11 +00:00
parent 6f438901e0
commit 2469acbc88
34 changed files with 4441 additions and 192 deletions

41
src/types/nodeStatus.ts Normal file
View File

@@ -0,0 +1,41 @@
export enum NodeStatus {
// Discovery Phase
DISCOVERED = "discovered",
// Configuration Phase
PENDING = "pending",
CONFIGURING = "configuring",
CONFIGURED = "configured",
// Deployment Phase
APPLYING = "applying",
PROVISIONING = "provisioning",
// Operational Phase
READY = "ready",
HEALTHY = "healthy",
// Maintenance States
MAINTENANCE = "maintenance",
REPROVISIONING = "reprovisioning",
// Error States
UNREACHABLE = "unreachable",
DEGRADED = "degraded",
FAILED = "failed",
// Special States
UNKNOWN = "unknown",
ORPHANED = "orphaned"
}
export interface StatusDesign {
status: NodeStatus;
color: string;
bgColor: string;
icon: string;
label: string;
description: string;
nextAction?: string;
severity: "info" | "warning" | "error" | "success" | "neutral";
}