Class e.c.e.e.EggRepository(Loggable):

Part of elisa.core.epm.egg_repository View In Hierarchy

Known subclasses: elisa.core.epm.egg_repository.EggFileRepository, elisa.core.epm.egg_repository.EggXmlrpcRepository

Elisa egg repository.
Line # Kind Name Docs
75 Method __init__ Undocumented
81 Method __repr__ Undocumented
116 Method get_id Undocumented
127 Method get_plugins Retrive the list of its own plugins.
136 Method get_download_url_for_plugin Get the download url.
148 Method download Actually download the plugin data.
158 Method upload Upload a plugin to the repository.
85 Method _restore_state Undocumented
108 Method _save_state Undocumented
def __init__(self, source=None):
Undocumented
def __repr__(self):
Undocumented
def _restore_state(self):
Undocumented
def _save_state(self):
Undocumented
def get_id(self):
Undocumented
def get_plugins(self):
Retrive the list of its own plugins.
Returnsthe list of plugins (type: a twisted.internet.defer.Deferred with the list of epm.egg_plugin.EggPlugins as result )
def get_download_url_for_plugin(self, api_key, plugin_id):
Get the download url.
Parametersapi_keythe user's key (type: string )
plugin_idthe plugin name (type: string )
Returnsthe download url (type: a twisted.internet.defer.Deferred with a string as result )
def download(self, plugin):
Actually download the plugin data.
Parameterspluginthe plugin (type: epm.egg_plugin.EggPlugin )
Returnsthe plugin data (type: a twisted.internet.defer.Deferred with a string as result )
def upload(self, api_key, plugin, update_state=''):
Upload a plugin to the repository.
Parametersapi_keythe user key (type: string )
pluginthe plugin (type: epm.egg_plugin.EggPlugin )
update_statethe update state for the plugin (eg.: important, recommended) (type: string )
Returnsthe plugin data (type: string )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.