MainPluginConduit¶
- class yum.plugins.MainPluginConduit(parent, base, conf)¶
Bases: yum.plugins.PostRepoSetupPluginConduit
Main conduit class for plugins. Many other conduit classes will inherit from this class.
- delPackage(po)¶
Delete the given package from the package sack.
Parameters: po – the package object to delete
- getPackageByNevra(nevra)¶
Retrieve a package object from the packages loaded by Yum using nevra information.
Parameters: nevra – a tuple holding (name, epoch, version, release, arch) for a package Returns: a yum.packages.PackageObject instance (or subclass)
- getPackages(repo=None)¶
Return a list of packages.
Parameters: repo – the repo to return a packages from Returns: a list of package objects
- getTsInfo()¶
Return transaction set.
Returns: the transaction set