Expand description
Instance installation: project the embedded payload into a target.
The chezmoi vocabulary applies: the embedded payload and profile are the
source state, the computed projection is the target state, the repository
on disk is the destination state, and the manifest — written last — is
the persistent entry state. The whole target state is computed before a
byte lands; a non-empty target previews by default; every destination is
guarded; and any failure mid-apply rolls the target back. What the
payload contains is embedded‘s and the profiles’ business.
Structs§
- Init
Options - What an installation was asked to do.
- Init
Outcome - What an installation did.
- Target
State - Every byte one landing would put in a target, and what it would say.
Functions§
- candidate_
for - The candidate this binary renders for one target.
- compute_
target_ state - What this binary would put in a target, and what it would say.
- init
- Install or reinstall an instance.
- init_
holding - Install or reinstall an instance under a lock the caller already holds.
- resolved_
target - The target a landing or a stage will read, canonical and known-good.