mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-09-14 03:09:50 +00:00
♻️ refactor: remove unused code
This commit is contained in:
@@ -6,6 +6,9 @@ import type {
|
||||
ReverseProxyServer,
|
||||
} from "@minikura/api";
|
||||
import type { Edge, Node } from "@xyflow/react";
|
||||
import type { ResourceMetrics } from "./k8s-metrics";
|
||||
|
||||
export type { ResourceMetrics };
|
||||
|
||||
export type HealthStatus = "healthy" | "degraded" | "unhealthy" | "unknown";
|
||||
|
||||
@@ -13,13 +16,6 @@ export type NodeType = "server" | "proxy" | "k8s-node";
|
||||
|
||||
export type EdgeType = "proxy-to-server" | "pod-to-node";
|
||||
|
||||
export interface ResourceMetrics {
|
||||
cpuUsage?: string;
|
||||
memoryUsage?: string;
|
||||
cpuUsagePercent?: number;
|
||||
memoryUsagePercent?: number;
|
||||
}
|
||||
|
||||
export interface K8sNodeMetadata {
|
||||
node: K8sNodeSummary;
|
||||
podCount: number;
|
||||
|
||||
Reference in New Issue
Block a user