match: add APK matcher type

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza 2020-07-31 09:25:41 -04:00
parent 51479857e6
commit 317b38336b

View file

@ -2,6 +2,7 @@ package match
const (
UnknownMatcherType MatcherType = iota
ApkMatcher
RubyBundleMatcher
DpkgMatcher
RpmDBMatcher
@ -12,6 +13,7 @@ const (
var matcherTypeStr = []string{
"UnknownMatcherType",
"apk-matcher",
"ruby-bundle-matcher",
"dpkg-matcher",
"rpmdb-matcher",
@ -21,6 +23,7 @@ var matcherTypeStr = []string{
}
var AllMatcherTypes = []MatcherType{
ApkMatcher,
RubyBundleMatcher,
DpkgMatcher,
RpmDBMatcher,