pluginsreg

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = pkvstore.ErrNotFound

Functions

This section is empty.

Types

type Registry

type Registry struct {
	L     L.Nullable
	Procs *akprocs.Procs

	Store pkvstore.Store

	InternalPlugins map[apiplugin.PluginName]*pluginimpl.Plugin
	// contains filtered or unexported fields
}

func (*Registry) CloseSession

func (s *Registry) CloseSession(sid string)

func (*Registry) Get

func (*Registry) List

func (*Registry) NewPlugin

func (s *Registry) NewPlugin(ctx context.Context, l L.L, id apiplugin.PluginID, sessionID string) (plugin.Plugin, error)

func (*Registry) RegisterExternalPlugin

func (s *Registry) RegisterExternalPlugin(ctx context.Context, id apiplugin.PluginID, settings *apiplugin.PluginSettings) error

func (*Registry) RegisterInternalPlugin

func (s *Registry) RegisterInternalPlugin(name apiplugin.PluginName, pl *pluginimpl.Plugin)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL