Skip to main content

Module validation

Module validation 

Source
Expand description

Validation types and traits for configuration file validation.

This module provides:

  • Severity - Error severity levels (Error, Warning, Info, Hint)
  • Diagnostic - Individual validation findings with path info
  • ValidationResult - Complete validation outcome with errors, warnings, diagnostics
  • YamlType - Detected YAML configuration type (K8s, GitLab CI, etc.)
  • ConfigValidator - Trait for implementing configuration validators

Structs§

AmbiguityQuestion
A field that the repair pipeline could not fix automatically.
Diagnostic
A single validation diagnostic with severity and optional path.
FixRecord
Record of a single deterministic fix applied during repair.
RepairResult
Output of the YAML auto-repair pipeline.
ValidationResult
Result of validating a YAML configuration file.
ValidationSession
Stateful session tracking an interactive validation + repair workflow.

Enums§

SessionStatus
Lifecycle status of a ValidationSession.
Severity
Severity level for validation diagnostics.
YamlType
Detected YAML configuration type.

Traits§

ConfigValidator
Trait that all configuration validators implement.