schema

package module
v0.84.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package schema embeds the Agent configuration schemas and provides functions to retrieve them and to validate configuration data against them.

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