pluginopts

package
v1.54.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigPaths

func GetConfigPaths(pluginName string) []string

GetConfigPaths - Override GetConfigPaths calls.

func GetFlowMachineInitContext added in v1.38.6

func GetFlowMachineInitContext(coreConfig *coreconfig.CoreConfig, pluginName string) *flowcore.FlowMachineInitContext

GetFlowMachineInitContext - Override plugin GetFlowMachineInitContext

func GetPluginMessages

func GetPluginMessages(pluginName string) []string

GetPluginMessages - Override plugin messages

func Init

func Init(pluginName string, properties *map[string]any)

Init - Override plugin Init calls

func IsPluginHardwired

func IsPluginHardwired() bool

IsPluginHardwired - Override to hardwire plugins into the kernel for debugging.

func NewOptionsBuilder

func NewOptionsBuilder(opts ...Option)

Types

type Option

type Option func(*OptionsBuilder)

func LoadOptions

func LoadOptions() Option

type OptionsBuilder

type OptionsBuilder struct {
	GetPluginMessages         func(string) []string
	GetConfigPaths            func(string) []string
	GetFlowMachineInitContext func(*coreconfig.CoreConfig, string) *flow.FlowMachineInitContext
	Init                      func(string, *map[string]any)
}
var BuildOptions *OptionsBuilder

Jump to

Keyboard shortcuts

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