Expand description
Production wiring for NodeOperatorMesh (A2).
When drain + operator control are configured, core:
- listens for operator clients on an owner-only local endpoint;
- opens one drain consumer per configured node id (g4a control);
- registers each
OperatorLinkon the mesh so operator requests reach the node.
Optional: m4a channel consumers share the same node list when a hub is present. Secrets are read from named environment variables and scrubbed; never logged.
Structs§
- Mesh
Config - Optional production mesh configuration (all-or-nothing for the drain path).
- Mesh
Runtime - Running mesh: operator control + per-node drain consumers.
Constants§
- DRAIN_
ADDR_ ENV - DRAIN_
TOKEN_ VAR_ ENV - NODE_
IDS_ ENV - OPERATOR_
LISTEN_ ENV - OPERATOR_
TOKEN_ VAR_ ENV - RECIPIENT_
SECRET_ VAR_ ENV
Functions§
- recipient_
seed_ path - Public path of the persisted recipient seed (for operators to hand the pub key to C2).