import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2CIDR } from "./CIDR.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2EgressGateway } from "./EgressGateway.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2EgressRule } from "./EgressRule.js"; import { ModelData, Model } from "@kubernetes-models/base"; export interface ICiliumEgressGatewayPolicySpec { /** * DestinationCIDRs is a list of destination CIDRs for destination IP addresses. * If a destination IP matches any one CIDR, it will be selected. */ "destinationCIDRs": Array; /** * EgressGateway is the gateway node responsible for SNATing traffic. * In case multiple nodes are a match for the given set of labels, the first node * in lexical ordering based on their name will be selected. */ "egressGateway": IComGithubCiliumCiliumPkgK8sApisCiliumIoV2EgressGateway; /** * Optional list of gateway nodes responsible for SNATing traffic. * If this field has any entries the contents of the egressGateway field will be ignored. * In case multiple nodes are a match for the given set of labels in each entry, * the first node in lexical ordering based on their name will be selected for each entry. */ "egressGateways"?: Array; /** * ExcludedCIDRs is a list of destination CIDRs that will be excluded * from the egress gateway redirection and SNAT logic. * Should be a subset of destinationCIDRs otherwise it will not have any * effect. */ "excludedCIDRs"?: Array; /** * Egress represents a list of rules by which egress traffic is * filtered from the source pods. */ "selectors": Array; } export declare class CiliumEgressGatewayPolicySpec extends Model implements ICiliumEgressGatewayPolicySpec { "destinationCIDRs": Array; "egressGateway": IComGithubCiliumCiliumPkgK8sApisCiliumIoV2EgressGateway; "egressGateways"?: Array; "excludedCIDRs"?: Array; "selectors": Array; constructor(data?: ModelData); } export type { ICiliumEgressGatewayPolicySpec as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2CiliumEgressGatewayPolicySpec, CiliumEgressGatewayPolicySpec as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2CiliumEgressGatewayPolicySpec };