loader

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultScorerWeight = 1.0

DefaultScorerWeight is the weight used for scorers referenced in the configuration without explicit weights.

Variables

This section is empty.

Functions

func InstantiateAndConfigure

func InstantiateAndConfigure(
	rawConfig *configapi.EndpointPickerConfig,
	handle fwkplugin.Handle,
	logger logr.Logger,
) (*config.Config, error)

InstantiateAndConfigure performs the heavy lifting of plugin instantiation, system architecture injection, and scheduler construction.

func LoadRawConfig

func LoadRawConfig(configBytes []byte, logger logr.Logger) (*configapi.EndpointPickerConfig, map[string]bool, error)

LoadRawConfig parses the raw configuration bytes, applies initial defaults, and extracts feature gates. It does not instantiate plugins.

func RegisterFeatureGate

func RegisterFeatureGate(gate string)

RegisterFeatureGate registers a feature gate name for validation purposes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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