testing

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFramework

func NewFramework(fns []RegisterPluginFunc, profileName string, opts ...runtime.Option) (framework.Handle, error)

NewFramework creates a Framework from the register functions and options.

Types

type RegisterPluginFunc

type RegisterPluginFunc func(reg *runtime.Registry, profile *deschedulerconfig.DeschedulerProfile)

func RegisterBalancePlugin

func RegisterBalancePlugin(pluginName string, pluginNewFunc runtime.PluginFactory) RegisterPluginFunc

func RegisterDeschedulePlugin

func RegisterDeschedulePlugin(pluginName string, pluginNewFunc runtime.PluginFactory) RegisterPluginFunc

func RegisterEvictPlugin added in v1.2.0

func RegisterEvictPlugin(pluginName string, pluginNewFunc runtime.PluginFactory) RegisterPluginFunc

func RegisterFilterPlugin added in v1.2.0

func RegisterFilterPlugin(pluginName string, pluginNewFunc runtime.PluginFactory) RegisterPluginFunc

func RegisterPluginAsExtensions

func RegisterPluginAsExtensions(pluginName string, pluginNewFunc runtime.PluginFactory, extensions ...string) RegisterPluginFunc

RegisterPluginAsExtensions returns a function to register a Plugin as given extensionPoints to a given registry.

func RegisterPluginAsExtensionsWithWeight

func RegisterPluginAsExtensionsWithWeight(pluginName string, weight int32, pluginNewFunc runtime.PluginFactory, extensions ...string) RegisterPluginFunc

RegisterPluginAsExtensionsWithWeight returns a function to register a Plugin as given extensionPoints with weight to a given registry.

Jump to

Keyboard shortcuts

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