kubernetes-models
Version:
19 lines (18 loc) • 605 B
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* ScaleSpec describes the attributes of a scale subresource.
*/
export interface IScaleSpec {
/**
* replicas is the desired number of instances for the scaled object.
*/
"replicas"?: number;
}
/**
* ScaleSpec describes the attributes of a scale subresource.
*/
export declare class ScaleSpec extends Model<IScaleSpec> implements IScaleSpec {
"replicas"?: number;
constructor(data?: ModelData<IScaleSpec>);
}
export { IScaleSpec as IIoK8sApiAutoscalingV1ScaleSpec, ScaleSpec as IoK8sApiAutoscalingV1ScaleSpec };