UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

47 lines (46 loc) 1.74 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 { IoK8sApiCoreV1ExecAction, IoK8sApiCoreV1HTTPGetAction, IoK8sApiCoreV1SleepAction, IoK8sApiCoreV1TCPSocketAction } from './'; /** * LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified. * @export * @interface IoK8sApiCoreV1LifecycleHandler */ export interface IoK8sApiCoreV1LifecycleHandler { /** * * @type {IoK8sApiCoreV1ExecAction} * @memberof IoK8sApiCoreV1LifecycleHandler */ exec?: IoK8sApiCoreV1ExecAction; /** * * @type {IoK8sApiCoreV1HTTPGetAction} * @memberof IoK8sApiCoreV1LifecycleHandler */ httpGet?: IoK8sApiCoreV1HTTPGetAction; /** * * @type {IoK8sApiCoreV1SleepAction} * @memberof IoK8sApiCoreV1LifecycleHandler */ sleep?: IoK8sApiCoreV1SleepAction; /** * * @type {IoK8sApiCoreV1TCPSocketAction} * @memberof IoK8sApiCoreV1LifecycleHandler */ tcpSocket?: IoK8sApiCoreV1TCPSocketAction; } export declare function IoK8sApiCoreV1LifecycleHandlerFromJSON(json: any): IoK8sApiCoreV1LifecycleHandler; export declare function IoK8sApiCoreV1LifecycleHandlerFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1LifecycleHandler; export declare function IoK8sApiCoreV1LifecycleHandlerToJSON(value?: IoK8sApiCoreV1LifecycleHandler | null): any;