Versions in this module Expand all Collapse all v0 v0.3.0 Sep 1, 2026 Changes in this version + func NormalizeTypeName(typeName string) string + type AliasedFacts struct + Aliases map[string]string + Base effectus.Facts + func NewAliasedFacts(base effectus.Facts, aliases map[string]string) *AliasedFacts + func (a *AliasedFacts) Get(path string) (interface{}, bool) + func (a *AliasedFacts) Schema() effectus.SchemaInfo + type FactLoader interface + Load func() (*RegistryFactProvider, error) + type FactProvider interface + Get func(path string) (interface{}, bool) + GetWithContext func(path string) (interface{}, *ResolutionResult) + type JSONLoader struct + func NewJSONLoader(jsonData []byte) *JSONLoader + func (l *JSONLoader) Load() (*RegistryFactProvider, error) + type MergeStrategy string + const MergeError + const MergeFirst + const MergeLast + type MergedFactProvider struct + func NewMergedFactProvider(sources []SourceProvider, strategy MergeStrategy) *MergedFactProvider + func (m *MergedFactProvider) Get(path string) (interface{}, bool) + func (m *MergedFactProvider) GetWithContext(path string) (interface{}, *ResolutionResult) + type NamespacedLoader struct + func NewNamespacedLoader() *NamespacedLoader + func (l *NamespacedLoader) AddSource(namespace string, source interface{}) *NamespacedLoader + func (l *NamespacedLoader) Load() (*RegistryFactProvider, error) + type Path string + func (p Path) Child(segment string) Path + func (p Path) Namespace() string + func (p Path) String() string + func (p Path) WithNamespace(namespace string) Path + type ProtoLoader struct + func NewProtoLoader(message proto.Message) *ProtoLoader + func (l *ProtoLoader) Load() (*RegistryFactProvider, error) + type Registry struct + func NewRegistry() *Registry + func (r *Registry) Get(path string) (interface{}, bool) + func (r *Registry) GetWithContext(path string) (interface{}, *ResolutionResult) + func (r *Registry) Providers() map[string]FactProvider + func (r *Registry) Register(namespace string, provider FactProvider) + type RegistryFactProvider struct + func NewRegistryFactProvider() *RegistryFactProvider + func NewRegistryFactProviderFromJSON(jsonData []byte) (*RegistryFactProvider, error) + func NewRegistryFactProviderFromMap(data map[string]interface{}) *RegistryFactProvider + func NewRegistryFactProviderFromStruct(structData interface{}) (*RegistryFactProvider, error) + func NewRegistryFactProviderWithRegistry(registry *schema.Registry) *RegistryFactProvider + func (rfp *RegistryFactProvider) EvaluateExpr(expression string) (interface{}, error) + func (rfp *RegistryFactProvider) EvaluateExprBool(expression string) (bool, error) + func (rfp *RegistryFactProvider) EvaluateExpression(expression string) (interface{}, error) + func (rfp *RegistryFactProvider) Get(path string) (interface{}, bool) + func (rfp *RegistryFactProvider) GetRegistry() *schema.Registry + func (rfp *RegistryFactProvider) GetWithContext(path string) (interface{}, *ResolutionResult) + func (rfp *RegistryFactProvider) HasPath(path string) bool + func (rfp *RegistryFactProvider) LoadFromMap(data map[string]interface{}) + func (rfp *RegistryFactProvider) Set(path string, value interface{}) + type ResolutionResult struct + Error error + Exists bool + Path string + Source string + Sources []string + Universe string + Value interface{} + type SourceProvider struct + Name string + Priority int + Provider FactProvider + type StructLoader struct + func NewStructLoader(data interface{}) *StructLoader + func (l *StructLoader) Load() (*RegistryFactProvider, error) + type UniverseFacts struct + Registry *UniverseRegistry + Universe string + func NewUniverseFacts(registry *UniverseRegistry, universe string, schema effectus.SchemaInfo) *UniverseFacts + func (u *UniverseFacts) Get(path string) (interface{}, bool) + func (u *UniverseFacts) Schema() effectus.SchemaInfo + type UniverseRegistry struct + func NewUniverseRegistry() *UniverseRegistry + func (u *UniverseRegistry) Get(universe, path string) (interface{}, bool) + func (u *UniverseRegistry) GetWithContext(universe, path string) (interface{}, *ResolutionResult) + func (u *UniverseRegistry) Register(universe, namespace string, provider FactProvider) + func (u *UniverseRegistry) RegisterMerged(universe, namespace string, sources []SourceProvider, strategy MergeStrategy) + func (u *UniverseRegistry) Universe(universe string) *Registry + func (u *UniverseRegistry) Universes() []string