UNPKG

kubernetes-models

Version:
36 lines (35 loc) 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiAutoscalingV2HPAScalingRules_1 = require("./IoK8sApiAutoscalingV2HPAScalingRules.js"); const schema = { "properties": { "scaleDown": { "oneOf": [ { "$ref": "io.k8s.api.autoscaling.v2.HPAScalingRules#" }, { "type": "null" } ] }, "scaleUp": { "oneOf": [ { "$ref": "io.k8s.api.autoscaling.v2.HPAScalingRules#" }, { "type": "null" } ] } }, "type": "object" }; function addSchema() { (0, IoK8sApiAutoscalingV2HPAScalingRules_1.addSchema)(); (0, validate_1.register)("io.k8s.api.autoscaling.v2.HorizontalPodAutoscalerBehavior", schema); } exports.addSchema = addSchema;