import { IComGithubCiliumCiliumPkgPolicyApiK8sServiceNamespace } from "./K8sServiceNamespace.js"; import { IComGithubCiliumCiliumPkgPolicyApiK8sServiceSelectorNamespace } from "./K8sServiceSelectorNamespace.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * Service selects policy targets that are bundled as part of a * logical load-balanced service. * * Currently only Kubernetes-based Services are supported. */ export interface IService { /** * K8sService selects service by name and namespace pair */ "k8sService"?: IComGithubCiliumCiliumPkgPolicyApiK8sServiceNamespace; /** * K8sServiceSelector selects services by k8s labels and namespace */ "k8sServiceSelector"?: IComGithubCiliumCiliumPkgPolicyApiK8sServiceSelectorNamespace; } /** * Service selects policy targets that are bundled as part of a * logical load-balanced service. * * Currently only Kubernetes-based Services are supported. */ export declare class Service extends Model implements IService { "k8sService"?: IComGithubCiliumCiliumPkgPolicyApiK8sServiceNamespace; "k8sServiceSelector"?: IComGithubCiliumCiliumPkgPolicyApiK8sServiceSelectorNamespace; constructor(data?: ModelData); } export type { IService as IComGithubCiliumCiliumPkgPolicyApiService, Service as ComGithubCiliumCiliumPkgPolicyApiService };