Versions in this module Expand all Collapse all v0 v0.9.1 Oct 5, 2026 Changes in this version + type Policy struct + func New(base *cooldown.Config, packagePatterns map[string]string) (*Policy, error) + func (p *Policy) Enabled() bool + func (p *Policy) Evaluate(ecosystem, packagePURL string, publishedAt, evaluatedAt time.Time) cooldown.Decision + func (p *Policy) For(ecosystem, packagePURL string) time.Duration + func (p *Policy) IsAllowed(ecosystem, packagePURL string, publishedAt time.Time) bool