Skip to main content

Module names

Module names 

Source
Expand description

Named MicroVMs: the record, the store port, and the CLI’s registry on disk.

Structs§

FileNameStore
The CLI’s registry: one JSON file per name in a directory, owner-only on Unix.
Imported
What an import did.
NameRecord
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§

NameHolder
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§

NameStore
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 in store.
import
Registers record in store once session, attached with the record’s own endpoint and token, has answered one authenticated request (#270).
import_probed
Writes record into store on the strength of probed, which must be the probe of this record’s triple.
probe
One authenticated read of IMPORT_PROBE_PATH over session, which must be attached with record’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 name out 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.