homeplugins

package
v7.2.30 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sync

func Sync(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime) error

func SyncPlatform

func SyncPlatform(ctx context.Context, cfg *config.Config, pluginRuntime PluginRuntime, platform Platform) error

Types

type Platform

type Platform struct {
	GOOS    string `json:"goos"`
	GOARCH  string `json:"goarch"`
	Variant string `json:"variant,omitempty"`
}

func CurrentPlatform

func CurrentPlatform() Platform

CurrentPlatform reports the platform used by pluginhost discovery.

func NormalizePlatform

func NormalizePlatform(platform Platform) Platform

type PluginRuntime

type PluginRuntime interface {
	PluginBusy(id string) bool
	UnloadPlugin(id string) bool
}

Jump to

Keyboard shortcuts

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