case class LifecycleHandler(exec: Optional[ExecAction] = Optional.Absent, httpGet: Optional[HTTPGetAction] = Optional.Absent, tcpSocket: Optional[TCPSocketAction] = Optional.Absent) extends Product with Serializable
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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LifecycleHandler
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LifecycleHandler(exec: Optional[ExecAction] = Optional.Absent, httpGet: Optional[HTTPGetAction] = Optional.Absent, tcpSocket: Optional[TCPSocketAction] = Optional.Absent)
Value Members
- val exec: Optional[ExecAction]
-
def
getExec: IO[K8sFailure, ExecAction]
Gets exec.
Gets exec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getHttpGet: IO[K8sFailure, HTTPGetAction]
Gets httpGet.
Gets httpGet.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getTcpSocket: IO[K8sFailure, TCPSocketAction]
Gets tcpSocket.
Gets tcpSocket.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val httpGet: Optional[HTTPGetAction]
- val tcpSocket: Optional[TCPSocketAction]