Skip to main content

Module traits

Module traits 

Source
Expand description

Trait contracts for the IO and infrastructure concerns of evault.

Every IO concern (storage, manifest parsing, process execution, scanning, clock, id generation) is expressed as a trait so that the business logic built on top of them can be tested against in-memory fakes (see evault-store-memory) and so that backends can be swapped without touching the core.

Structs§

ProcessOutcome
Result of running a child process.
ScanHit
Where a scanner found a variable reference.
SystemClock
Production Clock that delegates to OffsetDateTime::now_utc.
UuidV4IdGenerator
Production IdGenerator that returns version-4 UUIDs.

Traits§

AuditSink
Append-only storage for AuditEntry records.
Clock
Source of the current wall-clock time, in UTC.
CodeScanner
Walk a directory tree looking for references to environment variables.
IdGenerator
Source of fresh UUIDs.
ManifestIo
Read and write evault.toml project manifests.
Materializer
Produce a .env file from a resolved key/value environment.
MetadataStore
Persistent storage of variable and project metadata.
ProcessRunner
Spawn a child process with an injected environment.
SecretStore
Backend that holds secret values keyed by VarId.