errata

package
v0.0.0-...-b33991e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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 Erratum

type Erratum struct {
	Description string `json:"description"`
	ID          string `json:"id"`
	IssuedDate  int    `json:"issued_date"`
	Modules     []struct {
		Arch    string `json:"arch"`
		Context string `json:"context"`
		Name    string `json:"name"`
		Stream  string `json:"stream"`
		Version string `json:"version"`
	} `json:"modules"`
	Packages []struct {
		Arch            string `json:"arch"`
		Checksum        string `json:"checksum"`
		ChecksumType    string `json:"checksum_type"`
		Epoch           string `json:"epoch"`
		Filename        string `json:"filename"`
		Module          string `json:"module,omitempty"`
		Name            string `json:"name"`
		RebootSuggested int    `json:"reboot_suggested"`
		Release         string `json:"release"`
		Src             string `json:"src"`
		Version         string `json:"version"`
	} `json:"packages"`
	References []struct {
		Href string `json:"href"`
		ID   string `json:"id"`
		Type string `json:"type"`
	} `json:"references"`
	Severity    string `json:"severity"`
	Title       string `json:"title"`
	Type        string `json:"type"`
	UpdatedDate int    `json:"updated_date"`
}

type Option

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

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option

func WithURLs

func WithURLs(urls map[string]string) Option

Jump to

Keyboard shortcuts

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