Expand description
YAML type detection and per-format validation functions.
§Main entry point
validate_auto — auto-detects the YAML format and dispatches to the
appropriate validator. Handles multi-document YAML (--- separator).
§Per-format validators
validate_k8s_manifest— all Kubernetes resource kindsvalidate_gitlab_ci,validate_github_actionsvalidate_docker_composevalidate_prometheus,validate_alertmanagervalidate_helm_values,validate_ansible
§Helper functions
parse_yaml— parse YAML string intoserde_json::Valuedetect_yaml_type— detect format from parsed content
Functions§
- detect_
yaml_ type - Detect the format of a parsed YAML document.
- parse_
yaml - Parse a YAML string into a
serde_json::Value. - validate_
alertmanager - Validate an Alertmanager configuration
- validate_
ansible - Validate an Ansible playbook
- validate_
auto - Auto-detect the YAML format and validate it.
- validate_
docker_ compose - Validate a Docker Compose file
- validate_
github_ actions - Validate a GitHub Actions workflow
- validate_
gitlab_ ci - Validate a GitLab CI pipeline YAML
- validate_
helm_ values - Validate a Helm values.yaml file
- validate_
k8s_ manifest - Validate a Kubernetes manifest (all supported resource kinds) via serde.
- validate_
prometheus - Validate a Prometheus configuration