48 lines
1.5 KiB
TypeScript
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;
|
|
}[];
|
|
}
|