featureflag

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 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"
)

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