features

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TinkerbellProviderEnvVar = "TINKERBELL_PROVIDER"
	CloudStackProviderEnvVar = "CLOUDSTACK_PROVIDER"
	SnowProviderEnvVar       = "SNOW_PROVIDER"
	FullLifecycleAPIEnvVar   = "FULL_LIFECYCLE_API"
	FullLifecycleGate        = "FullLifecycleAPI"
	CuratedPackagesEnvVar    = "CURATED_PACKAGES_SUPPORT"
)

Variables

This section is empty.

Functions

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 CloudStackProvider added in v0.8.0

func CloudStackProvider() Feature

func CuratedPackagesSupport added in v0.8.0

func CuratedPackagesSupport() Feature

func FullLifecycleAPI added in v0.7.0

func FullLifecycleAPI() Feature

func SnowProvider added in v0.8.0

func SnowProvider() Feature

func TinkerbellProvider added in v0.7.0

func TinkerbellProvider() Feature

Jump to

Keyboard shortcuts

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