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.
Click to show internal directories.
Click to hide internal directories.