Merge pull request #418 from anchore/add-all-pkg-metadata-types

Add all package metadata types slice for use in downstream testing
This commit is contained in:
Alex Goodman 2021-05-24 11:15:56 -04:00 committed by GitHub
commit 2ca2f03501
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,3 +16,15 @@ const (
RustCargoPackageMetadataType MetadataType = "RustCargoPackageMetadata"
KbPackageMetadataType MetadataType = "KbPackageMetadata"
)
var AllMetadataTypes = []MetadataType{
ApkMetadataType,
DpkgMetadataType,
GemMetadataType,
JavaMetadataType,
NpmPackageJSONMetadataType,
RpmdbMetadataType,
PythonPackageMetadataType,
RustCargoPackageMetadataType,
KbPackageMetadataType,
}