fix(apiclient): Ensure mandatory parameter in CloudlyApiClient constructor

This commit is contained in:
2024-11-18 17:48:26 +01:00
parent fe6bfc0a83
commit 5a3ddcf39b
5 changed files with 13 additions and 3 deletions

View File

@ -8,6 +8,11 @@ export interface IDeploymentDirective {
id: string;
name: string;
imageClaim: string;
/**
* ports to be exposed
* hostPort is the port on the host
* containerPort is the port on the container
*/
ports: { hostPort: number; containerPort: number }[];
environment: { [key: string]: string };
resources?: IServiceRessources;