Versions in this module Expand all Collapse all v0 v0.0.1 Jun 30, 2024 Changes in this version + func TestGet(t *testing.T, vulnsrc Getter, args TestGetArgs) + func TestUpdate(t *testing.T, vulnsrc Updater, args TestUpdateArgs) + type Getter interface + Get func(string, string) ([]types.Advisory, error) + type TestGetArgs struct + Fixtures []string + PkgName string + Release string + WantErr string + WantValues []types.Advisory + type TestUpdateArgs struct + Dir string + NoBuckets [][]string + WantErr string + WantValues []WantValues + type Updater interface + Update func(dir string) (err error) + type WantValues struct + Key []string + Value interface{}