Documentation
¶
Index ¶
- func GetPlugin(name string) *types.Wrapper
- func GetPlugins() map[string]*types.Wrapper
- func GetRegisteredPlugins() []*types.Wrapper
- func LoadPlugin(path string, m types.ManagerInterface) error
- func RegisterPlugin(c types.Interface, metadata types.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 types.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.