ComponentHealth
class ComponentHealth(val name: String, val status: HealthStatus, val details: Map<String, Any?> = emptyMap(), val components: List<ComponentHealth> = emptyList())
The health of one component of a node, named: its status, what it is made of (components, each with its own health), and details an operator reads, plain values only (numbers, strings, booleans, lists and maps of them), never a message that may name a host or hold a secret.
Constructors
Link copied to clipboard
constructor(name: String, status: HealthStatus, details: Map<String, Any?> = emptyMap(), components: List<ComponentHealth> = emptyList())