Documentation ¶
Overview ¶
Package feature implements feature functionality.
Index ¶
Constants ¶
View Source
const ( // MachinePool is a feature gate for MachinePool functionality. // // alpha: v0.3 // beta: v1.7 MachinePool featuregate.Feature = "MachinePool" // ClusterResourceSet is a feature gate for the ClusterResourceSet functionality. // // alpha: v0.3 // beta: v0.4 ClusterResourceSet featuregate.Feature = "ClusterResourceSet" // ClusterTopology is a feature gate for the ClusterClass and managed topologies functionality. // // alpha: v0.4 ClusterTopology featuregate.Feature = "ClusterTopology" // RuntimeSDK is a feature gate for the Runtime hooks and extensions functionality. // // alpha: v1.2 RuntimeSDK featuregate.Feature = "RuntimeSDK" // KubeadmBootstrapFormatIgnition is a feature gate for the Ignition bootstrap format // functionality. // // alpha: v1.1 KubeadmBootstrapFormatIgnition featuregate.Feature = "KubeadmBootstrapFormatIgnition" // MachineSetPreflightChecks is a feature gate for the MachineSet preflight checks functionality. // // alpha: v1.5 MachineSetPreflightChecks featuregate.Feature = "MachineSetPreflightChecks" )
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.
Click to show internal directories.
Click to hide internal directories.