icinga2/lib/config
Julian Brost 4b18f62a11 Add ConfigType::BeforeOnAllConfigLoaded signal
Allows to hook into the config loading process just before OnAllConfigLoaded()
is called on a bunch of individual config objects. Allows doing some operations
more efficiently at once for all objects.

Intended use: when adding a number of dependencies, it has to be checked
whether this uses any cycles. This can be done more efficiently if all
dependencies are checked at once. So far, this is with a case-distinction for
initially loaded files in DaemonUtility::LoadConfigFiles() and for dependencies
created by runtime updates in Dependency::OnAllConfigLoaded(). The mechanism
added by this commit allows to unify the handling of both cases (done in a
following commit).
2025-03-12 11:53:30 +01:00
..
CMakeLists.txt Separately handle apply rules targetting only specific parent objects 2022-10-28 14:27:53 +02:00
activationcontext.cpp Fix file endings 2023-05-17 18:05:13 +02:00
activationcontext.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
applyrule-targeted.cpp ApplyRule::GetTarget*s(): support constant strings from variables 2023-12-13 16:02:50 +01:00
applyrule.cpp ApplyRule: Make `m_HasMatches` atomic 2022-11-28 14:13:58 +01:00
applyrule.hpp FilterUtility::GetFilterTargets(): don't run filter for specific object(s) for all objects 2023-12-13 16:02:50 +01:00
config_lexer.ll Make ConfigCompiler#m_LexBuffer a String 2020-01-21 13:38:59 +01:00
config_parser.yy ApplyRule::GetTargetTypes(): return by const ref not to malloc() 2022-10-19 13:43:51 +02:00
configcompiler.cpp CONTEXT: use << everywhere to unify usages 2022-11-30 11:06:51 +01:00
configcompiler.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
configcompilercontext.cpp Fix file endings 2023-05-17 18:05:13 +02:00
configcompilercontext.hpp Deduplicate and stabilize fragile filesystem transactions 2023-01-27 12:03:56 +01:00
configfragment.hpp INITIALIZE_ONCE_WITH_PRIORITY: use enum for priority values 2023-01-18 15:57:27 +01:00
configitem.cpp Add ConfigType::BeforeOnAllConfigLoaded signal 2025-03-12 11:53:30 +01:00
configitem.hpp Add ConfigType::BeforeOnAllConfigLoaded signal 2025-03-12 11:53:30 +01:00
configitembuilder.cpp Fix file endings 2023-05-17 18:05:13 +02:00
configitembuilder.hpp Replace std::shared_ptr<Expression> with Expression::Ptr 2019-10-21 17:10:51 +02:00
expression.cpp Fix file endings 2023-05-17 18:05:13 +02:00
expression.hpp Introduce DictExpression#GetExpressions() 2023-12-13 16:02:50 +01:00
i2-config.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectrule.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objectrule.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
vmops.hpp Replace std::shared_ptr<Expression> with Expression::Ptr 2019-10-21 17:10:51 +02:00