features

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// owner: @trasc
	// kep: https://github.com/kubernetes-sigs/kueue/tree/main/keps/420-partial-admission
	// alpha: v0.4
	//
	// Enables partial admission.
	PartialAdmission featuregate.Feature = "PartialAdmission"
)

Variables

This section is empty.

Functions

func Enabled

func Enabled(f featuregate.Feature) bool

Helper for `utilfeature.DefaultFeatureGate.Enabled()`

func SetEnable

func SetEnable(f featuregate.Feature, v bool) error

SetEnable helper function that can be used to set the enabled value of a feature gate, it should only be used in integration test pending the merge of https://github.com/kubernetes/kubernetes/pull/118346

func SetFeatureGateDuringTest

func SetFeatureGateDuringTest(tb testing.TB, f featuregate.Feature, value bool) func()

Types

This section is empty.

Jump to

Keyboard shortcuts

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