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__
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)
ParametersnameContainer name (must be unique). (type: str)
extraExtra attributes. (type: dict)
driverStorageDriver instance. (type: StorageDriver)
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-07-28 18:57:18.