Documentation ¶
Index ¶
- Constants
- type Manager
- func (rr *Manager) ConvName(name string) (string, bool)
- func (rr *Manager) Delete(t plugin2.PluginType, name string, stop bool) error
- func (rr *Manager) Function(name string) (api.Function, error)
- func (rr *Manager) FunctionPluginInfo(funcName string) (plugin2.EXTENSION_TYPE, string, string)
- func (rr *Manager) GetAllPlugins() map[string]string
- func (rr *Manager) GetAllPluginsStatus() map[string]string
- func (rr *Manager) GetPluginBySymbol(t plugin2.PluginType, symbolName string) (string, bool)
- func (rr *Manager) GetPluginInfo(t plugin2.PluginType, name string) (map[string]interface{}, bool)
- func (rr *Manager) GetPluginVersionBySymbol(t plugin2.PluginType, symbolName string) (string, bool)
- func (rr *Manager) HasFunctionSet(name string) bool
- func (rr *Manager) List(t plugin2.PluginType) []string
- func (rr *Manager) ListSymbols() []string
- func (rr *Manager) LookupSource(name string) (api.Source, error)
- func (rr *Manager) PluginImport(ctx context.Context, plugins map[string]string) map[string]string
- func (rr *Manager) PluginPartialImport(ctx context.Context, plugins map[string]string) map[string]string
- func (rr *Manager) Register(t plugin2.PluginType, j plugin2.Plugin) error
- func (rr *Manager) RegisterFuncs(name string, functions []string) error
- func (rr *Manager) Sink(name string) (api.Sink, error)
- func (rr *Manager) SinkPluginInfo(name string) (plugin2.EXTENSION_TYPE, string, string)
- func (rr *Manager) Source(name string) (api.Source, error)
- func (rr *Manager) SourcePluginInfo(name string) (plugin2.EXTENSION_TYPE, string, string)
- func (rr *Manager) UninstallAllPlugins()
Constants ¶
View Source
const BOOT_INSTALL = "$boot_install"
View Source
const DELETED = "$deleted"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is appended only because plugin cannot delete or reload. To delete a plugin, restart the server to reindex
func (*Manager) FunctionPluginInfo ¶
func (*Manager) GetAllPlugins ¶
func (*Manager) GetAllPluginsStatus ¶
func (*Manager) GetPluginBySymbol ¶
func (*Manager) GetPluginInfo ¶
func (*Manager) GetPluginVersionBySymbol ¶
func (*Manager) HasFunctionSet ¶
func (*Manager) ListSymbols ¶
func (*Manager) PluginImport ¶
PluginImport save the plugin install information and wait for restart
func (*Manager) PluginPartialImport ¶
func (rr *Manager) PluginPartialImport(ctx context.Context, plugins map[string]string) map[string]string
PluginPartialImport compare the plugin to be installed and the one in database if not exist in database, install; if exist, ignore
func (*Manager) RegisterFuncs ¶
RegisterFuncs prerequisite:function plugin of name exists
func (*Manager) SinkPluginInfo ¶
func (*Manager) SourcePluginInfo ¶
func (*Manager) UninstallAllPlugins ¶
func (rr *Manager) UninstallAllPlugins()
Click to show internal directories.
Click to hide internal directories.