StandbyControl

A node's standby, as its operator routes see it.

Types

Link copied to clipboard
data class Status(val node: String, val standby: Boolean, val activatedAt: Long? = null, val activatedBy: String? = null, val reason: String? = null)

A node's standby: standby now, and its last activation (activatedAt, activatedBy, reason).

Functions

Link copied to clipboard
abstract suspend fun activate(by: String, reason: String?): StandbyControl.Status

Activates the node, by naming who and reason why.

Link copied to clipboard

The node's standby now: whether it is on standby, and when and by whom it was activated.