Expand description
Host-side config resolution before a guest runs.
Guests never see the variable pool. Instead the host rewrites the node config:
- Every string containing
{{#ns.name#}}placeholders is resolved. A string that is exactly one placeholder becomes the typed value (object, number, array…); mixed text renders to a string. - Every key ending in
selectorwhose value is a selector (["ns","name"]or"ns.name") keeps its value and gains a sibling<key>_valuewith the resolved value (nullwhen missing).
Secrets are masked unless the plugin is trusted with them
(crate::WasmLimits::expose_secrets).
Functions§
- collect_
selectors - Every selector a config references (placeholders and selector keys), for build-time reference validation.
- resolve_
config - Resolve placeholders and selector keys in
configagainstpool.