Expand description
Minimal storage contracts (no concrete database implementation).
Structs§
- Auth
Remote Request - Sealed remote storage operation request.
- Auth
Remote Response - Sealed remote storage operation response.
- Backup
Descriptor - Backup descriptor contract.
- DntFile
Object Store - DNT adapter over the local file storage provider.
- DntFile
Secret Store - DNT file adapter for local secrets.
- DntFile
Snapshot Store - DNT file adapter for snapshots.
- File
Storage Provider - Single-process local file provider with atomic replacement writes.
- Migration
Id - Stable migration identifier.
- Remote
Auth Storage Client - Bounded synchronous client for the dedicated auth-storage service.
- Repository
Name - Stable repository name.
- Sealed
Storage Policy - Storage policy used when sealing objects into DNT envelopes.
- Storage
Backup Manifest File V1 - One file recorded by a V1 storage backup manifest.
- Storage
Backup Manifest V1 - Durable manifest for one complete V1 storage snapshot.
- Storage
Health - Storage health snapshot.
Enums§
- Storage
Error - Storage-local typed errors.
- Storage
Status - Coarse storage availability status.
Constants§
- AUTH_
REMOTE_ ENDPOINT - Auth-storage HTTP endpoint.
- AUTH_
REMOTE_ SCHEMA - Auth-storage protocol schema.
- DEFAULT_
AUTH_ REMOTE_ MAX_ BYTES - Default maximum request or response payload.
- DEFAULT_
AUTH_ REMOTE_ TIMEOUT_ MS - Default network deadline.
- DEFAULT_
AUTH_ REMOTE_ TTL_ MS - Default sealed request lifetime.
- STORAGE_
BACKUP_ FORMAT_ V1 - Stable format identifier for complete local storage snapshots.
Traits§
- Migration
- Migration contract.
- Repository
- Repository contract for app/runtime persistence boundaries.
- Sealed
Object Store - Generic sealed-object store contract.
- Sealed
Secret Store - Sealed secret store contract.
- Sealed
Snapshot Store - Sealed snapshot store contract.
- Storage
Provider - Storage provider contract.
- Transaction
- Transaction contract for unit-of-work boundaries.
Functions§
- data_
claims - Returns isolated claims for stored data encryption.
- make_
auth_ request - Builds a validated short-lived remote auth request.
- now_ms
- Returns current Unix time in milliseconds.
- open_
remote_ request - Opens and validates a remote auth request.
- open_
remote_ response - Opens and validates a remote auth response and request nonce.
- process_
remote_ request - Executes a validated seal or open request against the data key.
- seal_
remote_ request - Seals a remote auth request for transport.
- seal_
remote_ response - Seals a remote auth response for transport.
- transport_
claims - Returns isolated claims for auth-service transport.
- validate_
auth_ resource - Validates a relative auth-storage resource name.
Type Aliases§
- Storage
Result - Storage-local result type.