import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAdvertisementType } from "./BGPAdvertisementType.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAttributes } from "./BGPAttributes.js"; import { IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector } from "../../meta/v1/LabelSelector.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPServiceOptions } 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": IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAdvertisementType; /** * Attributes defines additional attributes to set to the advertised routes. * If not specified, no additional attributes are set. */ "attributes"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAttributes; /** * 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 advertisementType service. */ "service"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPServiceOptions; } /** * 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": IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAdvertisementType; "attributes"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAttributes; "selector"?: IComGithubCiliumCiliumPkgK8sSlimK8sApisMetaV1LabelSelector; "service"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPServiceOptions; constructor(data?: ModelData); } export type { IBGPAdvertisement as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAdvertisement, BGPAdvertisement as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1BGPAdvertisement };