feature

package
v1.35.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 2 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Features

type Features struct {
	EnableDRAExtendedResource                     bool
	EnableDRAPrioritizedList                      bool
	EnableDRAAdminAccess                          bool
	EnableDRAConsumableCapacity                   bool
	EnableDRADeviceTaints                         bool
	EnableDRADeviceBindingConditions              bool
	EnableDRAPartitionableDevices                 bool
	EnableDRAResourceClaimDeviceStatus            bool
	EnableDRASchedulerFilterTimeout               bool
	EnableDynamicResourceAllocation               bool
	EnableVolumeAttributesClass                   bool
	EnableCSIMigrationPortworx                    bool
	EnableVolumeLimitScaling                      bool
	EnableNodeInclusionPolicyInPodTopologySpread  bool
	EnableMatchLabelKeysInPodTopologySpread       bool
	EnableInPlacePodVerticalScaling               bool
	EnableSidecarContainers                       bool
	EnableSchedulingQueueHint                     bool
	EnableAsyncPreemption                         bool
	EnablePodLevelResources                       bool
	EnableStorageCapacityScoring                  bool
	EnableNodeDeclaredFeatures                    bool
	EnableGangScheduling                          bool
	EnableTaintTolerationComparisonOperators      bool
	EnableInPlacePodLevelResourcesVerticalScaling bool
}

Features carries feature gate values used by various plugins. This struct allows us to break the dependency of the plugins on the internal k8s features pkg.

func NewSchedulerFeaturesFromGates added in v1.34.0

func NewSchedulerFeaturesFromGates(featureGate featuregate.FeatureGate) Features

NewSchedulerFeaturesFromGates copies the current state of the feature gates into the struct.

Jump to

Keyboard shortcuts

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