Expand description
vcon-server serve: the server, run from its configuration.
Structs§
- Pack
RunReport - What one pack run over every tenant did.
- Sweep
Report - What one purge sweep did.
Enums§
- Serve
Error - Why the server did not start, or stopped.
Functions§
- every
- Runs
jobat once, then againintervalafter each run ends, untilshutdowncompletes; a run still going when it does is not awaited. - pack_
all - One pack run over every tenant, as
Store::packdoes for one, with the configured limit and reader grace. A tenant whose run fails is counted and left for the next run. Logged with counts only, never a tenant. - rotation_
overdue - Whether key rotation is overdue: the oldest purge or removal waiting
for it is older than
rotation_warn. - run
- Runs the server until
shutdowncompletes: locks the data directory, opens the registry under the master key, and serves the API over TLS. - sweep
- One purge sweep: each tenant purges what is due under its own retention
period, else
default. A tenant that cannot be swept, such as one whose period does not read back or that is being removed, is counted and left for the next sweep. The sweep is logged with counts only, never a tenant.