Documentation ¶
Index ¶
Constants ¶
View Source
const (
//nolint:stylecheck
FeatureOIDC = "FEATURE_PREVIEW_OIDC_DB_ACCESS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureFlags ¶
type FeatureFlags struct {
// contains filtered or unexported fields
}
func NewFeatureFlags ¶
func NewFeatureFlags(envVarsLister EnvLister) *FeatureFlags
NewFeatureFlags creates a new instance of FeatureFlags and reads feature flags from the ENV
func (*FeatureFlags) GetFeatureValue ¶
func (f *FeatureFlags) GetFeatureValue(featureName string) string
func (*FeatureFlags) IsFeaturePresent ¶
func (f *FeatureFlags) IsFeaturePresent(featureName string) bool
Click to show internal directories.
Click to hide internal directories.