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) 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) Register(p plugin.Plugin) error
- 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 InitManager ¶
func MockManager ¶
func MockManager(plugins map[string]*PluginInfo) (*Manager, error)
func (*Manager) FunctionPluginInfo ¶
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
type PluginInfo ¶
type PluginInfo struct { runtime.PluginMeta Functions []string `json:"functions"` }
func (*PluginInfo) Validate ¶
func (p *PluginInfo) Validate(expectedName string) error
Click to show internal directories.
Click to hide internal directories.