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

export class Deployment implements HasMetadata
{
    constructor (
        public metadata: Metadata,
        public spec: DeploymentSpec,
        public status: DeploymentStatus
    ) {}
}

export class DeploymentSpec 
{
    replicas?: number;
}

export class DeploymentStatus
{
    replicas?: number;
    availableReplicas?: number;
    readyReplicas?: number;
}