cluster-api: Index | Files

package feature

import ""


Package Files

feature.go gates.go


const (

    // alpha: v0.3
    MachinePool featuregate.Feature = "MachinePool"

    // alpha: v0.3
    ClusterResourceSet featuregate.Feature = "ClusterResourceSet"


var (
    // MutableGates is a mutable version of DefaultFeatureGate.
    // Only top-level commands/options setup and the 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

Package feature imports 2 packages (graph) and is imported by 20 packages. Updated 2020-09-07. Refresh now. Tools for package owners.