Documentation
¶
Overview ¶
Package rct provides test helpers for remote configuration validation. It validates that configuration structures match their JSON schemas and can be properly unmarshaled from configuration files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Test ¶
Test validates that the provided configuration structure matches its generated JSON schema and can be properly unmarshaled from the default configuration file. It also verifies that the configuration passes validator tag validation.
The function checks:
- The default configuration file is valid against the generated schema
- The configuration can be unmarshaled from the file
- The configuration passes validation
nolint:lll
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.