ContainerHealthCheck

izumi.distage.docker.healthcheck.ContainerHealthCheck
See theContainerHealthCheck companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class AvailablePorts(availablePorts: NEMap[DockerPort, NEList[AvailablePort]])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait HealthCheckResult

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Failed
class Terminated
object Passed
Show all
final case class UnavailablePorts(unavailablePorts: Map[DockerPort, List[(AvailablePort, Option[Throwable])]]) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Value members

Concrete methods

def exitCodeCheck(exitCode: Int = ...): ContainerHealthCheck

Waits until container runs to completion with expected exitCode.

Waits until container runs to completion with expected exitCode.

Attributes

Note

WARNING: ContainerConfig#autoRemove MUST be set to false for this check to pass

def postgreSqlProtocolCheck(port: DockerPort, user: String, password: String): ContainerHealthCheck