Package yum :: Module plugins :: Class MainPluginConduit
[hide private]
[frames] | no frames]

Class MainPluginConduit

source code


Instance Methods [hide private]
 
getPackages(self, repo=None) source code
 
getPackageByNevra(self, nevra)
Retrieve a package object from the packages loaded by Yum using nevra information
source code
 
delPackage(self, po) source code
 
getTsInfo(self) source code

Inherited from PostRepoSetupPluginConduit: getGroups

Inherited from PreRepoSetupPluginConduit: getCmdLine, getRpmDB

Inherited from InitPluginConduit: getConf, getRepos

Inherited from PluginConduit: __init__, confBool, confFloat, confInt, confString, error, getOptParser, getYumVersion, info, promptYN, registerPackageName

Method Details [hide private]

getPackageByNevra(self, nevra)

source code 

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 PackageObject instance (or subclass)