Law.
A check that can fail, registered against a kind or a flow
Figure 1Lawspecified
- kind
- row
- scope
- platform
- key
- its name
- store
- postgres
- family
- kernel
Fields#
| field | type | required | note |
|---|---|---|---|
name | text | yes | |
against | text | yes | a kind or a flow |
check | text | yes | what it reads and what red is |
planted_fault | text | yes | the case that must read red |
last_red | time | no | |
last_green | time | no | |
state | Readiness | yes | not trusted until the injected fault fails the check and the restored case passes it |
Routes that use it#
No route takes or returns Law directly. The record holds it, and the objects that point at it reach it.