kubernetes: k8s.io/kubernetes/pkg/scheduler/algorithmprovider/defaults Index | Files

package defaults

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


Package Files

defaults.go register_predicates.go register_priorities.go


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

func ApplyFeatureGates Uses

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.

Package defaults imports 8 packages (graph) and is imported by 38 packages. Updated 2019-11-17. Refresh now. Tools for package owners.