Skip to main content

resolve_plugin_configs

Function resolve_plugin_configs 

Source
pub fn resolve_plugin_configs(
    gw: &GatewayConfig,
) -> Result<GatewayConfig, String>
Expand description

Validates shared plugin configs and materializes every config_ref.

Definition rules: unique names; type must be a factory-known plugin type and not a reserved type. Reference rules: the named def must exist and its type must equal the node’s type; supernode instance nodes cannot carry a ref. All errors name the offending policy/supernode and node.