@kubevirt-ui/kubevirt-api
    Preparing search index...

    Interface IoK8sApiCoreV1LifecycleHandler

    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.

    interface IoK8sApiCoreV1LifecycleHandler {
        exec?: IoK8sApiCoreV1ExecAction;
        httpGet?: IoK8sApiCoreV1HTTPGetAction;
        sleep?: IoK8sApiCoreV1SleepAction;
        tcpSocket?: IoK8sApiCoreV1TCPSocketAction;
    }
    Index

    Properties

    Exec specifies a command to execute in the container.

    HTTPGet specifies an HTTP GET request to perform.

    Sleep represents a duration that the container should sleep.

    Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.