|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
?
|
_get_consumer_collection(self)
The circular dependency of requiring the consumer API causes issues,
so when looking up a consumer as a validation check we go directly to
the consumer collection. |
source code
|
|
list of pulp.server.db.model.ConsumerHistoryEvent instances
|
query(self,
consumer_id=None,
event_type=None,
limit=None,
sort='descending',
start_date=None,
end_date=None)
Queries the consumer history storage. |
source code
|
|
|
|
|
consumer_created(self,
consumer_id,
originator=ORIGINATOR_CONSUMER)
Creates a new event to represent a consumer being created. |
source code
|
|
|
consumer_deleted(self,
consumer_id,
originator=ORIGINATOR_CONSUMER)
Creates a new event to represent a consumer being deleted. |
source code
|
|
|
repo_bound(self,
consumer_id,
repo_id,
originator=ORIGINATOR_CONSUMER)
Creates a new event to represent a consumer binding to a repo. |
source code
|
|
|
repo_unbound(self,
consumer_id,
repo_id,
originator=ORIGINATOR_CONSUMER)
Creates a new event to represent removing a binding from a repo. |
source code
|
|
|
packages_installed(self,
consumer_id,
package_nveras,
originator=ORIGINATOR_CONSUMER)
Creates a new event to represent packages that were installed on a
consumer. |
source code
|
|
|
packages_removed(self,
consumer_id,
package_nveras,
originator=ORIGINATOR_CONSUMER)
Creates a new event to represent packages that were removed from a
consumer. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
|
|
|
|
|
|
|
delete(self,
**kwargs)
Delete a single stored Object |
source code
|
|
|
insert(self,
object,
check_keys=False)
Insert the object document to the database |
source code
|
|
|
update(self,
object)
Write the object document to the database |
source code
|
|