Expand description
Port of internal/config/validate.go: semantic validation on a v2
configuration (referential integrity, file paths, and other constraints
beyond what the JSON schema enforces).
Structs§
- Validation
Error - Aggregates multiple validation errors.
Functions§
- register_
validator - Registers an additional semantic validator to be called during
validate_semantics. This port has no plugin-registration seam (nodeployer/reloadercrates registering their own validators yet, unlike the Go original’sinit()-time registration) — the checks those packages perform (internal/deployer/{helm,namespace},internal/reloader/{mirror,skaffold}) are folded directly intovalidate_semanticsbelow (validate_helm_paths,validate_namespace_deployer,validate_skaffold_paths) instead. Kept as a no-op so call sites that mirror the Go original’sinit()pattern still compile. - validate_
semantics - Performs semantic validation on a v2 configuration.
Type Aliases§
- Config
Validator - A
ConfigValidatorperforms additional semantic validation on aCaproniConfig, registered viaregister_validatorthe way the Go original letsdeployer/reloaderpackages extend validation without an import cycle.