features

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0, BSD-2-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// owner: @rueian @kevin85421 @andrewsykim
	// rep: https://github.com/ray-project/enhancements/pull/54
	// alpha: v1.2
	//
	// Enables new conditions in RayCluster status
	RayClusterStatusConditions featuregate.Feature = "RayClusterStatusConditions"
)

Variables

This section is empty.

Functions

func Enabled

func Enabled(f featuregate.Feature) bool

Enabled is helper for `utilfeature.DefaultFeatureGate.Enabled()`

func LogFeatureGates

func LogFeatureGates(log logr.Logger)

func SetFeatureGateDuringTest

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

SetFeatureGateDuringTest is a helper method to override feature gates in tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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