features

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudStackKubeVipDisabledEnvVar = "CLOUDSTACK_KUBE_VIP_DISABLED"
	CheckpointEnabledEnvVar         = "CHECKPOINT_ENABLED"
	UseNewWorkflowsEnvVar           = "USE_NEW_WORKFLOWS"
	UseControllerForCli             = "USE_CONTROLLER_FOR_CLI"
	VSphereInPlaceEnvVar            = "VSPHERE_IN_PLACE_UPGRADE"
	APIServerExtraArgsEnabledEnvVar = "API_SERVER_EXTRA_ARGS_ENABLED"
)

These are environment variables used as flags to enable/disable features.

Variables

This section is empty.

Functions

func ClearCache added in v0.9.0

func ClearCache()

ClearCache is mainly used for unit tests as of now.

func FeedGates added in v0.7.0

func FeedGates(featureGates []string)

func IsActive

func IsActive(feature Feature) bool

Types

type Feature

type Feature struct {
	Name     string
	IsActive func() bool
}

func APIServerExtraArgsEnabled added in v0.20.0

func APIServerExtraArgsEnabled() Feature

APIServerExtraArgsEnabled is the feature flag for configuring api server extra args.

func CheckpointEnabled added in v0.11.0

func CheckpointEnabled() Feature

func CloudStackKubeVipDisabled added in v0.9.0

func CloudStackKubeVipDisabled() Feature

func UseNewWorkflows added in v0.12.0

func UseNewWorkflows() Feature

func VSphereInPlaceUpgradeEnabled added in v0.19.0

func VSphereInPlaceUpgradeEnabled() Feature

VSphereInPlaceUpgradeEnabled is the feature flag for performing in-place upgrades with the vSphere provider.

Jump to

Keyboard shortcuts

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