Documentation ¶
Index ¶
Constants ¶
View Source
const ( PropertyMetadata = "rpm.metdata" SettingKeyPrivate = "rpm.key.private" SettingKeyPublic = "rpm.key.public" RepositoryPackage = "_rpm" RepositoryVersion = "_repository" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string `json:"name" xml:"name,attr"` Flags string `json:"flags,omitempty" xml:"flags,attr,omitempty"` Version string `json:"version,omitempty" xml:"ver,attr,omitempty"` Epoch string `json:"epoch,omitempty" xml:"epoch,attr,omitempty"` Release string `json:"release,omitempty" xml:"rel,attr,omitempty"` }
type FileMetadata ¶
type FileMetadata struct { Architecture string `json:"architecture,omitempty"` Epoch string `json:"epoch,omitempty"` Version string `json:"version,omitempty"` Release string `json:"release,omitempty"` Vendor string `json:"vendor,omitempty"` Group string `json:"group,omitempty"` Packager string `json:"packager,omitempty"` SourceRpm string `json:"source_rpm,omitempty"` BuildHost string `json:"build_host,omitempty"` BuildTime uint64 `json:"build_time,omitempty"` FileTime uint64 `json:"file_time,omitempty"` InstalledSize uint64 `json:"installed_size,omitempty"` ArchiveSize uint64 `json:"archive_size,omitempty"` Provides []*Entry `json:"provide,omitempty"` Requires []*Entry `json:"require,omitempty"` Conflicts []*Entry `json:"conflict,omitempty"` Obsoletes []*Entry `json:"obsolete,omitempty"` Files []*File `json:"files,omitempty"` Changelogs []*Changelog `json:"changelogs,omitempty"` }
type Package ¶
type Package struct { Name string Version string VersionMetadata *VersionMetadata FileMetadata *FileMetadata }
Click to show internal directories.
Click to hide internal directories.