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.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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user