Expand description
Compile-time resolution of shared plugin configs (config_ref).
resolve_plugin_configs validates the plugin_configs definitions and
returns an in-memory copy of the gateway config where every node’s
config_ref — in policies and supernode definitions alike — has been
materialized: effective config = shared config with the node’s local keys
written over it (shallow, top-level, local wins), config_ref cleared.
Runs at the top of SharedState::compile_routes (before supernode
expansion, so instances inherit resolved inner configs) and in the debug
sandbox. The resolved copy is never stored: gateway.yaml, the Admin API,
etcd, and the export endpoint always keep the reference form.
Constants§
- RESERVED_
TYPES 🔒 - Types that may not be used as a shared config’s
type: pipeline endpoints, supernode instances, and supernode boundary pseudo-nodes.
Functions§
- resolve_
nodes 🔒 - Materializes
config_refon each node in place: shared config first, then the node’s own keys written over it (local wins), ref cleared. - resolve_
plugin_ configs - Validates shared plugin configs and materializes every
config_ref.