Help us shape the future of Go! Take the 2026 Go Developer Survey

plugin_host_static

package
v0.57.24 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package plugin_host_static resolves LookupPluginHost with a fixed set of plugin hosts that another component runs.

Index

Constants

View Source
const ControllerID = "bldr/plugin/host/static"

ControllerID is the static plugin host controller ID.

Variables

View Source
var Version = controller.MustParseVersion("0.0.1")

Version is the static plugin host controller version.

Functions

This section is empty.

Types

type Controller

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

Controller resolves LookupPluginHost with a fixed set of plugin hosts. It publishes the hosts without running them; their owner runs them.

func NewController

func NewController(hosts []plugin_host.PluginHost) *Controller

NewController constructs a controller that publishes hosts.

func (*Controller) Close

func (c *Controller) Close() error

Close releases any resources used by the controller.

func (*Controller) Execute

func (c *Controller) Execute(context.Context) error

Execute executes the controller.

func (*Controller) GetControllerInfo

func (c *Controller) GetControllerInfo() *controller.Info

GetControllerInfo returns information about the controller.

func (*Controller) HandleDirective

func (c *Controller) HandleDirective(
	_ context.Context,
	inst directive.Instance,
) ([]directive.Resolver, error)

HandleDirective resolves LookupPluginHost with the hosts matching its platform IDs.

Jump to

Keyboard shortcuts

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