Documentation ¶
Index ¶
- type Package
- type PrimaryMD
- type PrimaryMDPackage
- type PrimaryMDPackageChecksum
- type PrimaryMDPackageFormat
- type PrimaryMDPackageFormatFile
- type PrimaryMDPackageLocation
- type PrimaryMDPackageSize
- type PrimaryMDPackageTime
- type PrimaryMDPackageVersion
- type RepoMD
- type RepoMDData
- type RepoMDDataChecksum
- type RepoMDDataLocation
- type RepoMDDataOpenChecksum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrimaryMDPackage ¶
type PrimaryMDPackage struct { Text string `xml:",chardata"` Type string `xml:"type,attr"` Name string `xml:"name"` Arch string `xml:"arch"` Version PrimaryMDPackageVersion `xml:"version"` Checksum PrimaryMDPackageChecksum `xml:"checksum"` Summary string `xml:"summary"` Description string `xml:"description"` Packager string `xml:"packager"` URL string `xml:"url"` Time PrimaryMDPackageTime `xml:"time"` Size PrimaryMDPackageSize `xml:"size"` Location PrimaryMDPackageLocation `xml:"location"` Format PrimaryMDPackageFormat `xml:"format"` }
type PrimaryMDPackageFormat ¶
type PrimaryMDPackageSize ¶
type PrimaryMDPackageTime ¶
type PrimaryMDPackageVersion ¶
type RepoMD ¶
type RepoMD struct { XMLName xml.Name `xml:"repomd"` Text string `xml:",chardata"` Xmlns string `xml:"xmlns,attr"` Rpm string `xml:"rpm,attr"` Revision string `xml:"revision"` Data []RepoMDData `xml:"data"` }
func (*RepoMD) GetPrimary ¶
func (r *RepoMD) GetPrimary() (RepoMDData, error)
type RepoMDData ¶
type RepoMDData struct { Text string `xml:",chardata"` Type string `xml:"type,attr"` Checksum RepoMDDataChecksum `xml:"checksum"` OpenChecksum RepoMDDataOpenChecksum `xml:"open-checksum"` Location RepoMDDataLocation `xml:"location"` Timestamp string `xml:"timestamp"` Size string `xml:"size"` OpenSize string `xml:"open-size"` }
type RepoMDDataChecksum ¶
type RepoMDDataLocation ¶
type RepoMDDataOpenChecksum ¶
Click to show internal directories.
Click to hide internal directories.