Skip to main content

Module compose

Module compose 

Source
Expand description

Config composition front pre-pass: extends (base inheritance), profiles (named overlays selected via --profile/FAUCET_PROFILE), and !include (YAML fragment substitution). Runs BEFORE ${...} interpolation and the secrets pass, reusing crate::merge::merge_value.

compose returns the merged document as text (in the entry file’s format) so the unchanged interpolate → from_text pipeline runs verbatim. When no composition is in play it returns the raw file text byte-identical.

Functions§

compose
Public entry: returns text ready to feed into interpolate + from_text.