features

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloudStackKubeVipDisabledEnvVar = "CLOUDSTACK_KUBE_VIP_DISABLED"
	SnowProviderEnvVar              = "SNOW_PROVIDER"
	FullLifecycleAPIEnvVar          = "FULL_LIFECYCLE_API"
	FullLifecycleGate               = "FullLifecycleAPI"
	CheckpointEnabledEnvVar         = "CHECKPOINT_ENABLED"
	NutanixProviderEnvVar           = "NUTANIX_PROVIDER"
	UseNewWorkflowsEnvVar           = "USE_NEW_WORKFLOWS"
	K8s124SupportEnvVar             = "K8S_1_24_SUPPORT"
)

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 CheckpointEnabled added in v0.11.0

func CheckpointEnabled() Feature

func CloudStackKubeVipDisabled added in v0.9.0

func CloudStackKubeVipDisabled() Feature

func FullLifecycleAPI added in v0.7.0

func FullLifecycleAPI() Feature

func K8s124Support added in v0.12.0

func K8s124Support() Feature

func NutanixProvider added in v0.12.0

func NutanixProvider() Feature

NutanixProvider returns a feature that is active if the NUTANIX_PROVIDER environment variable is true

func SnowProvider added in v0.8.0

func SnowProvider() Feature

func UseNewWorkflows added in v0.12.0

func UseNewWorkflows() Feature

Jump to

Keyboard shortcuts

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