cluster-api: sigs.k8s.io/cluster-api/feature Index | Files

package feature

import "sigs.k8s.io/cluster-api/feature"

Index

Package Files

feature.go gates.go

Constants

const (

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

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

Variables

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
)

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