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:
parent
198e5b8897
commit
7bafb210cf
4 changed files with 83 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue