featureflags

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 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          string = "internal_snyk_file_filter_metacharacter_fix_enabled"
	GitIgnoreRespectTrackedFiles        string = "internal_snyk_gitignore_respect_tracked_files_enabled"
	FileFilterRespectParentExclusionFix string = "internal_snyk_file_filter_respect_parent_exclusion_enabled"

	FileFilterMetacharacterFixBackendName          string = "snykFileFilterMetacharacterFix"
	GitIgnoreRespectTrackedFilesBackendName        string = "snykGitIgnoreTrackedFiles"
	FileFilterRespectParentExclusionFixBackendName string = "snykFileFilterRespectParentExclusion"
)

These fields back pkg/configuration/constants.go

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