import type { Metadata } from "./Metadata";
import type { HasMetadata } from "./ResourceRepo";

export class Node implements HasMetadata
{
    constructor (
        public metadata: Metadata,
        public runningPods: number,
        public status: Status
    ) { }

    relativeCpuUsage?: number;
    relativeMemory?: number;
}

class Status
{
    conditions?: Condition[]
}

class Condition
{
    type?: string;
    status?: string;
}