Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllMatcherTypes = []MatcherType{ RubyBundleMatcher, DpkgMatcher, RpmDBMatcher, JavaMatcher, PythonMatcher, JavascriptMatcher, }
Functions ¶
This section is empty.
Types ¶
type Match ¶
type Match struct { Type Type Confidence float64 Vulnerability vulnerability.Vulnerability Package *pkg.Package // SearchKey provides an indication of how this match was found. // TODO: is this a good name for what it represents? (which is an audit trail of HOW we got this match from the store) SearchKey string IndirectPackage *pkg.Package Matcher MatcherType }
type MatcherType ¶
type MatcherType int
const ( UnknownMatcherType MatcherType = iota RubyBundleMatcher DpkgMatcher RpmDBMatcher JavaMatcher PythonMatcher JavascriptMatcher )
func (MatcherType) String ¶
func (f MatcherType) String() string
Click to show internal directories.
Click to hide internal directories.