features

package
v0.1.0-latest-stable Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package features defines DPF-wide feature gates. Both the dpf-operator binary and the dpuservice controller binary register the same gate names so a value set on the operator's --feature-gates flag can be propagated down to the dpuservice controller deployment without translation.

Index

Constants

View Source
const (
	// NSIPathForSFC gates the NodeServiceInterfaces reconciliation path for
	// plain SFC ServiceInterfaceSets (those without a virtualNetwork).
	// When disabled, sets fall back to the legacy ServiceInterface path.
	NSIPathForSFC featuregate.Feature = "NSIPathForSFC"

	// NSIPathForVPC gates the NodeServiceInterfaces reconciliation path for
	// VPC ServiceInterfaceSets (those with a virtualNetwork set).
	// When disabled, sets fall back to the legacy ServiceInterface path.
	NSIPathForVPC featuregate.Feature = "NSIPathForVPC"

	// ConfigPortsOverHighSpeed gates the configuration of configPorts over high-speed network.
	// Applicable only when OVN-Kubernetes is used.
	ConfigPortsOverHighSpeed featuregate.Feature = "ConfigPortsOverHighSpeed"
)

Variables

View Source
var (
	// MutableGates is a mutable version of DefaultFeatureGate.
	// Only top-level commands/options setup and the k8s.io/component-base/featuregate/testing package should make use of this.
	// Tests that need to modify featuregate gates for the duration of their test should use:
	//   defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.<FeatureName>, <value>)()
	MutableGates featuregate.MutableFeatureGate = featuregate.NewFeatureGate()

	// Gates is a shared global FeatureGate.
	// Top-level commands/options setup that needs to modify this featuregate gate should use DefaultMutableFeatureGate.
	Gates featuregate.FeatureGate = MutableGates
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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