Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: flexible probe module handling #96

Merged
merged 2 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions include/utils/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ class Config {
std::unordered_map<std::string, std::string> module_names;
std::unordered_map<std::string, ConfigCache> module_config_cache;

void load_and_validate_manifest(const std::string& module_id, const json& module_config);

public:
std::string get_module_name(const std::string& module_id);
bool module_provides(const std::string& module_name, const std::string& impl_id);
Expand All @@ -115,6 +117,7 @@ class Config {

///
/// \returns a json object that contains the main config
// FIXME (aw): this should be const and return the config by const ref!
json get_main_config();

///
Expand Down
Loading