support msrc types

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza
2021-04-23 10:17:16 -04:00
parent 032cecbe7f
commit 5af2687022
4 changed files with 17 additions and 0 deletions
+2
View File
@@ -18,6 +18,7 @@ const (
JenkinsPluginPkg Type = "jenkins-plugin"
GoModulePkg Type = "go-module"
RustPkg Type = "rust-crate"
KbPkg Type = "msrc-kb"
)
// AllPkgs represents all supported package types
@@ -32,6 +33,7 @@ var AllPkgs = []Type{
JenkinsPluginPkg,
GoModulePkg,
RustPkg,
KbPkg,
}
// PackageURLType returns the PURL package type for the current package.