osv

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepGroupMetadata added in v0.1.3

type DepGroupMetadata struct {
	DepGroupVals []string
}

DepGroupMetadata is a metadata struct that only supports DepGroups

func (DepGroupMetadata) DepGroups added in v0.1.3

func (dgm DepGroupMetadata) DepGroups() []string

DepGroups return the dependency groups property in the metadata

type DepGroups added in v0.1.3

type DepGroups interface {
	DepGroups() []string
}

DepGroups provides access to the list of dependency groups an inventory item belongs to. Dependency groups are used by many language package managers as a way to organize dependencies (e.g. development dependencies will be in the "dev" group)

type Metadata

type Metadata struct {
	PURLType  string
	Commit    string
	Ecosystem string
	CompareAs string
}

Metadata holds parsing information for packages extracted by an OSV extractor wrapper.

Jump to

Keyboard shortcuts

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