Interface Generated.LifecycleHandlerOrBuilder

    • Method Detail

      • hasExec

        boolean hasExec()
         Exec specifies a command to execute in the container.
         +optional
         
        optional .k8s.io.api.core.v1.ExecAction exec = 1;
        Returns:
        Whether the exec field is set.
      • getExec

        Generated.ExecAction getExec()
         Exec specifies a command to execute in the container.
         +optional
         
        optional .k8s.io.api.core.v1.ExecAction exec = 1;
        Returns:
        The exec.
      • getExecOrBuilder

        Generated.ExecActionOrBuilder getExecOrBuilder()
         Exec specifies a command to execute in the container.
         +optional
         
        optional .k8s.io.api.core.v1.ExecAction exec = 1;
      • hasHttpGet

        boolean hasHttpGet()
         HTTPGet specifies an HTTP GET request to perform.
         +optional
         
        optional .k8s.io.api.core.v1.HTTPGetAction httpGet = 2;
        Returns:
        Whether the httpGet field is set.
      • getHttpGet

        Generated.HTTPGetAction getHttpGet()
         HTTPGet specifies an HTTP GET request to perform.
         +optional
         
        optional .k8s.io.api.core.v1.HTTPGetAction httpGet = 2;
        Returns:
        The httpGet.
      • getHttpGetOrBuilder

        Generated.HTTPGetActionOrBuilder getHttpGetOrBuilder()
         HTTPGet specifies an HTTP GET request to perform.
         +optional
         
        optional .k8s.io.api.core.v1.HTTPGetAction httpGet = 2;
      • hasTcpSocket

        boolean hasTcpSocket()
         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.
         +optional
         
        optional .k8s.io.api.core.v1.TCPSocketAction tcpSocket = 3;
        Returns:
        Whether the tcpSocket field is set.
      • getTcpSocket

        Generated.TCPSocketAction getTcpSocket()
         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.
         +optional
         
        optional .k8s.io.api.core.v1.TCPSocketAction tcpSocket = 3;
        Returns:
        The tcpSocket.
      • getTcpSocketOrBuilder

        Generated.TCPSocketActionOrBuilder getTcpSocketOrBuilder()
         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.
         +optional
         
        optional .k8s.io.api.core.v1.TCPSocketAction tcpSocket = 3;
      • hasSleep

        boolean hasSleep()
         Sleep represents a duration that the container should sleep.
         +featureGate=PodLifecycleSleepAction
         +optional
         
        optional .k8s.io.api.core.v1.SleepAction sleep = 4;
        Returns:
        Whether the sleep field is set.
      • getSleep

        Generated.SleepAction getSleep()
         Sleep represents a duration that the container should sleep.
         +featureGate=PodLifecycleSleepAction
         +optional
         
        optional .k8s.io.api.core.v1.SleepAction sleep = 4;
        Returns:
        The sleep.
      • getSleepOrBuilder

        Generated.SleepActionOrBuilder getSleepOrBuilder()
         Sleep represents a duration that the container should sleep.
         +featureGate=PodLifecycleSleepAction
         +optional
         
        optional .k8s.io.api.core.v1.SleepAction sleep = 4;