boulder/cmd/testdata
Samantha b2224eb4bc
config: Add validation tags to all configuration structs (#6674)
- Require `letsencrypt/validator` package.
- Add a framework for registering configuration structs and any custom
validators for each Boulder component at `init()` time.
- Add a `validate` subcommand which allows you to pass a `-component`
name and `-config` file path.
- Expose validation via exported utility functions
`cmd.LookupConfigValidator()`, `cmd.ValidateJSONConfig()` and
`cmd.ValidateYAMLConfig()`.
- Add unit test which validates all registered component configuration
structs against test configuration files.

Part of #6052
2023-03-21 14:08:03 -04:00
..
1_missing_endswith.json config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
1_missing_endswith.yaml config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
2_missing_required.json config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
2_missing_required.yaml config: Add validation tags to all configuration structs (#6674) 2023-03-21 14:08:03 -04:00
cert.pem Simplify gRPC TLS configs. (#2470) 2017-01-06 14:19:18 -08:00
key.pem Simplify gRPC TLS configs. (#2470) 2017-01-06 14:19:18 -08:00
minica.pem Simplify gRPC TLS configs. (#2470) 2017-01-06 14:19:18 -08:00
test_dburl Switch to DSNs (#4044) 2019-02-11 10:46:07 -08:00
test_dburl_newline Switch to DSNs (#4044) 2019-02-11 10:46:07 -08:00
test_secret Move test_secret file 2016-01-26 15:48:16 -08:00