stock

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 6 Imported by: 9

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 added in v0.50.0

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 added in v0.50.0

type MatcherConfig struct {
	UseCPEs bool
}

Jump to

Keyboard shortcuts

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