Documentation ¶
Index ¶
- func GetEnvironmentFeatureState(environment *environments.EnvironmentModel, featureName string) *features.FeatureStateModel
- func GetEnvironmentFeatureStates(environment *environments.EnvironmentModel) []*features.FeatureStateModel
- func GetIdentityFeatureState(environment *environments.EnvironmentModel, identity *identities.IdentityModel, ...) *features.FeatureStateModel
- func GetIdentityFeatureStates(environment *environments.EnvironmentModel, identity *identities.IdentityModel, ...) []*features.FeatureStateModel
- func GetIdentitySegments(environment *environments.EnvironmentModel, identity *identities.IdentityModel, ...) []*segments.SegmentModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvironmentFeatureState ¶
func GetEnvironmentFeatureState(environment *environments.EnvironmentModel, featureName string) *features.FeatureStateModel
GetEnvironmentFeatureState returns a specific feature state for a given featureName in a given environment, or nil feature state is not found.
func GetEnvironmentFeatureStates ¶
func GetEnvironmentFeatureStates(environment *environments.EnvironmentModel) []*features.FeatureStateModel
GetEnvironmentFeatureStates returns a list of feature states for a given environment.
func GetIdentityFeatureState ¶
func GetIdentityFeatureState( environment *environments.EnvironmentModel, identity *identities.IdentityModel, featureName string, overrideTraits ...*traits.TraitModel, ) *features.FeatureStateModel
func GetIdentityFeatureStates ¶
func GetIdentityFeatureStates( environment *environments.EnvironmentModel, identity *identities.IdentityModel, overrideTraits ...*traits.TraitModel, ) []*features.FeatureStateModel
GetIdentityFeatureStates returns a list of feature states for a given identity in a given environment.
func GetIdentitySegments ¶
func GetIdentitySegments( environment *environments.EnvironmentModel, identity *identities.IdentityModel, overrideTraits ...*traits.TraitModel, ) []*segments.SegmentModel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.