ModulesΒ§
StructsΒ§
ConstantsΒ§
- CMD_
ACTIVATE π - CMD_
DEACTIVATE π - CMD_
INIT π - CMD_
SHUTDOWN π - SHARED_
DRIVER_ πCONTRACT
FunctionsΒ§
- call_
startup_ πdriver - Invoke one startup lifecycle command through the real generated Driver RPC
and reject an
ok=falseresponse as a startup failure. - connect_
startup_ πdriver - Connect to this processβs just-spawned Driver endpoint. Retries only the bounded bind/startup window; a connected endpoint is returned immediately.
- lifecycle_
target π - main π
- startup_
driver_ πendpoint - Return a loopback endpoint for an unspecified bind address so the process can self-dial without changing the endpoint it advertises through Atlas.
- wait_
for_ πdriver_ shutdown - Wait until Driver(CMD_SHUTDOWN) has published TERMINATED. A watch channel preserves a shutdown sent before this particular waiter starts polling.