import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2PortInfo } from "./PortInfo.js"; import { ModelData, Model } from "@kubernetes-models/base"; export interface IFrontend { /** * IP is a destination ip address for traffic to be redirected. * * Example: * When it is set to "169.254.169.254", traffic destined to * "169.254.169.254" is redirected. */ "ip": string; /** * ToPorts is a list of destination L4 ports with protocol for traffic * to be redirected. * When multiple ports are specified, the ports must be named. * * Example: * When set to Port: "53" and Protocol: UDP, traffic destined to port '53' * with UDP protocol is redirected. */ "toPorts": Array; } export declare class Frontend extends Model implements IFrontend { "ip": string; "toPorts": Array; constructor(data?: ModelData); } export type { IFrontend as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2Frontend, Frontend as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2Frontend };