Documentation ¶
Index ¶
- func DefaultSchedulerConfig() (*v1.KubeSchedulerConfiguration, error)
- func InTreeMultiPointPluginSet() (configv1.PluginSet, error)
- func InTreeRegistries() runtime.Registry
- func OutOfTreeMultiPointPluginNames() []string
- func OutOfTreeRegistries() runtime.Registry
- func RegisteredMultiPointPluginNames() ([]string, error)
- func SetKubeSchedulerCfgPath(path string)
- func SetOutOfTreeRegistries(r runtime.Registry)
- func UpdateSchedulerConfig(cfg *v1.KubeSchedulerConfiguration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSchedulerConfig ¶
func DefaultSchedulerConfig() (*v1.KubeSchedulerConfiguration, error)
DefaultSchedulerConfig creates KubeSchedulerConfiguration default configuration.
func InTreeMultiPointPluginSet ¶
InTreeMultiPointPluginSet returns default multipoint plugins. See also: https://github.com/kubernetes/kubernetes/blob/475f9010f5faa7bdd439944a6f5f1ec206297602/pkg/scheduler/apis/config/v1/default_plugins.go#L30https://github.com/kubernetes/kubernetes/blob/475f9010f5faa7bdd439944a6f5f1ec206297602/pkg/scheduler/apis/config/v1/default_plugins.go#L30
func InTreeRegistries ¶
func OutOfTreeMultiPointPluginNames ¶
func OutOfTreeMultiPointPluginNames() []string
func OutOfTreeRegistries ¶
func RegisteredMultiPointPluginNames ¶
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 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.