Skip to main content

Module state

Module state 

Source

Structs§

ApplyRecord
A recorded apply operation.
ComplianceHistoryRow
A compliance snapshot summary row from the state store.
ConfigSourceRecord
A tracked config source.
DriftEvent
A recorded drift event.
FileBackupRecord
A file backup record from the safety store.
JournalEntry
A journal entry for a single action within an apply.
ManagedResource
A managed resource tracked in the state store.
ModuleFileRecord
A module file manifest entry — tracks which files a module deployed.
ModuleStateRecord
A module’s state in the state store.
PendingDecision
A pending decision for a source item needing user review.
SourceConfigHash
A stored config hash for detecting source changes.
SourceConflictRecord
A conflict record from composition.
StateStore
SQLite-backed state store for cfgd.

Enums§

ApplyStatus
Apply status for a reconciliation run.

Functions§

clear_pending_server_config
Remove the pending server config file after it has been consumed.
default_state_dir
load_pending_server_config
Load a pending server config, if one exists.
plan_hash
Compute SHA256 hash of a serializable plan for deduplication.
save_pending_server_config
Save a desired config received from the device gateway for later reconciliation.