plugin_host_root

package
v0.51.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupRoot

type LookupRoot interface {
	directive.Directive

	// LookupRootPlatformIDs filters the platform IDs to match.
	LookupRootPlatformIDs() []string
}

LookupRoot is a directive to look up process-lifetime plugin host roots.

func NewLookupRoot

func NewLookupRoot(platformIDs []string) LookupRoot

NewLookupRoot constructs a new LookupRoot directive.

type LookupRootValue

type LookupRootValue = *Root

LookupRootValue is the result type for LookupRoot.

func ExLookupRoot

func ExLookupRoot(
	ctx context.Context,
	b bus.Bus,
	returnIfIdle bool,
	platformIDs []string,
	valDisposeCallback func(),
) (LookupRootValue, directive.Instance, directive.Reference, error)

ExLookupRoot executes the LookupRoot directive.

func ExLookupRootByPlatform

func ExLookupRootByPlatform(
	ctx context.Context,
	b bus.Bus,
	returnIfIdle bool,
	platformID string,
	valDisposeCallback func(),
) (LookupRootValue, directive.Instance, directive.Reference, error)

ExLookupRootByPlatform executes the LookupRoot directive for a single platform ID.

type Root

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

Root is the process-lifetime Bldr plugin host resource root.

func NewRoot

func NewRoot() *Root

NewRoot constructs a new Root.

func (*Root) GetDesktopTray

func (r *Root) GetDesktopTray() *desktop_tray.DesktopTray

GetDesktopTray returns the process-lifetime desktop tray registry.

func (*Root) GetMux

func (r *Root) GetMux() srpc.Invoker

GetMux returns the rpc mux for the root resource.

func (*Root) GetStructuredLogs added in v0.51.3

func (r *Root) GetStructuredLogs() *plugin_host_logs.Hub

GetStructuredLogs returns the process-lifetime structured log hub.

Jump to

Keyboard shortcuts

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