schema

package module
v0.80.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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

func GetCoreSchema() ([]byte, error)

GetCoreSchema returns the raw bytes of the embedded core agent configuration schema.

func GetSystemProbeSchema

func GetSystemProbeSchema() ([]byte, error)

GetSystemProbeSchema returns the raw bytes of the embedded system-probe configuration schema.

func ValidateCoreConfig

func ValidateCoreConfig(config interface{}) ([]string, error)

ValidateCoreConfig validates a unmarshal YAML/JSON contents against the core agent schema

func ValidateSystemProbeConfig

func ValidateSystemProbeConfig(config interface{}) ([]string, error)

ValidateSystemProbeConfig validates a unmarshal YAML/JSON contents against the system-probe agent schema

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL