/** * Argo Workflows API * Argo Workflows is an open source container-native workflow engine for orchestrating parallel jobs on Kubernetes. For more information, please see https://argoproj.github.io/argo-workflows/ * * OpenAPI spec version: VERSION * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ /** * ContainerPort represents a network port in a single container. * @export * @interface IoK8sApiCoreV1ContainerPort */ export interface IoK8sApiCoreV1ContainerPort { /** * Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536. * @type {number} * @memberof IoK8sApiCoreV1ContainerPort */ containerPort: number; /** * What host IP to bind the external port to. * @type {string} * @memberof IoK8sApiCoreV1ContainerPort */ 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. * @type {number} * @memberof IoK8sApiCoreV1ContainerPort */ 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. * @type {string} * @memberof IoK8sApiCoreV1ContainerPort */ name?: string; /** * Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". Possible enum values: - `\"SCTP\"` is the SCTP protocol. - `\"TCP\"` is the TCP protocol. - `\"UDP\"` is the UDP protocol. * @type {string} * @memberof IoK8sApiCoreV1ContainerPort */ protocol?: IoK8sApiCoreV1ContainerPortProtocolEnum; } /** * @export * @enum {string} */ export declare enum IoK8sApiCoreV1ContainerPortProtocolEnum { SCTP = "SCTP", TCP = "TCP", UDP = "UDP" }