Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 Changes in this version + const ABIMajor + const ABIMinor + const ABIString + const KeyAuth + const KeyChallengeType + const KeyNotification + const KeyScoring + const PluginConfigEnv + var ErrNoSuchPlugin = errors.New("plugin: no such plugin") + var ErrNotReady = errors.New("plugin: not ready") + var Handshake = abi.Handshake + func CountByType(root string, ptype string, log *slog.Logger) int + func HostPluginSet() goplugin.PluginSet + type AuthGRPCPlugin = abi.AuthGRPCPlugin + type Caller interface + Call func(ctx context.Context, method string, ...) error + type ChallengeTypeGRPCPlugin = abi.ChallengeTypeGRPCPlugin + type Config struct + DrainTimeout time.Duration + Enabled bool + GlobalCap int + HealthStable time.Duration + Log *slog.Logger + MaxAttempts int + PerPluginCap int + PluginsDir string + QueueWait time.Duration + Registrar Registrar + RuntimeDir string + StartTimeout time.Duration + type ConfigKey struct + Default string + Required bool + Secret bool + Type string + type Loader struct + func New(cfg Config) *Loader + func (l *Loader) Boot(ctx context.Context) + func (l *Loader) Reload(ctx context.Context, name string) error + func (l *Loader) Snapshot() []PluginStatus + func (l *Loader) Stop(ctx context.Context) + type Manifest struct + ABI string + Config map[string]ConfigKey + Description string + Executable string + Name string + Override bool + Type string + Version string + type NotificationGRPCPlugin = abi.NotificationGRPCPlugin + type PluginStatus struct + Name string + Reason string + State string + Type string + type Registrar interface + Deregister func(name, ptype string) + Register func(name, ptype string, caller Caller) error + type ScoringGRPCPlugin = abi.ScoringGRPCPlugin + type ShedError struct + Level ShedLevel + Plugin string + RetryAfter time.Duration + func (e *ShedError) Error() string + func (e *ShedError) Is(target error) bool + type ShedLevel int + const ShedGlobal + const ShedPerPlugin + type State string + const StateDiscovered + const StateDraining + const StateFailed + const StateLaunching + const StateReady + const StateRestarting + const StateStopped + const StateUnhealthy v0.3.0-rc.1 Aug 23, 2026