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

Method ApiAction

lib/remote/apiaction.cpp:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}, InitializePriority::FreezeNamespaces);
11
12ApiAction::ApiAction(std::vector<String> types, Callback action)
13 : m_Types(std::move(types)), m_Callback(std::move(action))
14{ }
15
16Value ApiAction::Invoke(const ConfigObject::Ptr& target, const ApiUser::Ptr& user, const Dictionary::Ptr& params)
17{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected