Skip to main content

register_validator

Function register_validator 

Source
pub fn register_validator(_v: ConfigValidator)
Expand description

Registers an additional semantic validator to be called during validate_semantics. This port has no plugin-registration seam (no deployer/reloader crates registering their own validators yet, unlike the Go original’s init()-time registration) — the checks those packages perform (internal/deployer/{helm,namespace}, internal/reloader/{mirror,skaffold}) are folded directly into validate_semantics below (validate_helm_paths, validate_namespace_deployer, validate_skaffold_paths) instead. Kept as a no-op so call sites that mirror the Go original’s init() pattern still compile.