errata

package
v0.0.0-...-e1af42c Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 11 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 Advisory

type Advisory struct {
	AffectedProducts []string `json:"affectedProducts,omitempty"`
	BuildReferences  []any    `json:"buildReferences,omitempty"`
	Cves             []struct {
		Cvss3BaseScore     string `json:"cvss3BaseScore,omitempty"`
		Cvss3ScoringVector string `json:"cvss3ScoringVector,omitempty"`
		Cwe                string `json:"cwe,omitempty"`
		Name               string `json:"name,omitempty"`
		SourceBy           string `json:"sourceBy,omitempty"`
		SourceLink         string `json:"sourceLink,omitempty"`
	} `json:"cves,omitempty"`
	Description string `json:"description,omitempty"`
	Fixes       []struct {
		Description string `json:"description,omitempty"`
		SourceBy    string `json:"sourceBy,omitempty"`
		SourceLink  string `json:"sourceLink,omitempty"`
		Ticket      string `json:"ticket,omitempty"`
	} `json:"fixes,omitempty"`
	Name            string `json:"name,omitempty"`
	PublishedAt     string `json:"publishedAt,omitempty"`
	RebootSuggested bool   `json:"rebootSuggested,omitempty"`
	References      []any  `json:"references,omitempty"`
	Rpms            map[string]struct {
		NVRAS []string `json:"nvras,omitempty"`
	} `json:"rpms,omitempty"`
	Severity  string `json:"severity,omitempty"`
	ShortCode string `json:"shortCode,omitempty"`
	Solution  any    `json:"solution,omitempty"`
	Synopsis  string `json:"synopsis,omitempty"`
	Topic     string `json:"topic,omitempty"`
	Type      string `json:"type,omitempty"`
}

type Option

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

func WithDataURL

func WithDataURL(url string) Option

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option

Jump to

Keyboard shortcuts

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