@serve.zone/interfaces 4.3.11 → 4.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,6 +7,11 @@ export interface IDeploymentDirective {
|
|
|
7
7
|
id: string;
|
|
8
8
|
name: string;
|
|
9
9
|
imageClaim: string;
|
|
10
|
+
/**
|
|
11
|
+
* ports to be exposed
|
|
12
|
+
* hostPort is the port on the host
|
|
13
|
+
* containerPort is the port on the container
|
|
14
|
+
*/
|
|
10
15
|
ports: {
|
|
11
16
|
hostPort: number;
|
|
12
17
|
containerPort: number;
|
package/package.json
CHANGED
|
@@ -8,6 +8,11 @@ export interface IDeploymentDirective {
|
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
imageClaim: string;
|
|
11
|
+
/**
|
|
12
|
+
* ports to be exposed
|
|
13
|
+
* hostPort is the port on the host
|
|
14
|
+
* containerPort is the port on the container
|
|
15
|
+
*/
|
|
11
16
|
ports: { hostPort: number; containerPort: number }[];
|
|
12
17
|
environment: { [key: string]: string };
|
|
13
18
|
resources?: IServiceRessources;
|