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__ @param name: Container name (must be unique). @type name: C{str}
Method iterate_objects Undocumented
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)
@param name: Container name (must be unique).
@type name: C{str}

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

@param driver: StorageDriver instance.
@type driver: L{StorageDriver}
def iterate_objects(self): (source)
Undocumented
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, **kwargs): (source)
Undocumented
def upload_object_via_stream(self, iterator, object_name, extra=None, **kwargs): (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 2013-09-04 21:31:29.