Discover Packages
github.com/quay/claircore
aws
internal
alas
package
Version:
v1.5.27
Opens a new window with list of versions in this module.
Published: Apr 25, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Checksum struct {
Sum string `xml:",chardata"`
Type string `xml:"type,attr"`
}
type DateElem struct {
Date `xml:"date,attr"`
}
type Location struct {
Href string `xml:"href,attr"`
}
type Package struct {
Name string `xml:"name,attr"`
Epoch string `xml:"epoch,attr"`
Version string `xml:"version,attr"`
Release string `xml:"release,attr"`
Arch string `xml:"arch,attr"`
Filename string `xml:"filename"`
}
type Reference struct {
Href string `xml:"href,attr"`
ID string `xml:"id,attr"`
Title string `xml:"title,attr"`
Type string `xml:"type,attr"`
}
type Repo struct {
Type string `xml:"type,attr"`
Checksum Checksum `xml:"checksum"`
OpenChecksum Checksum `xml:"open-checksum"`
Location Location `xml:"location"`
Timestamp int `xml:"timestamp"`
DatabaseVersion int `xml:"database_version"`
Size int `xml:"size"`
OpenSize int `xml:"open-size"`
}
type RepoMD struct {
XMLNS string `xml:"xmlns,attr"`
XMLRPM string `xml:"xmlns rpm,attr"`
Revision int `xml:"revision"`
RepoList []Repo `xml:"data"`
}
Repo returns a Repo struct per the specified RepoType.
If a mirror url is provided a fully qualified Repo.Location.Href is returned
A ErrRepoNotFound error is returned if the RepoType cannot be located.
type Update struct {
Author string `xml:"author,attr"`
From string `xml:"from,attr"`
Status string `xml:"status,attr"`
Type string `xml:"type,attr"`
Version string `xml:"version,attr"`
ID string `xml:"id"`
Title string `xml:"title"`
Issued DateElem `xml:"issued"`
Updated DateElem `xml:"updated"`
Severity string `xml:"severity"`
Description string `xml:"description"`
References []Reference `xml:"references>reference"`
Packages []Package `xml:"pkglist>collection>package"`
}
type Updates struct {
Updates []Update `xml:"update"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.