pub fn validate_gateway_config(gw: &GatewayConfig) -> Result<(), String>Expand description
Dry-run validation of a gateway config, without a live SharedState.
Runs exactly the fallible work SharedState::validate_gateway does —
consumer-store construction, supernode/policy validation, expansion, and
policy compilation — against a throwaway resource set, so it can be called
before any state exists. Used by the etcd seeder to reject a broken local
gateway.yaml before writing it into an empty cluster prefix.