LifecycleHandlerPatch constructor
const
LifecycleHandlerPatch({
- Input<
ExecActionPatch> ? exec, - Input<
HTTPGetActionPatch> ? httpGet, - Input<
SleepActionPatch> ? sleep, - Input<
TCPSocketActionPatch> ? tcpSocket,
Creates a new LifecycleHandlerPatch.
exec Exec specifies a command to execute in the container.
httpGet HTTPGet specifies an HTTP GET request to perform.
sleep Sleep represents a duration that the container should sleep.
tcpSocket 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.
Implementation
const LifecycleHandlerPatch({
this.exec,
this.httpGet,
this.sleep,
this.tcpSocket,
});