mocks

package
v6.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEvaluator

type MockEvaluator struct {
	EvaluateFeatureCall           func(key string, bucketingKey *string, feature string, attributes map[string]interface{}) *evaluator.Result
	EvaluateFeaturesCall          func(key string, bucketingKey *string, features []string, attributes map[string]interface{}) evaluator.Results
	EvaluateFeatureByFlagSetsCall func(key string, bucketingKey *string, flagSets []string, attributes map[string]interface{}) evaluator.Results
}

MockEvaluator mock evaluator

func (MockEvaluator) EvaluateFeature

func (m MockEvaluator) EvaluateFeature(key string, bucketingKey *string, feature string, attributes map[string]interface{}) *evaluator.Result

EvaluateFeature mock

func (MockEvaluator) EvaluateFeatureByFlagSets

func (m MockEvaluator) EvaluateFeatureByFlagSets(key string, bucketingKey *string, flagSets []string, attributes map[string]interface{}) evaluator.Results

EvaluateFeaturesByFlagSets mock

func (MockEvaluator) EvaluateFeatures

func (m MockEvaluator) EvaluateFeatures(key string, bucketingKey *string, features []string, attributes map[string]interface{}) evaluator.Results

EvaluateFeatures mock

Jump to

Keyboard shortcuts

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