final case class Probe(timeoutSeconds: Option[Int] = None, grpc: Option[GRPCAction] = None, tcpSocket: Option[TCPSocketAction] = None, initialDelaySeconds: Option[Int] = None, failureThreshold: Option[Int] = None, httpGet: Option[HTTPGetAction] = None, terminationGracePeriodSeconds: Option[Int] = None, exec: Option[ExecAction] = None, periodSeconds: Option[Int] = None, successThreshold: Option[Int] = None) extends Product with Serializable
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
- Source
- Probe.scala
- Alphabetic
- By Inheritance
- Probe
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Probe(timeoutSeconds: Option[Int] = None, grpc: Option[GRPCAction] = None, tcpSocket: Option[TCPSocketAction] = None, initialDelaySeconds: Option[Int] = None, failureThreshold: Option[Int] = None, httpGet: Option[HTTPGetAction] = None, terminationGracePeriodSeconds: Option[Int] = None, exec: Option[ExecAction] = None, periodSeconds: Option[Int] = None, successThreshold: Option[Int] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val exec: Option[ExecAction]
- val failureThreshold: Option[Int]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val grpc: Option[GRPCAction]
- val httpGet: Option[HTTPGetAction]
- val initialDelaySeconds: Option[Int]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapExec(f: (ExecAction) => ExecAction): Probe
if exec has a value, transforms to the result of function
- def mapFailureThreshold(f: (Int) => Int): Probe
if failureThreshold has a value, transforms to the result of function
- def mapGrpc(f: (GRPCAction) => GRPCAction): Probe
if grpc has a value, transforms to the result of function
- def mapHttpGet(f: (HTTPGetAction) => HTTPGetAction): Probe
if httpGet has a value, transforms to the result of function
- def mapInitialDelaySeconds(f: (Int) => Int): Probe
if initialDelaySeconds has a value, transforms to the result of function
- def mapPeriodSeconds(f: (Int) => Int): Probe
if periodSeconds has a value, transforms to the result of function
- def mapSuccessThreshold(f: (Int) => Int): Probe
if successThreshold has a value, transforms to the result of function
- def mapTcpSocket(f: (TCPSocketAction) => TCPSocketAction): Probe
if tcpSocket has a value, transforms to the result of function
- def mapTerminationGracePeriodSeconds(f: (Int) => Int): Probe
if terminationGracePeriodSeconds has a value, transforms to the result of function
- def mapTimeoutSeconds(f: (Int) => Int): Probe
if timeoutSeconds has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val periodSeconds: Option[Int]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val successThreshold: Option[Int]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tcpSocket: Option[TCPSocketAction]
- val terminationGracePeriodSeconds: Option[Int]
- val timeoutSeconds: Option[Int]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withExec(value: ExecAction): Probe
Returns a new data with exec set to new value
- def withFailureThreshold(value: Int): Probe
Returns a new data with failureThreshold set to new value
- def withGrpc(value: GRPCAction): Probe
Returns a new data with grpc set to new value
- def withHttpGet(value: HTTPGetAction): Probe
Returns a new data with httpGet set to new value
- def withInitialDelaySeconds(value: Int): Probe
Returns a new data with initialDelaySeconds set to new value
- def withPeriodSeconds(value: Int): Probe
Returns a new data with periodSeconds set to new value
- def withSuccessThreshold(value: Int): Probe
Returns a new data with successThreshold set to new value
- def withTcpSocket(value: TCPSocketAction): Probe
Returns a new data with tcpSocket set to new value
- def withTerminationGracePeriodSeconds(value: Int): Probe
Returns a new data with terminationGracePeriodSeconds set to new value
- def withTimeoutSeconds(value: Int): Probe
Returns a new data with timeoutSeconds set to new value