UNPKG

@kubernetes-models/autoscaler

Version:
51 lines (50 loc) 2.45 kB
import { IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1HistogramCheckpoint } from "./HistogramCheckpoint.js"; import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time"; import { ModelData, Model } from "@kubernetes-models/base"; /** * VerticalPodAutoscalerCheckpointStatus contains data of the checkpoint. */ export interface IVerticalPodAutoscalerCheckpointStatus { /** * Checkpoint of histogram for consumption of CPU. */ "cpuHistogram"?: IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1HistogramCheckpoint; /** * Timestamp of the first sample from the histograms. */ "firstSampleStart"?: IIoK8sApimachineryPkgApisMetaV1Time; /** * Timestamp of the last sample from the histograms. */ "lastSampleStart"?: IIoK8sApimachineryPkgApisMetaV1Time; /** * The time when the status was last refreshed. */ "lastUpdateTime"?: IIoK8sApimachineryPkgApisMetaV1Time; /** * Checkpoint of histogram for consumption of memory. */ "memoryHistogram"?: IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1HistogramCheckpoint; /** * Total number of samples in the histograms. */ "totalSamplesCount"?: number; /** * Version of the format of the stored data. */ "version"?: string; } /** * VerticalPodAutoscalerCheckpointStatus contains data of the checkpoint. */ export declare class VerticalPodAutoscalerCheckpointStatus extends Model<IVerticalPodAutoscalerCheckpointStatus> implements IVerticalPodAutoscalerCheckpointStatus { "cpuHistogram"?: IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1HistogramCheckpoint; "firstSampleStart"?: IIoK8sApimachineryPkgApisMetaV1Time; "lastSampleStart"?: IIoK8sApimachineryPkgApisMetaV1Time; "lastUpdateTime"?: IIoK8sApimachineryPkgApisMetaV1Time; "memoryHistogram"?: IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1HistogramCheckpoint; "totalSamplesCount"?: number; "version"?: string; constructor(data?: ModelData<IVerticalPodAutoscalerCheckpointStatus>); } export type { IVerticalPodAutoscalerCheckpointStatus as IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1VerticalPodAutoscalerCheckpointStatus, VerticalPodAutoscalerCheckpointStatus as IoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1VerticalPodAutoscalerCheckpointStatus };