|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
_validate_schedule(self,
sync_schedule)
Verifies the sync schedule is in the correct cron syntax, throwing an
exception if it is not. |
source code
|
|
|
_get_existing_repo(self,
id)
Protected helper function to look up a repository by id and raise a
PulpException if it is not found. |
source code
|
|
|
create(self,
id,
name,
arch,
feed=None,
symlinks=False,
sync_schedule=None,
cert_data=None,
productid=None)
Create a new Repository object and return it |
source code
|
|
|
_write_certs_to_disk(self,
repoid,
cert_data) |
source code
|
|
|
|
|
|
|
|
|
|
|
repositories(self,
spec=None,
fields=None)
Return a list of Repositories |
source code
|
|
|
repository(self,
id,
fields=None)
Return a single Repository object |
source code
|
|
|
packages(self,
id,
name=None)
Return list of Package objects in this Repo |
source code
|
|
|
get_package(self,
id,
name)
Return matching Package object in this Repo |
source code
|
|
|
|
|
_add_package(self,
repo,
p)
Responsible for properly associating a Package to a Repo |
source code
|
|
|
|
|
errata(self,
id,
types=())
Look up all applicable errata for a given repo id |
source code
|
|
|
|
|
add_errata(self,
repoid,
errataids=())
Adds a list of errata to this repo |
source code
|
|
|
_add_erratum(self,
repo,
erratumid)
Responsible for properly associating an Erratum to a Repo |
source code
|
|
|
|
|
delete_errata(self,
repoid,
errataids)
delete list of errata from this repo |
source code
|
|
|
_delete_erratum(self,
repo,
erratumid)
Responsible for properly removing an Erratum from a Repo |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
packagegroupcategories(self,
id)
Return list of PackageGroupCategory objects in this Repo |
source code
|
|
|
packagegroupcategory(self,
repoid,
categoryid)
Return a PackageGroupCategory object from this Repo |
source code
|
|
|
|
|
sync(self,
id,
progress_callback=None)
Sync a repo from the URL contained in the feed |
source code
|
|
|
upload(self,
id,
pkginfo,
pkgstream)
Store the uploaded package and associate to this repo |
source code
|
|
dict
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
|
|
|
insert(self,
object,
check_keys=False)
Insert the object document to the database |
source code
|
|