Skip to content

airdress.hook.*

The events in the airdress.hook family. How to read a section, and what each audience means, is on the event reference page.

Owner warn Functions

A hook failed too often and is suspended for a while; its onBreakerOpen says whether its point proceeds or is refused meanwhile.

Audience: owner. About the airdress as a whole. Only the owner receives it: the owner’s devices and the owner’s subscriptions.

Where it goes

  • The operator’s journal, as one log line at this level, and the event log, where airdress events tail reads it.
  • Subscriptions that name it, within its audience.
  • Functions bound to this operator’s events (source: operator).

Versions

  • Version 1: first carried by operator v0.1.133.

Data

FieldTypeRequiredDescription
hookstringyes
on_breaker_openstringyesskip or deny.
pointstringyes
untilstringyes
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A hook failed too often and is suspended for a while; its `onBreakerOpen` says whether its point proceeds or is refused meanwhile.",
"properties": {
"hook": {
"type": "string"
},
"on_breaker_open": {
"description": "`skip` or `deny`.",
"type": "string"
},
"point": {
"type": "string"
},
"until": {
"type": "string"
}
},
"required": [
"hook",
"on_breaker_open",
"point",
"until"
],
"title": "HookBreakerOpened",
"type": "object"
}