l.s.b.Container(object) : class documentation

Part of libcloud.storage.base View Source View In Hierarchy

Represents a container (bucket) which can hold multiple objects.
Method __init__ @type name: C{str} @param name: Container name (must be unique).
Method list_objects Undocumented
Method get_cdn_url Undocumented
Method enable_cdn Undocumented
Method get_object Undocumented
Method upload_object Undocumented
Method upload_object_via_stream Undocumented
Method download_object Undocumented
Method download_object_as_stream Undocumented
Method delete_object Undocumented
Method delete Undocumented
Method __repr__ Undocumented
def __init__(self, name, extra, driver): (source)
@type name: C{str}
@param name: Container name (must be unique).

@type extra: C{dict}
@param extra: Extra attributes.

@type driver: C{StorageDriver}
@param driver: StorageDriver instance.
def list_objects(self): (source)
Undocumented
def get_cdn_url(self): (source)
Undocumented
def enable_cdn(self, **kwargs): (source)
Undocumented
def get_object(self, object_name): (source)
Undocumented
def upload_object(self, file_path, object_name, extra=None): (source)
Undocumented
def upload_object_via_stream(self, iterator, object_name, extra=None): (source)
Undocumented
def download_object(self, obj, destination_path, overwrite_existing=False, delete_on_failure=True): (source)
Undocumented
def download_object_as_stream(self, obj, chunk_size=None): (source)
Undocumented
def delete_object(self, obj): (source)
Undocumented
def delete(self): (source)
Undocumented
def __repr__(self): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2012-11-19 11:53:43.