featureflag

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the Apache 2.0 license.

Index

Constants

View Source
const (
	InitContainerFeature       = "init-container"
	ConfidentialComputeFeature = "confidential-compute"

	// Events : support ACI to K8s event translation and broadcasting
	Events = "events"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagIdentifier

type FlagIdentifier struct {
	// contains filtered or unexported fields
}

func InitFeatureFlag

func InitFeatureFlag(ctx context.Context) *FlagIdentifier

func (*FlagIdentifier) IsEnabled

func (fi *FlagIdentifier) IsEnabled(ctx context.Context, feature string) bool

Jump to

Keyboard shortcuts

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