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())

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

The component named among components; null when there is none.

Link copied to clipboard
open override fun toString(): String