defaults

package
v1.18.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

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. TODO(Huang-Wei): refactor this function to have a clean way to disable/enable plugins.

Types

This section is empty.

Jump to

Keyboard shortcuts

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