loadedplugins

package
v0.56.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	// contains filtered or unexported fields
}

State tracks demanded Space plugins, their running state, and whether each initial capability-registration pass reached a terminal state.

func (*State) GetAndWaitCh

func (s *State) GetAndWaitCh() ([]string, <-chan struct{})

GetAndWaitCh returns running, registration-complete plugin IDs and a channel closed when the state changes.

func (*State) HasPendingAndWaitCh added in v0.56.1

func (s *State) HasPendingAndWaitCh() (bool, <-chan struct{})

HasPendingAndWaitCh reports whether desired plugin registration is pending and returns a channel closed when the state changes.

func (*State) Reconcile added in v0.56.1

func (s *State) Reconcile(ids []string)

Reconcile replaces the desired plugin IDs and marks initial reconciliation complete.

func (*State) Reset added in v0.56.1

func (s *State) Reset()

Reset clears desired and observed plugin state.

func (*State) SetPluginState added in v0.56.1

func (s *State) SetPluginState(id string, running, terminal bool)

SetPluginState atomically records whether a desired plugin is running and whether its initial registration reached a terminal complete or failed state.

Jump to

Keyboard shortcuts

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