kubernetes-models
Version:
10 lines (9 loc) • 594 B
JavaScript
import { Model, setSchema } from "@kubernetes-models/base";
import { addSchema } from "../_schemas/IoK8sApiCoreV1Lifecycle.mjs";
/**
* 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.
*/
export class Lifecycle extends Model {
}
setSchema(Lifecycle, "io.k8s.api.core.v1.Lifecycle", addSchema);
export { Lifecycle as IoK8sApiCoreV1Lifecycle };