LifecycleHandler

io.k8s.api.core.v1.LifecycleHandler
See theLifecycleHandler companion object
final case class LifecycleHandler(exec: Option[ExecAction], httpGet: Option[HTTPGetAction], 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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

if exec has a value, transforms to the result of function

if exec has a value, transforms to the result of function

Attributes

Source
LifecycleHandler.scala

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 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 exec set to new value

Attributes

Source
LifecycleHandler.scala

Returns a new data with httpGet set to new value

Returns a new data with httpGet set to new value

Attributes

Source
LifecycleHandler.scala

Returns a new data with tcpSocket set to new value

Returns a new data with tcpSocket set to new value

Attributes

Source
LifecycleHandler.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product