Documentation ¶
Index ¶
- Constants
- func GetPackageInfo(file string) (string, string, error)
- func GetUniqueLatestUpdates(updates unversioned.UpdatePackages, cmp VersionComparer, ignoreErrors bool) (unversioned.UpdatePackages, error)
- type PackageInfoReader
- type PackageManager
- type UpdateMap
- type UpdatePackageInfo
- type VersionComparer
Constants ¶
View Source
const ( DPKGStatusNone dpkgStatusType = iota DPKGStatusFile DPKGStatusDirectory DPKGStatusMixed DPKGStatusInvalid // must always be the last listed Debian = "debian" )
View Source
const ( RPMDBNone rpmDBType = iota RPMDBBerkley RPMDBNative RPMDBSqlLite RPMDBManifests RPMDBMixed RPMDBInvalid // must be the last in the list RPMDBSize = RPMDBInvalid )
Variables ¶
This section is empty.
Functions ¶
func GetUniqueLatestUpdates ¶
func GetUniqueLatestUpdates(updates unversioned.UpdatePackages, cmp VersionComparer, ignoreErrors bool) (unversioned.UpdatePackages, error)
Types ¶
type PackageInfoReader ¶
type PackageManager ¶
type PackageManager interface { InstallUpdates(context.Context, *unversioned.UpdateManifest, bool) (*llb.State, []string, error) GetPackageType() string }
func GetPackageManager ¶
type UpdateMap ¶
type UpdateMap map[string]*UpdatePackageInfo
func GetValidatedUpdatesMap ¶
func GetValidatedUpdatesMap(updates unversioned.UpdatePackages, cmp VersionComparer, reader PackageInfoReader, stagingPath string) (UpdateMap, error)
type UpdatePackageInfo ¶
Click to show internal directories.
Click to hide internal directories.