mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
match: add APK matcher type
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
51479857e6
commit
317b38336b
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue