Skip to main content

Module sim

Module sim 

Source
Expand description

The fake harness: a fake machine, the real daemon core, and a watchdog process, driven tick by tick by a catalog entry’s steps.

Structs§

Sim
Unsupported

Constants§

DAEMON_PID
TICK
WATCHDOG_PID

Functions§

config
dur
“90s”, “5m”, “24h1m”; “stale_after” means a probe’s staleness window (30 s for the fixtures), optionally “+”.
gym_admins 🔒
The authorization the daemon would compute for actor on the gym’s seat: a local, active session (gym unless the actor names one). The gym’s administrators: root and uid 1001 (in planarian-admin).
gym_authz 🔒
peer
root, user:<uid> or user:<uid>@<session>; user:1001 is the gym’s administrator.
unit
value