Lifecycle

io.k8s.api.core.v1.Lifecycle
See theLifecycle companion object
final case class Lifecycle(postStart: Option[LifecycleHandler], preStop: Option[LifecycleHandler])

Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

Attributes

Companion
object
Source
Lifecycle.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

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

Attributes

Source
Lifecycle.scala

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

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

Attributes

Source
Lifecycle.scala

Returns a new data with postStart set to new value

Returns a new data with postStart set to new value

Attributes

Source
Lifecycle.scala

Returns a new data with preStop set to new value

Returns a new data with preStop set to new value

Attributes

Source
Lifecycle.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product