import { IDevKnativePkgApisDuckV1Status } from "../../duck.knative.dev/v1/Status.js"; import { IDevKnativePkgApisDuckV1Conditions } from "../../duck.knative.dev/v1/Conditions.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * PodAutoscalerStatus communicates the observed state of the PodAutoscaler (from the controller). */ export interface IPodAutoscalerStatus extends IDevKnativePkgApisDuckV1Status { /** * ActualScale shows the actual number of replicas for the revision. */ "actualScale"?: number; /** * DesiredScale shows the current desired number of replicas for the revision. */ "desiredScale"?: number; /** * MetricsServiceName is the K8s Service name that provides revision metrics. * The service is managed by the PA object. */ "metricsServiceName": string; /** * ServiceName is the K8s Service name that serves the revision, scaled by this PA. * The service is created and owned by the ServerlessService object owned by this PA. */ "serviceName": string; } /** * PodAutoscalerStatus communicates the observed state of the PodAutoscaler (from the controller). */ export declare class PodAutoscalerStatus extends Model implements IPodAutoscalerStatus { "annotations"?: { [key: string]: string; }; "conditions"?: IDevKnativePkgApisDuckV1Conditions; "observedGeneration"?: number; "actualScale"?: number; "desiredScale"?: number; "metricsServiceName": string; "serviceName": string; constructor(data?: ModelData); } export type { IPodAutoscalerStatus as IDevKnativeServingPkgApisAutoscalingV1alpha1PodAutoscalerStatus, PodAutoscalerStatus as DevKnativeServingPkgApisAutoscalingV1alpha1PodAutoscalerStatus };