Documentation
¶
Index ¶
- func GetPlugin(name string) *core.Wrapper
- func GetPlugins() map[string]*core.Wrapper
- func GetRegisteredPlugins() []*core.Wrapper
- func LoadPlugin(path string, m core.ManagerInterface) error
- func RegisterPlugin(c core.Interface, metadata core.Metadata)
- func UnloadPlugin(name string) error
- type PluginRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegisteredPlugins ¶
GetRegisteredPlugins returns the registered plugins
func LoadPlugin ¶
func LoadPlugin(path string, m core.ManagerInterface) error
LoadPlugin loads a single plugin
func RegisterPlugin ¶
RegisterPlugin registers a new plugin
Types ¶
type PluginRegistry ¶
type PluginRegistry struct {
// contains filtered or unexported fields
}
PluginRegistry manages the loaded plugins
Click to show internal directories.
Click to hide internal directories.