1
0
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:
Alex Andreev 2023-01-11 11:18:06 +03:00
parent 9a73940ae6
commit a3e6d7dbe7

View File

@ -72,26 +72,26 @@ export type HorizontalPodAutoscalerMetricSpec =
| OptionVarient<HpaMetricType.Pods, BaseHorizontalPodAutoscalerMetricSpec, "pods">
| OptionVarient<HpaMetricType.ContainerResource, BaseHorizontalPodAutoscalerMetricSpec, "containerResource">;
type HorizontalPodAutoscalerBehavior = {
scaleUp?: HPAScalingRules,
scaleDown?: HPAScalingRules,
interface HorizontalPodAutoscalerBehavior {
scaleUp?: HPAScalingRules;
scaleDown?: HPAScalingRules;
}
type HPAScalingRules = {
stabilizationWindowSecond?: number,
selectPolicy?: ScalingPolicySelect,
policies?: HPAScalingPolicy[],
interface HPAScalingRules {
stabilizationWindowSecond?: number;
selectPolicy?: ScalingPolicySelect;
policies?: HPAScalingPolicy[];
}
type ScalingPolicySelect = string
type ScalingPolicySelect = string;
type HPAScalingPolicy = {
type: HPAScalingPolicyType,
value: number,
periodSeconds: number
interface HPAScalingPolicy {
type: HPAScalingPolicyType;
value: number;
periodSeconds: number;
}
type HPAScalingPolicyType = string
type HPAScalingPolicyType = string;
export interface ContainerResourceMetricStatus {
container: string;