interfaces/ts/data/deploymentdirective.ts

14 lines
382 B
TypeScript
Raw Normal View History

2024-05-27 12:34:01 +00:00
import type { IServiceRessources } from "./docker.js";
/**
* used for tellilng a cluster about a disired deployment
* and specifies its configuration
*/
export interface IDeploymentDirective {
id: string;
name: string;
imageClaim: string;
ports: { hostPort: number; containerPort: number }[];
environment: { [key: string]: string };
resources?: IServiceRessources;
}