package
0.3.1
Repository: https://github.com/intel/rmd.git
Documentation: pkg.go.dev

# Functions

Enforce simplifies enforcing data using specified plugin Function checks if plugin is loaded, verifies if stored interface is not null and then calls Enforce() method of stored interface.
GetConfig reads configuration section given by name and returns it as a map of string-interface pairs.
Load opens file given in path param and tries to load symbol "Handle" implementing ModuleInterface Returns error if failed to open file, load symbol or cast interface.
Release simplifies releasing data using specified plugin Function checks if plugin is loaded, verifies if stored interface is not null and then calls Release() method of stored interface.
Store stores provided module interface under provided name If module already exists or one of params is not correct (ex.
Validate simplifies data validation for selected plugin Function checks if plugin is loaded, verifies if stored interface is not null and then calls Validate() method of stored interface.

# Variables

Interfaces stores module-name to ModuleInterface mapping for all loaded plugins.

# Interfaces

ModuleInterface defines interface of loadable RMD modules (dynamic loading with use of "plugin" package).