import { ModelData, Model } from "@kubernetes-models/base"; export interface IServiceListener { /** * Listener specifies the name of the Envoy listener the * service traffic is redirected to. The listener must be * specified in the Envoy 'resources' of the same * CiliumEnvoyConfig. * * If omitted, the first listener specified in 'resources' is * used. */ "listener"?: string; /** * Name is the name of a destination Kubernetes service that identifies traffic * to be redirected. */ "name": string; /** * Namespace is the Kubernetes service namespace. * In CiliumEnvoyConfig namespace this is overridden to the namespace of the CEC, * In CiliumClusterwideEnvoyConfig namespace defaults to "default". */ "namespace"?: string; /** * Ports is a set of service's frontend ports that should be redirected to the Envoy * listener. By default all frontend ports of the service are redirected. */ "ports"?: Array; } export declare class ServiceListener extends Model implements IServiceListener { "listener"?: string; "name": string; "namespace"?: string; "ports"?: Array; constructor(data?: ModelData); } export type { IServiceListener as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2ServiceListener, ServiceListener as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2ServiceListener };