Documentation ¶
Overview ¶
Package rtengine contains utilities for the rule type engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache interface { // GetRuleEngine retrieves the rule type engine instance for the specified rule type GetRuleEngine(context.Context, uuid.UUID) (*rtengine2.RuleTypeEngine, error) }
Cache contains a set of RuleTypeEngine instances
func NewRuleEngineCache ¶
func NewRuleEngineCache( ctx context.Context, store db.Querier, entityType db.Entities, projectID uuid.UUID, provider provinfv1.Provider, ingestCache ingestcache.Cache, opts ...eoptions.Option, ) (Cache, error)
NewRuleEngineCache creates the rule engine cache It attempts to pre-populate the cache with all the relevant rule types for this entity and project hierarchy.
Click to show internal directories.
Click to hide internal directories.