reasons

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package reasons //

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reason

type Reason string

Reason is the reason for which a decision was made

const (
	// AttributeFormatInvalid - invalid format for attributes
	AttributeFormatInvalid Reason = "Provided attributes are in an invalid format."
	// BucketedVariationNotFound - the bucketed variation ID is not in the config
	BucketedVariationNotFound Reason = "Bucketed variation not found"
	// BucketedIntoVariation - the user is bucketed into a variation for the given experiment
	BucketedIntoVariation Reason = "Bucketed into variation"
	// BucketedIntoFeatureTest - the user is bucketed into a variation for the given feature test
	BucketedIntoFeatureTest Reason = "Bucketed into feature test"
	// BucketedIntoRollout - the user is bucketed into a variation for the given feature rollout
	BucketedIntoRollout Reason = "Bucketed into feature rollout"
	// FailedRolloutBucketing - the user is not bucketed into the feature rollout
	FailedRolloutBucketing Reason = "Not bucketed into rollout"
	// FailedRolloutTargeting - the user does not meet the rollout targeting rules
	FailedRolloutTargeting Reason = "Does not meet rollout targeting rule"
	// FailedAudienceTargeting - the user failed the audience targeting conditions
	FailedAudienceTargeting Reason = "Does not meet audience targeting conditions"
	// NoRolloutForFeature - there is no rollout for the given feature
	NoRolloutForFeature Reason = "No rollout for feature"
	// RolloutHasNoExperiments - the rollout has no assigned experiments
	RolloutHasNoExperiments Reason = "Rollout has no experiments"
	// ForcedDecisionFound - forced decision was found for provided flag and ruleKey against the user
	ForcedDecisionFound Reason = "Forced decision found"
	// NotBucketedIntoVariation - the user is not bucketed into a variation for the given experiment
	NotBucketedIntoVariation Reason = "Not bucketed into a variation"
	// NotInGroup - the user is not bucketed into the mutex group
	NotInGroup Reason = "Not bucketed into any experiment in mutex group"
	// NoWhitelistVariationAssignment - there is no variation assignment for the given user and experiment
	NoWhitelistVariationAssignment Reason = "No whitelist variation assignment"
	// InvalidWhitelistVariationAssignment - A variation assignment was found for the given user and experiment, but no variation with that key exists in the given experiment
	InvalidWhitelistVariationAssignment Reason = "Invalid whitelist variation assignment"
	// WhitelistVariationAssignmentFound - a valid variation assignment was found for the given user and experiment
	WhitelistVariationAssignmentFound Reason = "Whitelist variation assignment found"
	// NoOverrideVariationAssignment - No override variation was found for the given user and experiment
	NoOverrideVariationAssignment Reason = "No override variation assignment"
	// InvalidOverrideVariationAssignment - An override variation was found for the given user and experiment, but no variation with that key exists in the given experiment
	InvalidOverrideVariationAssignment Reason = "Invalid override variation assignment"
	// OverrideVariationAssignmentFound - A valid override variation was found for the given user and experiment
	OverrideVariationAssignmentFound Reason = "Override variation assignment found"
)

Jump to

Keyboard shortcuts

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