import { IDevKnativeNetworkingPkgApisNetworkingProtocolType } from "../../knative.dev/networking/pkg/apis/networking/ProtocolType.js"; import { IDevKnativeServingPkgApisAutoscalingV1alpha1ReachabilityType } from "./ReachabilityType.js"; import { IIoK8sApiCoreV1ObjectReference } from "kubernetes-models/v1/ObjectReference"; import { ModelData, Model } from "@kubernetes-models/base"; /** * PodAutoscalerSpec holds the desired state of the PodAutoscaler (from the client). */ export interface IPodAutoscalerSpec { /** * ContainerConcurrency specifies the maximum allowed * in-flight (concurrent) requests per container of the Revision. * Defaults to `0` which means unlimited concurrency. */ "containerConcurrency"?: number; /** * The application-layer protocol. Matches `ProtocolType` inferred from the revision spec. */ "protocolType": IDevKnativeNetworkingPkgApisNetworkingProtocolType; /** * Reachability specifies whether or not the `ScaleTargetRef` can be reached (ie. has a route). * Defaults to `ReachabilityUnknown` */ "reachability"?: IDevKnativeServingPkgApisAutoscalingV1alpha1ReachabilityType; /** * ScaleTargetRef defines the /scale-able resource that this PodAutoscaler * is responsible for quickly right-sizing. */ "scaleTargetRef": IIoK8sApiCoreV1ObjectReference; } /** * PodAutoscalerSpec holds the desired state of the PodAutoscaler (from the client). */ export declare class PodAutoscalerSpec extends Model implements IPodAutoscalerSpec { "containerConcurrency"?: number; "protocolType": IDevKnativeNetworkingPkgApisNetworkingProtocolType; "reachability"?: IDevKnativeServingPkgApisAutoscalingV1alpha1ReachabilityType; "scaleTargetRef": IIoK8sApiCoreV1ObjectReference; constructor(data?: ModelData); } export type { IPodAutoscalerSpec as IDevKnativeServingPkgApisAutoscalingV1alpha1PodAutoscalerSpec, PodAutoscalerSpec as DevKnativeServingPkgApisAutoscalingV1alpha1PodAutoscalerSpec };