features

package
v2.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// owner: robert-bell
	// kep: https://github.com/kubeflow/trainer/blob/main/docs/proposals/2779-trainjob-progress/README.md
	//
	// Enables status server allowing TrainJob pods to update their status.
	TrainJobStatus featuregate.Feature = "TrainJobStatus"
)

Variables

This section is empty.

Functions

func Enabled

func Enabled(f featuregate.Feature) bool

Enabled is 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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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