debian

package
v0.0.0-...-262f678 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advisory

type Advisory struct {
	VulnerabilityID string
	Platform        string
	PkgName         string

	VendorIDs    []string
	State        string
	Severity     string
	FixedVersion string
	Title        string
}

type Option

type Option func(src *VulnSrc)

func WithCustomPut

func WithCustomPut(put db.CustomPut) Option

type VulnSrc

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

func NewVulnSrc

func NewVulnSrc(opts ...Option) VulnSrc

func (VulnSrc) Get

func (vs VulnSrc) Get(release string, pkgName string) ([]types.Advisory, error)

func (VulnSrc) Name

func (vs VulnSrc) Name() types.SourceID

func (VulnSrc) Update

func (vs VulnSrc) Update(dir string) error

type VulnerabilityDetail

type VulnerabilityDetail struct {
	Description string
}

Jump to

Keyboard shortcuts

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