package defaults

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

Index

Constants

const (
	// ClusterAutoscalerProvider defines the default autoscaler provider
	ClusterAutoscalerProvider = "ClusterAutoscalerProvider"
)

Functions

func ApplyFeatureGates

func ApplyFeatureGates() (restore func())

ApplyFeatureGates applies algorithm by feature gates. The returned function is used to restore the state of registered predicates/priorities when this function is called, and should be called in tests which may modify the value of a feature gate temporarily.

Source Files

defaults.go register_predicates.go register_priorities.go

Version
v1.16.3-beta.0
Published
Oct 15, 2019
Platform
js/wasm
Imports
9 packages
Last checked
1 second ago

Tools for package owners.