config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSchedulerConfig

func DefaultSchedulerConfig() (*v1.KubeSchedulerConfiguration, error)

DefaultSchedulerConfig creates KubeSchedulerConfiguration default configuration.

func InTreeRegistries

func InTreeRegistries() runtime.Registry

func OutOfTreeMultiPointPluginNames

func OutOfTreeMultiPointPluginNames() []string

func OutOfTreeRegistries

func OutOfTreeRegistries() runtime.Registry

func RegisteredMultiPointPluginNames

func RegisteredMultiPointPluginNames() ([]string, error)

RegisteredMultiPointPluginNames returns all registered multipoint plugin names. in-tree plugins and your original plugins listed in outOfTreeRegistries above.

func SetKubeSchedulerCfgPath added in v0.4.0

func SetKubeSchedulerCfgPath(path string)

SetKubeSchedulerCfgPath set Scheduler config path.

func SetOutOfTreeRegistries

func SetOutOfTreeRegistries(r runtime.Registry)

func UpdateSchedulerConfig added in v0.4.0

func UpdateSchedulerConfig(cfg *v1.KubeSchedulerConfiguration) error

UpdateSchedulerConfig writes the given scheduler config to kubeSchedulerConfigPath.

Types

This section is empty.

Jump to

Keyboard shortcuts

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