UNPKG

kubernetes-models

Version:
36 lines (35 loc) 991 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiCoreV1LifecycleHandler_1 = require("./IoK8sApiCoreV1LifecycleHandler.js"); const schema = { "properties": { "postStart": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.LifecycleHandler#" }, { "type": "null" } ] }, "preStop": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.LifecycleHandler#" }, { "type": "null" } ] } }, "type": "object" }; function addSchema() { (0, IoK8sApiCoreV1LifecycleHandler_1.addSchema)(); (0, validate_1.register)("io.k8s.api.core.v1.Lifecycle", schema); } exports.addSchema = addSchema;