mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Linter fixes
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
9a73940ae6
commit
a3e6d7dbe7
@ -72,26 +72,26 @@ export type HorizontalPodAutoscalerMetricSpec =
|
|||||||
| OptionVarient<HpaMetricType.Pods, BaseHorizontalPodAutoscalerMetricSpec, "pods">
|
| OptionVarient<HpaMetricType.Pods, BaseHorizontalPodAutoscalerMetricSpec, "pods">
|
||||||
| OptionVarient<HpaMetricType.ContainerResource, BaseHorizontalPodAutoscalerMetricSpec, "containerResource">;
|
| OptionVarient<HpaMetricType.ContainerResource, BaseHorizontalPodAutoscalerMetricSpec, "containerResource">;
|
||||||
|
|
||||||
type HorizontalPodAutoscalerBehavior = {
|
interface HorizontalPodAutoscalerBehavior {
|
||||||
scaleUp?: HPAScalingRules,
|
scaleUp?: HPAScalingRules;
|
||||||
scaleDown?: HPAScalingRules,
|
scaleDown?: HPAScalingRules;
|
||||||
}
|
}
|
||||||
|
|
||||||
type HPAScalingRules = {
|
interface HPAScalingRules {
|
||||||
stabilizationWindowSecond?: number,
|
stabilizationWindowSecond?: number;
|
||||||
selectPolicy?: ScalingPolicySelect,
|
selectPolicy?: ScalingPolicySelect;
|
||||||
policies?: HPAScalingPolicy[],
|
policies?: HPAScalingPolicy[];
|
||||||
}
|
}
|
||||||
|
|
||||||
type ScalingPolicySelect = string
|
type ScalingPolicySelect = string;
|
||||||
|
|
||||||
type HPAScalingPolicy = {
|
interface HPAScalingPolicy {
|
||||||
type: HPAScalingPolicyType,
|
type: HPAScalingPolicyType;
|
||||||
value: number,
|
value: number;
|
||||||
periodSeconds: number
|
periodSeconds: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
type HPAScalingPolicyType = string
|
type HPAScalingPolicyType = string;
|
||||||
|
|
||||||
export interface ContainerResourceMetricStatus {
|
export interface ContainerResourceMetricStatus {
|
||||||
container: string;
|
container: string;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user