Versions in this module Expand all Collapse all v0 v0.2.0 Nov 4, 2026 Changes in this version + func BetterStatus(a, b report.ValidationStatus) report.ValidationStatus + func CacheKey(ruleID, secret string, captures map[string]string, ...) string + type Cache struct + func NewCache() *Cache + func (c *Cache) GetOrDo(key string, fn func() (*Result, error)) (*Result, error) + func (c *Cache) Hits() uint64 + func (c *Cache) Misses() uint64 + type Pool struct + Debug bool + Emit func(report.Finding) + func NewPool(workers int, runtime *exprruntime.Runtime) *Pool + func NewPoolContext(ctx context.Context, workers int, runtime *exprruntime.Runtime) *Pool + func (p *Pool) Close() + func (p *Pool) Stats() (hits, misses uint64) + func (p *Pool) Submit(finding report.Finding, program exprruntime.Program) + func (p *Pool) SubmitContext(ctx context.Context, finding report.Finding, program exprruntime.Program) error + func (p *Pool) ValidateContext(ctx context.Context, finding report.Finding, program exprruntime.Program) (report.Finding, error) + type Result struct + Metadata map[string]any + Reason string + Status report.ValidationStatus + func ParseResult(val any) *Result