Documentation ¶
Index ¶
- func GetPluginConfig(pluginName string, pluginConfigs []api.PluginConfig) (*api.PluginConfig, int)
- func LoadPolicyConfig(policyConfigFile string, client clientset.Interface, ...) (*api.DeschedulerPolicy, error)
- func NewLeaderElection(run func() error, client clientset.Interface, ...) error
- func RegisterDefaultPlugins(registry pluginregistry.Registry)
- func Run(ctx context.Context, rs *options.DeschedulerServer) error
- func RunDeschedulerStrategies(ctx context.Context, rs *options.DeschedulerServer, ...) error
- func SetupPlugins()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPluginConfig ¶ added in v0.27.0
func GetPluginConfig(pluginName string, pluginConfigs []api.PluginConfig) (*api.PluginConfig, int)
func LoadPolicyConfig ¶
func LoadPolicyConfig(policyConfigFile string, client clientset.Interface, registry pluginregistry.Registry) (*api.DeschedulerPolicy, error)
func NewLeaderElection ¶ added in v0.24.0
func NewLeaderElection( run func() error, client clientset.Interface, LeaderElectionConfig *componentbaseconfig.LeaderElectionConfiguration, ctx context.Context, ) error
NewLeaderElection starts the leader election code loop
func RegisterDefaultPlugins ¶ added in v0.26.0
func RegisterDefaultPlugins(registry pluginregistry.Registry)
func RunDeschedulerStrategies ¶ added in v0.10.0
func RunDeschedulerStrategies(ctx context.Context, rs *options.DeschedulerServer, deschedulerPolicy *api.DeschedulerPolicy, evictionPolicyGroupVersion string) error
func SetupPlugins ¶ added in v0.26.0
func SetupPlugins()
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.