Versions in this module Expand all Collapse all v0 v0.1.1 Aug 9, 2026 Changes in this version + func New(ctx context.Context, client pluginv1.PluginClient) (plugin.Plugin, error) + type AuditFunc func(result plugin.AuditResult, params map[string]string, errMsg string) + type Loaded struct + Healthy bool + Name string + Path string + type Manager struct + func NewManager(dir string, opts ...Option) *Manager + func (m *Manager) Close() + func (m *Manager) IsManaged(name string) bool + func (m *Manager) LoadAll(ctx context.Context, reg *pluginregistry.Registry) error + func (m *Manager) LoadOne(ctx context.Context, reg *pluginregistry.Registry, path string) error + func (m *Manager) Loaded() []Loaded + func (m *Manager) Uninstall(reg *pluginregistry.Registry, name string) error + func (m *Manager) Update(ctx context.Context, reg *pluginregistry.Registry, name, path string) error + type Option func(*Manager) + func WithAudit(audit AuditFunc) Option + func WithLogger(logger *slog.Logger) Option