Skip to main content

Module mesh_runtime

Module mesh_runtime 

Source
Expand description

Production wiring for NodeOperatorMesh (A2).

When drain + operator control are configured, core:

  1. listens for operator clients on an owner-only local endpoint;
  2. opens one drain consumer per configured node id (g4a control);
  3. registers each OperatorLink on 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§

MeshConfig
Optional production mesh configuration (all-or-nothing for the drain path).
MeshRuntime
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).