Documentation ¶
Index ¶
- type Manager
- func (m *Manager) ConvName(funcName string) (string, bool)
- func (m *Manager) Delete(name string) error
- func (m *Manager) Function(name string) (api.Function, error)
- func (m *Manager) FunctionPluginInfo(funcName string) (plugin.EXTENSION_TYPE, string, string)
- func (m *Manager) GetAllPlugins() map[string]string
- func (m *Manager) GetAllPluginsStatus() map[string]string
- func (m *Manager) GetPluginInfo(pluginName string) (*PluginInfo, bool)
- func (m *Manager) GetPluginMeta(pt plugin.PluginType, symbolName string) (*runtime.PluginMeta, bool)
- func (m *Manager) HasFunctionSet(funcName string) bool
- func (m *Manager) List() []*PluginInfo
- func (m *Manager) LookupSource(_ string) (api.Source, error)
- func (m *Manager) PluginImport(ctx context.Context, plugins map[string]string) map[string]string
- func (m *Manager) PluginPartialImport(ctx context.Context, plugins map[string]string) map[string]string
- func (m *Manager) Register(p plugin.Plugin) error
- func (m *Manager) Sink(name string) (api.Sink, error)
- func (m *Manager) SinkPluginInfo(name string) (plugin.EXTENSION_TYPE, string, string)
- func (m *Manager) Source(name string) (api.Source, error)
- func (m *Manager) SourcePluginInfo(name string) (plugin.EXTENSION_TYPE, string, string)
- func (m *Manager) UninstallAllPlugins()
- type PluginInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) FunctionPluginInfo ¶
func (*Manager) GetAllPlugins ¶
func (*Manager) GetAllPluginsStatus ¶
func (*Manager) GetPluginInfo ¶
func (m *Manager) GetPluginInfo(pluginName string) (*PluginInfo, bool)
func (*Manager) GetPluginMeta ¶
func (m *Manager) GetPluginMeta(pt plugin.PluginType, symbolName string) (*runtime.PluginMeta, bool)
func (*Manager) HasFunctionSet ¶
func (*Manager) List ¶
func (m *Manager) List() []*PluginInfo
func (*Manager) PluginImport ¶
func (*Manager) PluginPartialImport ¶
func (*Manager) SinkPluginInfo ¶
func (*Manager) SourcePluginInfo ¶
func (*Manager) UninstallAllPlugins ¶
func (m *Manager) UninstallAllPlugins()
type PluginInfo ¶
type PluginInfo struct { runtime.PluginMeta Sources []string `json:"sources"` Sinks []string `json:"sinks"` Functions []string `json:"functions"` }
func (*PluginInfo) Validate ¶
func (p *PluginInfo) Validate(expectedName string) (err error)
Validate TODO validate duplication of source, sink and functions
Click to show internal directories.
Click to hide internal directories.