import { IComGithubCiliumCiliumPkgPolicyApiL4Proto } from "./L4Proto.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * PortProtocol specifies an L4 port with an optional transport protocol */ export interface IPortProtocol { /** * EndPort can only be an L4 port number. */ "endPort"?: number; /** * Port can be an L4 port number, or a name in the form of "http" * or "http-8080". */ "port"?: string; /** * Protocol is the L4 protocol. If "ANY", omitted or empty, any protocols * with transport ports (TCP, UDP, SCTP) match. * * Accepted values: "TCP", "UDP", "SCTP", "VRRP", "IGMP", "ANY" * * Matching on ICMP is not supported. * * Named port specified for a container may narrow this down, but may not * contradict this. */ "protocol"?: IComGithubCiliumCiliumPkgPolicyApiL4Proto; } /** * PortProtocol specifies an L4 port with an optional transport protocol */ export declare class PortProtocol extends Model implements IPortProtocol { "endPort"?: number; "port"?: string; "protocol"?: IComGithubCiliumCiliumPkgPolicyApiL4Proto; constructor(data?: ModelData); } export type { IPortProtocol as IComGithubCiliumCiliumPkgPolicyApiPortProtocol, PortProtocol as ComGithubCiliumCiliumPkgPolicyApiPortProtocol };