import { IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector } from "../../meta/v1/LabelSelector.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2PortInfo } from "./PortInfo.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * RedirectBackend is a backend configuration that determines where traffic needs to be redirected to. */ export interface IRedirectBackend { /** * LocalEndpointSelector selects node local pod(s) where traffic is redirected to. */ "localEndpointSelector": IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector; /** * ToPorts is a list of L4 ports with protocol of node local pod(s) where traffic * is redirected to. * When multiple ports are specified, the ports must be named. */ "toPorts": Array; } /** * RedirectBackend is a backend configuration that determines where traffic needs to be redirected to. */ export declare class RedirectBackend extends Model implements IRedirectBackend { "localEndpointSelector": IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector; "toPorts": Array; constructor(data?: ModelData); } export type { IRedirectBackend as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2RedirectBackend, RedirectBackend as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2RedirectBackend };