Linter fixes

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2023-01-11 11:18:06 +03:00
1 parent 9a73940ae6
commit a3e6d7dbe7
1 file changed
+13 -13
@@ -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;