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

export class NodeStats 
{
    constructor (
        public node: Node,
        public runningPods: number
    ) { }

    relativeCpuUsage?: number;
    relativeMemory?: number;
}

export class Node 
{
    constructor (
        public metadata: Metadata
    ) { }
    
    status?: Status;
}

class Status
{
    conditions?: Condition[]
}

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