1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

Add category support for aggregator

This commit is contained in:
Sascha L. Teichmann 2022-06-30 13:54:51 +02:00
parent 198e5b8897
commit 7bafb210cf
4 changed files with 83 additions and 8 deletions

View file

@ -40,12 +40,13 @@ type worker struct {
expr *util.PathEval
signRing *crypto.KeyRing
client util.Client // client per provider
provider *provider // current provider
metadataProvider interface{} // current metadata provider
loc string // URL of current provider-metadata.json
dir string // Directory to store data to.
summaries map[string][]summary // the summaries of the advisories.
client util.Client // client per provider
provider *provider // current provider
metadataProvider interface{} // current metadata provider
loc string // URL of current provider-metadata.json
dir string // Directory to store data to.
summaries map[string][]summary // the summaries of the advisories.
categories map[string]map[string]bool // the categories per label.
}
func newWorker(num int, processor *processor) *worker {