Package org.cdk8s.plus24.k8s
Interface LifecycleHandler
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LifecycleHandler.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-05T02:57:36.661Z") @Stability(Stable) public interface LifecycleHandler extends software.amazon.jsii.JsiiSerializable
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LifecycleHandler.Builder
A builder forLifecycleHandler
static class
LifecycleHandler.Jsii$Proxy
An implementation forLifecycleHandler
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static LifecycleHandler.Builder
builder()
default ExecAction
getExec()
Exec specifies the action to take.default HttpGetAction
getHttpGet()
HTTPGet specifies the http request to perform.default TcpSocketAction
getTcpSocket()
Deprecated.
-
-
-
Method Detail
-
getExec
@Stability(Stable) @Nullable default ExecAction getExec()
Exec specifies the action to take.
-
getHttpGet
@Stability(Stable) @Nullable default HttpGetAction getHttpGet()
HTTPGet specifies the http request to perform.
-
getTcpSocket
@Stability(Stable) @Nullable default TcpSocketAction getTcpSocket()
Deprecated.TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.
-
builder
@Stability(Stable) static LifecycleHandler.Builder builder()
- Returns:
- a
LifecycleHandler.Builder
ofLifecycleHandler
-
-