Expand description
Named MicroVMs: the record, the store port, and the CLI’s registry on disk.
Structs§
- File
Name Store - The CLI’s registry: one JSON file per name in a directory, owner-only on Unix.
- Imported
- What an import did.
- Name
Record - One kept VM’s name, and everything an adopt needs to address it.
- Probed
- Proof that a record’s VM answered one authenticated request with the record’s token.
Enums§
- Name
Holder - Who holds a name in a store, for a record that would take it.
Constants§
- IMPORT_
PROBE_ PATH - The path an import’s probe reads: zero bytes, present in every Linux guest.
Traits§
- Name
Store - Where names are kept. Implement it to keep records in your own database.
Functions§
- default_
state_ root - The legacy pure state-directory calculation retained for source compatibility.
- holder
- Who holds
record’s name instore. - import
- Registers
recordinstoreoncesession, attached with the record’s own endpoint and token, has answered one authenticated request (#270). - import_
probed - Writes
recordintostoreon the strength ofprobed, which must be the probe of this record’s triple. - probe
- One authenticated read of
IMPORT_PROBE_PATHoversession, which must be attached withrecord’s own endpoint and token. - resolve
- The record for
name, refused when it is missing or registered in another region. - resolve_
record - The record for
nameout of what a store answered, refused when it is missing or registered in another region. - state_
root - Resolve the shared state root from an explicit setting or the user’s absolute home.
- validate_
name - A VM name’s shape: ASCII letters, digits,
-,_, at most 128 bytes, and never a MicroVM id prefix.