UNPKG

kubernetes-models

Version:
57 lines (56 loc) 1.76 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApimachineryPkgApiResourceQuantity_1 = require("@kubernetes-models/apimachinery/_schemas/IoK8sApimachineryPkgApiResourceQuantity"); const schema = { "properties": { "default": { "additionalProperties": { "$ref": "io.k8s.apimachinery.pkg.api.resource.Quantity#" }, "type": "object", "nullable": true }, "defaultRequest": { "additionalProperties": { "$ref": "io.k8s.apimachinery.pkg.api.resource.Quantity#" }, "type": "object", "nullable": true }, "max": { "additionalProperties": { "$ref": "io.k8s.apimachinery.pkg.api.resource.Quantity#" }, "type": "object", "nullable": true }, "maxLimitRequestRatio": { "additionalProperties": { "$ref": "io.k8s.apimachinery.pkg.api.resource.Quantity#" }, "type": "object", "nullable": true }, "min": { "additionalProperties": { "$ref": "io.k8s.apimachinery.pkg.api.resource.Quantity#" }, "type": "object", "nullable": true }, "type": { "type": "string" } }, "required": [ "type" ], "type": "object" }; function addSchema() { (0, IoK8sApimachineryPkgApiResourceQuantity_1.addSchema)(); (0, validate_1.register)("io.k8s.api.core.v1.LimitRangeItem", schema); } exports.addSchema = addSchema;