import { IDevKnativePkgApisDuckV1Status } from "../../duck.knative.dev/v1/Status.js"; import { IDevKnativeServingPkgApisServingV1ContainerStatus } from "./ContainerStatus.js"; import { IDevKnativePkgApisDuckV1Conditions } from "../../duck.knative.dev/v1/Conditions.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * RevisionStatus communicates the observed state of the Revision (from the controller). */ export interface IRevisionStatus extends IDevKnativePkgApisDuckV1Status { /** * ActualReplicas reflects the amount of ready pods running this revision. */ "actualReplicas"?: number; /** * ContainerStatuses is a slice of images present in .Spec.Container[\*].Image * to their respective digests and their container name. * The digests are resolved during the creation of Revision. * ContainerStatuses holds the container name and image digests * for both serving and non serving containers. * ref: https://bit.ly/image-digests */ "containerStatuses"?: Array; /** * DesiredReplicas reflects the desired amount of pods running this revision. */ "desiredReplicas"?: number; /** * InitContainerStatuses is a slice of images present in .Spec.InitContainer[\*].Image * to their respective digests and their container name. * The digests are resolved during the creation of Revision. * ContainerStatuses holds the container name and image digests * for both serving and non serving containers. * ref: https://bit.ly/image-digests */ "initContainerStatuses"?: Array; /** * LogURL specifies the generated logging url for this particular revision * based on the revision url template specified in the controller's config. */ "logUrl"?: string; } /** * RevisionStatus communicates the observed state of the Revision (from the controller). */ export declare class RevisionStatus extends Model implements IRevisionStatus { "annotations"?: { [key: string]: string; }; "conditions"?: IDevKnativePkgApisDuckV1Conditions; "observedGeneration"?: number; "actualReplicas"?: number; "containerStatuses"?: Array; "desiredReplicas"?: number; "initContainerStatuses"?: Array; "logUrl"?: string; constructor(data?: ModelData); } export type { IRevisionStatus as IDevKnativeServingPkgApisServingV1RevisionStatus, RevisionStatus as DevKnativeServingPkgApisServingV1RevisionStatus };