Documentation ¶
Index ¶
- type MockEvaluator
- func (m MockEvaluator) EvaluateFeature(key string, bucketingKey *string, feature string, ...) *evaluator.Result
- func (m MockEvaluator) EvaluateFeatureByFlagSets(key string, bucketingKey *string, flagSets []string, ...) evaluator.Results
- func (m MockEvaluator) EvaluateFeatures(key string, bucketingKey *string, features []string, ...) evaluator.Results
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
Click to show internal directories.
Click to hide internal directories.