Versions in this module Expand all Collapse all v0 v0.0.8 May 27, 2024 v0.0.1 May 27, 2024 Changes in this version + type Option func(*TrivyDB) + func WithClock(clock clock.Clock) Option + func WithVulnSrcs(srcs map[types.SourceID]vulnsrc.VulnSrc) Option + type TrivyDB struct + func New(cacheDir string, updateInterval time.Duration, opts ...Option) *TrivyDB + func (t TrivyDB) Build(targets []string) error + func (t TrivyDB) Insert(targets []string) error + type VulnDB interface + Build func(targets []string) error