Files
k8s-set-context/node_modules/@kubernetes/client-node/dist/gen/model/v1ContainerPort.d.ts
github-actions[bot] 52d71d28bd Add node modules and compiled JavaScript from main (#54)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-29 15:41:55 -04:00

48 lines
1.5 KiB
TypeScript

/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* ContainerPort represents a network port in a single container.
*/
export declare class V1ContainerPort {
/**
* Number of port to expose on the pod\'s IP address. This must be a valid port number, 0 < x < 65536.
*/
'containerPort': number;
/**
* What host IP to bind the external port to.
*/
'hostIP'?: string;
/**
* Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.
*/
'hostPort'?: number;
/**
* If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.
*/
'name'?: string;
/**
* Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".
*/
'protocol'?: string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}