MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetDefaultResolvers

Function GetDefaultResolvers

lib/icinga/macroprocessor.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79static const EnvResolver::Ptr l_EnvResolver = new EnvResolver();
80
81static MacroProcessor::ResolverList GetDefaultResolvers()
82{
83 return {
84 { "icinga", IcingaApplication::GetInstance() },
85 { "env", l_EnvResolver, false }
86 };
87}
88
89bool MacroProcessor::ResolveMacro(const String& macro, const ResolverList& resolvers,
90 const CheckResult::Ptr& cr, Value *result, bool *recursive_macro)

Callers 2

ResolveMacroMethod · 0.85
EvaluateFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected