kubernetesk8s.io/kubernetes/pkg/scheduler/algorithmprovider Index | Files

package algorithmprovider

import "k8s.io/kubernetes/pkg/scheduler/algorithmprovider"

Index

Constants

const ClusterAutoscalerProvider = "ClusterAutoscalerProvider"

ClusterAutoscalerProvider defines the default autoscaler provider

Functions

func ListAlgorithmProviders

func ListAlgorithmProviders() string

ListAlgorithmProviders lists registered algorithm providers.

Types

type Config

type Config struct {
	FrameworkPlugins      *schedulerapi.Plugins
	FrameworkPluginConfig []schedulerapi.PluginConfig
}

Config the configuration of an algorithm provider.

type Registry

type Registry map[string]*Config

Registry is a collection of all available algorithm providers.

func NewRegistry

func NewRegistry(hardPodAffinityWeight int64) Registry

NewRegistry returns an algorithm provider registry instance.

Source Files

registry.go

Version
v1.18.0-alpha.3
Published
Feb 4, 2020
Platform
js/wasm
Imports
25 packages
Last checked
1 minute ago

Tools for package owners.