stock

package
v0.61.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher struct {
	// contains filtered or unexported fields
}

func NewStockMatcher

func NewStockMatcher(cfg MatcherConfig) *Matcher

func (*Matcher) Match

func (m *Matcher) Match(store vulnerability.Provider, d *distro.Distro, p pkg.Package) ([]match.Match, error)

func (*Matcher) PackageTypes

func (m *Matcher) PackageTypes() []syftPkg.Type

func (*Matcher) Type

func (m *Matcher) Type() match.MatcherType

type MatcherConfig

type MatcherConfig struct {
	UseCPEs bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL