LifecycleHandlerPatch

data class LifecycleHandlerPatch(val exec: ExecActionPatch? = null, val httpGet: HTTPGetActionPatch? = null, val tcpSocket: TCPSocketActionPatch? = null)

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.

Constructors

Link copied to clipboard
constructor(exec: ExecActionPatch? = null, httpGet: HTTPGetActionPatch? = null, tcpSocket: TCPSocketActionPatch? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val exec: ExecActionPatch? = null

Exec specifies the action to take.

Link copied to clipboard

HTTPGet specifies the http request to perform.

Link copied to clipboard

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.