Documentation
¶
Overview ¶
Package schema embeds the Agent configuration schemas and provides functions to retrieve them and to validate configuration data against them.
The schema files (core_schema.yaml and system-probe_schema.yaml) are generated by `dda inv schema.generate` and must be present at compile time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCoreSchema ¶
GetCoreSchema returns the raw bytes of the embedded core agent configuration schema.
func GetSystemProbeSchema ¶
GetSystemProbeSchema returns the raw bytes of the embedded system-probe configuration schema.
func ValidateCoreConfig ¶
ValidateCoreConfig validates a unmarshal YAML/JSON contents against the core agent schema
func ValidateSystemProbeConfig ¶
ValidateSystemProbeConfig validates a unmarshal YAML/JSON contents against the system-probe agent schema
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
We use the same version of ZSTD than the Agent.
|
We use the same version of ZSTD than the Agent. |