# Functions
DetectProgram returns true or false if this program exists in the AST.
DetectPrograms returns the list of programs detected from the provided configuration.
FindSpecByName find a spec by name and return it or false if we cannot find it.
KnownProgramNames returns a list of runnable programs by the elastic-agent.
MustReadSpecs read specs and panic on errors.
NewSpecFromBytes create a Spec from a bytes.
Programs take a Tree representation of the main configuration and apply all the different programs rules and generate individual configuration from the rules.
ReadSpecs reads all the specs that match the provided globbing path.
# Variables
ErrMissingWhen is returned when no boolean expression is defined for a program.