bottlerocket

package
v0.0.0-...-fe33c4d Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 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 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

type Update

type Update struct {
	Author  string `xml:"author,attr" json:"author,omitempty"`
	From    string `xml:"from,attr" json:"from,omitempty"`
	Status  string `xml:"status,attr" json:"status,omitempty"`
	Type    string `xml:"type,attr" json:"type,omitempty"`
	Version string `xml:"version,attr" json:"version,omitempty"`
	ID      string `xml:"id" json:"ID,omitempty"`
	Title   string `xml:"title" json:"Title,omitempty"`
	Issued  struct {
		Date string `xml:"date,attr" json:"date,omitempty"`
	} `xml:"issued" json:"issued,omitzero"`
	Updated struct {
		Date string `xml:"date,attr" json:"date,omitempty"`
	} `xml:"updated" json:"updated,omitzero"`
	Severity    string `xml:"severity" json:"Severity,omitempty"`
	Description string `xml:"description" json:"Description,omitempty"`
	References  struct {
		Reference []struct {
			Href string `xml:"href,attr" json:"href,omitempty"`
			ID   string `xml:"id,attr" json:"id,omitempty"`
			Type string `xml:"type,attr" json:"type,omitempty"`
		} `xml:"reference" json:"reference,omitempty"`
	} `xml:"references" json:"references,omitzero"`
	Pkglist struct {
		Collection struct {
			Short   string `xml:"short,attr" json:"short,omitempty"`
			Name    string `xml:"name" json:"Name,omitempty"`
			Package []struct {
				Arch    string `xml:"arch,attr" json:"arch,omitempty"`
				Name    string `xml:"name,attr" json:"name,omitempty"`
				Version string `xml:"version,attr" json:"version,omitempty"`
				Release string `xml:"release,attr" json:"release,omitempty"`
				Epoch   string `xml:"epoch,attr" json:"epoch,omitempty"`
			} `xml:"package" json:"package,omitempty"`
		} `xml:"collection" json:"collection,omitzero"`
	} `xml:"pkglist" json:"pkglist,omitzero"`
}

Jump to

Keyboard shortcuts

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