cpe

package
v0.1.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ANY = "*"

Variables

This section is empty.

Functions

This section is empty.

Types

type CPE

type CPE = wfn.Attributes

func Generate

func Generate(p *pkg.Package) ([]CPE, error)

Generate Create a list of CPEs, trying to guess the vendor, product tuple and setting TargetSoftware if possible

func MatchWithoutVersion

func MatchWithoutVersion(c CPE, candidates []CPE) []CPE

func New

func New(cpeStr string) (CPE, error)

func NewSlice

func NewSlice(cpeStrs ...string) ([]CPE, error)

Jump to

Keyboard shortcuts

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