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

Method FindTargets

lib/remote/typequeryhandler.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 DECLARE_PTR_TYPEDEFS(TypeTargetProvider);
18
19 void FindTargets([[maybe_unused]] const String& type,
20 const std::function<void (const Value&)>& addTarget) const override
21 {
22 for (const Type::Ptr& target : Type::GetAllTypes()) {
23 addTarget(target);
24 }
25 }
26
27 Value GetTargetByName([[maybe_unused]] const String& type, const String& name) const override
28 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected