import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAdvertisementType } from "./BGPAdvertisementType.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAttributes } from "./BGPAttributes.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPInterfaceOptions } from "./BGPInterfaceOptions.js"; import { IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector } from "../../meta/v1/LabelSelector.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPServiceOptions } from "./BGPServiceOptions.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * BGPAdvertisement defines which routes Cilium should advertise to BGP peers. Optionally, additional attributes can be * set to the advertised routes. */ export interface IBGPAdvertisement { /** * AdvertisementType defines type of advertisement which has to be advertised. */ "advertisementType": IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAdvertisementType; /** * Attributes defines additional attributes to set to the advertised routes. * If not specified, no additional attributes are set. */ "attributes"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAttributes; /** * Interface defines configuration options for the "Interface" advertisementType. */ "interface"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPInterfaceOptions; /** * Selector is a label selector to select objects of the type specified by AdvertisementType. * For the PodCIDR AdvertisementType it is not applicable. For other advertisement types, * if not specified, no objects of the type specified by AdvertisementType are selected for advertisement. */ "selector"?: IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector; /** * Service defines configuration options for the "Service" advertisementType. */ "service"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPServiceOptions; } /** * BGPAdvertisement defines which routes Cilium should advertise to BGP peers. Optionally, additional attributes can be * set to the advertised routes. */ export declare class BGPAdvertisement extends Model implements IBGPAdvertisement { "advertisementType": IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAdvertisementType; "attributes"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAttributes; "interface"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPInterfaceOptions; "selector"?: IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector; "service"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPServiceOptions; constructor(data?: ModelData); } export type { IBGPAdvertisement as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAdvertisement, BGPAdvertisement as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2BGPAdvertisement };