Elektra  0.9.2
Public Member Functions | List of all members
kdb::tools::MountBackendBuilder Class Reference

High-level functionality to build a mountpoint. More...

#include <backendbuilder.hpp>

Inheritance diagram for kdb::tools::MountBackendBuilder:
Inheritance graph
[legend]
Collaboration diagram for kdb::tools::MountBackendBuilder:
Collaboration graph
[legend]

Public Member Functions

void addPlugin (PluginSpec const &spec)
 Add a plugin. More...
 
- Public Member Functions inherited from kdb::tools::BackendBuilder
std::vector< std::string > resolveNeeds (bool addRecommends=true)
 resolve all needs that were not resolved by adding plugins. More...
 

Detailed Description

High-level functionality to build a mountpoint.

will enforce resolver and storage to be present

Member Function Documentation

◆ addPlugin()

void kdb::tools::MountBackendBuilder::addPlugin ( PluginSpec const &  plugin)
inlinevirtual

Add a plugin.

Precondition
Needs to be a unique new name (use refname if you want to add the same module multiple times)

Will automatically resolve virtual plugins to actual plugins.

Also calls the checkconf function if provided by the plugin. The checkconf function has the following signature: int checkconf (Key * errorKey, KeySet * config) and allows a plugin to verify its configuration at mount time.

See also
resolveNeeds()
Parameters
plugin

Reimplemented from kdb::tools::BackendBuilder.


The documentation for this class was generated from the following files: