Documentation
¶
Overview ¶
Package configvalidate implements schema and semantic validation for cloop config and state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finding ¶
type Finding struct {
Severity Severity
Field string
Message string
// FixNote describes what --fix will do. Empty means not auto-fixable.
FixNote string
}
Finding is a single validation result.
type Report ¶
type Report struct {
Findings []Finding
// Fixed lists human-readable descriptions of auto-corrections applied by --fix.
Fixed []string
}
Report holds all findings from a validation run.
type ValidateOptions ¶
type ValidateOptions struct {
// Probe performs live HTTP reachability checks for notification URLs.
Probe bool
// Fix auto-corrects safe issues in place (unknown keys stripped, bad statuses reset).
Fix bool
}
ValidateOptions controls optional behaviour.
Click to show internal directories.
Click to hide internal directories.