UNPKG

kubernetes-models

Version:
31 lines (30 loc) 891 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiCoreV1NamespaceCondition_1 = require("./IoK8sApiCoreV1NamespaceCondition.js"); const schema = { "properties": { "conditions": { "items": { "$ref": "io.k8s.api.core.v1.NamespaceCondition#" }, "type": "array", "nullable": true }, "phase": { "enum": [ "Active", "Terminating" ], "type": "string", "nullable": true } }, "type": "object" }; function addSchema() { (0, IoK8sApiCoreV1NamespaceCondition_1.addSchema)(); (0, validate_1.register)("io.k8s.api.core.v1.NamespaceStatus", schema); } exports.addSchema = addSchema;