UNPKG

kubernetes-models

Version:
14 lines (13 loc) 805 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IoK8sApiCoreV1Lifecycle = exports.Lifecycle = void 0; const base_1 = require("@kubernetes-models/base"); const IoK8sApiCoreV1Lifecycle_1 = require("../_schemas/IoK8sApiCoreV1Lifecycle.js"); /** * Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted. */ class Lifecycle extends base_1.Model { } exports.Lifecycle = Lifecycle; exports.IoK8sApiCoreV1Lifecycle = Lifecycle; (0, base_1.setSchema)(Lifecycle, "io.k8s.api.core.v1.Lifecycle", IoK8sApiCoreV1Lifecycle_1.addSchema);