feature

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Overview

Package feature provides a feature-gate implementation for capa.

Index

Constants

View Source
const (

	// EKS is used to enable EKS support
	// owner: @richardcase
	// alpha: v0.4
	EKS featuregate.Feature = "EKS"

	// EKSEnableIAM will enable the IAM resource creation/modification
	// owner: @richardcase
	// alpha: v0.4
	EKSEnableIAM featuregate.Feature = "EKSEnableIAM"

	// EKSAllowAddRoles is used to enable the usage of additional IAM roles
	// owner: @richardcase
	// alpha: v0.4
	EKSAllowAddRoles featuregate.Feature = "EKSAllowAddRoles"

	// EKSFargate is used to enable the usage of EKS fargate profiles
	// owner: @richardcase
	// alpha: v0.4
	EKSFargate featuregate.Feature = "EKSFargate"

	// MachinePool is used to enable ASG support
	// owner: @mytunguyen
	// alpha: v0.1
	MachinePool featuregate.Feature = "MachinePool"

	// EventBridgeInstanceState will use Event Bridge and notifications to keep instance state up-to-date
	// owner: @gab-satchi
	// alpha: v0.7?
	EventBridgeInstanceState featuregate.Feature = "EventBridgeInstanceState"

	// AutoControllerIdentityCreator will create AWSClusterControllerIdentity instance that allows all namespaces to use it.
	// owner: @sedefsavas
	// alpha: v0.6
	AutoControllerIdentityCreator featuregate.Feature = "AutoControllerIdentityCreator"

	// BootstrapFormatIgnition will allow an user to enable alternate machine bootstrap format, viz. Ignition.
	BootstrapFormatIgnition featuregate.Feature = "BootstrapFormatIgnition"

	// ExternalResourceGC is used to enable the garbage collection of external resources like NLB/ALB on deletion
	// owner: @richardcase
	// alpha: v1.5
	ExternalResourceGC featuregate.Feature = "ExternalResourceGC"

	// AlternativeGCStrategy is used to enable garbage collection of external resources to be performed without resource group tagging API. It is usually needed in airgap env when tagging API is not available.
	// owner: @wyike
	// alpha: v2.0
	AlternativeGCStrategy featuregate.Feature = "AlternativeGCStrategy"

	// TagUnmanagedNetworkResources is used to disable tagging unmanaged networking resources.
	// owner: @skarlso
	// alpha: v2.0
	TagUnmanagedNetworkResources featuregate.Feature = "TagUnmanagedNetworkResources"

	// ROSA is used to enable ROSA support
	// owner: @enxebre
	// alpha: v2.2
	ROSA featuregate.Feature = "ROSA"
)

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 = feature.MutableGates

	// 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