pkg: add a new type to identify setup.py packages

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza
2020-08-17 10:12:27 -04:00
parent afce14388b
commit 27c207bbca
+2
View File
@@ -16,6 +16,7 @@ const (
NpmPkg Type = "npm"
YarnPkg Type = "yarn"
PythonRequirementsPkg Type = "python-requirements"
PythonSetupPkg Type = "python-setup"
JavaPkg Type = "java-archive"
JenkinsPluginPkg Type = "jenkins-plugin"
GoModulePkg Type = "go-module"
@@ -32,6 +33,7 @@ var AllPkgs = []Type{
NpmPkg,
YarnPkg,
PythonRequirementsPkg,
PythonSetupPkg,
JavaPkg,
JenkinsPluginPkg,
GoModulePkg,