io.k8s.api.core.v1.LifecycleHandler
See theLifecycleHandler companion object
final case class LifecycleHandler(exec: Option[ExecAction], httpGet: Option[HTTPGetAction], sleep: Option[SleepAction], tcpSocket: Option[TCPSocketAction])
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.
Attributes
- Companion
- object
- Source
- LifecycleHandler.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
if exec has a value, transforms to the result of function
if httpGet has a value, transforms to the result of function
if httpGet has a value, transforms to the result of function
Attributes
- Source
- LifecycleHandler.scala
if sleep has a value, transforms to the result of function
if tcpSocket has a value, transforms to the result of function
if tcpSocket has a value, transforms to the result of function
Attributes
- Source
- LifecycleHandler.scala
Returns a new data with exec set to new value
Returns a new data with httpGet set to new value
Returns a new data with sleep set to new value
Returns a new data with tcpSocket set to new value
In this article