featureflags

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package featureflags is a minimal, dependency-free home for feature-flag surfaces shared between packages that can't import pkg/configuration directly (pkg/configuration already depends on pkg/utils transitively, via internal/utils, so pkg/utils importing pkg/configuration back would be an import cycle).

Index

Constants

View Source
const (
	// FileFilterMetacharacterFix backs configuration.FF_FILE_FILTER_METACHARACTER_FIX.
	FileFilterMetacharacterFix string = "internal_snyk_file_filter_metacharacter_fix_enabled"

	// FileFilterMetacharacterFixBackendName backs configuration.SNYK_FILE_FILTER_METACHARACTER_FIX.
	FileFilterMetacharacterFixBackendName string = "snykFileFilterMetacharacterFix"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FeatureFlagReader

type FeatureFlagReader interface {
	GetBool(key string) bool
}

FeatureFlagReader is satisfied by any configuration.Configuration.

Jump to

Keyboard shortcuts

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