The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Armadito::Agent::Config - Armadito Agent configuration

DESCRIPTION

This is the object used by the agent to store its configuration.

METHODS

new(%params)

The constructor. The following parameters are allowed, as keys of the %params hash:

confdir

the configuration directory.

options

additional options override.

loadDefaults()

Load default configuration from in-code predefined variable $default.

loadFromFile()

Load configuration from given file (i.e. agent.cfg or scheduler.cfg file path)

overrideWithArgs()

Override loaded configuration by given command line arguments.

checkContent()

Check if loaded configuration is valid.