Versions in this module Expand all Collapse all v0 v0.1.2 Jun 11, 2024 v0.1.1 Apr 4, 2024 Changes in this version + type Policy struct + func New(fs files.FS, data []byte) (*Policy, error) + func (p *Policy) AddQuery(query string) + func (p *Policy) Eval(ctx context.Context, input map[string]interface{}) (bool, error) + func (p *Policy) EvalEvent(ctx context.Context, event domain.ReportEvent) (bool, error)