@kubernetes-models/autoscaler
Version:
Kubernetes Autoscaler models
30 lines (29 loc) • 1.26 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* HistogramCheckpoint contains data needed to reconstruct the histogram.
*/
export interface IHistogramCheckpoint {
/**
* Map from bucket index to bucket weight.
*/
"bucketWeights"?: {};
/**
* Reference timestamp for samples collected within this histogram.
*/
"referenceTimestamp"?: IIoK8sApimachineryPkgApisMetaV1Time;
/**
* Sum of samples to be used as denominator for weights from BucketWeights.
*/
"totalWeight"?: any;
}
/**
* HistogramCheckpoint contains data needed to reconstruct the histogram.
*/
export declare class HistogramCheckpoint extends Model<IHistogramCheckpoint> implements IHistogramCheckpoint {
"bucketWeights"?: {};
"referenceTimestamp"?: IIoK8sApimachineryPkgApisMetaV1Time;
"totalWeight"?: any;
constructor(data?: ModelData<IHistogramCheckpoint>);
}
export type { IHistogramCheckpoint as IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1beta2HistogramCheckpoint, HistogramCheckpoint as IoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1beta2HistogramCheckpoint };