Documentation
¶
Overview ¶
Package main demonstrates two-phase validation using WithJSONSchemaFunc.
The pipeline:
- Load manifest YAML.
- Validate the "environments" block before variable substitution (the raw values must not contain unexpanded placeholders in required fields).
- Substitute ${VAR} placeholders from OS environment variables.
- Validate the fully-substituted manifest against the complete schema.
This pattern is useful when different fields have different substitution requirements: some fields must already be concrete before substitution (e.g. environment definitions), while others may contain placeholders that are expanded in a later step.
Click to show internal directories.
Click to hide internal directories.