UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

41 lines (40 loc) 1.79 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { IoK8sApiCoreV1LifecycleHandler } from './'; /** * 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 * @interface IoK8sApiCoreV1Lifecycle */ export interface IoK8sApiCoreV1Lifecycle { /** * * @type {IoK8sApiCoreV1LifecycleHandler} * @memberof IoK8sApiCoreV1Lifecycle */ postStart?: IoK8sApiCoreV1LifecycleHandler; /** * * @type {IoK8sApiCoreV1LifecycleHandler} * @memberof IoK8sApiCoreV1Lifecycle */ preStop?: IoK8sApiCoreV1LifecycleHandler; /** * StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name * @type {string} * @memberof IoK8sApiCoreV1Lifecycle */ stopSignal?: string; } export declare function IoK8sApiCoreV1LifecycleFromJSON(json: any): IoK8sApiCoreV1Lifecycle; export declare function IoK8sApiCoreV1LifecycleFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1Lifecycle; export declare function IoK8sApiCoreV1LifecycleToJSON(value?: IoK8sApiCoreV1Lifecycle | null): any;