arch

package
v0.0.0-...-bb4f4e9 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(opts ...Option) error

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithAdvisoryURL

func WithAdvisoryURL(advisoryURL string) Option

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option

type VulnerabilityGroup

type VulnerabilityGroup struct {
	Advisories []string `json:"advisories"`
	Affected   string   `json:"affected"`
	Fixed      *string  `json:"fixed"`
	Issues     []string `json:"issues"`
	Name       string   `json:"name"`
	Packages   []string `json:"packages"`
	Severity   string   `json:"severity"`
	Status     string   `json:"status"`
	Ticket     *string  `json:"ticket"`
	Type       string   `json:"type"`
}

Jump to

Keyboard shortcuts

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