Documentation ¶
Index ¶
- type Plugins
- func (p *Plugins) AddPlugin(plugin universe.Plugin, updateDB bool) error
- func (p *Plugins) AddPlugins(plugins []universe.Plugin, updateDB bool) error
- func (p *Plugins) CreatePlugin(pluginId umid.UMID) (universe.Plugin, error)
- func (p *Plugins) FilterPlugins(predicateFn universe.PluginsFilterPredicateFn) map[umid.UMID]universe.Plugin
- func (p *Plugins) GetPlugin(pluginID umid.UMID) (universe.Plugin, bool)
- func (p *Plugins) GetPlugins() map[umid.UMID]universe.Plugin
- func (p *Plugins) Initialize(ctx types.LoggerContext) error
- func (p *Plugins) Load() error
- func (p *Plugins) RegisterAPI(r *gin.Engine)
- func (p *Plugins) RemovePlugin(plugin universe.Plugin, updateDB bool) (bool, error)
- func (p *Plugins) RemovePlugins(plugins []universe.Plugin, updateDB bool) (bool, error)
- func (p *Plugins) Save() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugins ¶
type Plugins struct {
// contains filtered or unexported fields
}
func NewPlugins ¶
func (*Plugins) AddPlugins ¶
func (*Plugins) CreatePlugin ¶
func (*Plugins) FilterPlugins ¶
func (*Plugins) Initialize ¶
func (p *Plugins) Initialize(ctx types.LoggerContext) error
func (*Plugins) RegisterAPI ¶
func (*Plugins) RemovePlugin ¶
func (*Plugins) RemovePlugins ¶
Click to show internal directories.
Click to hide internal directories.