l.s.d.n.NimbusStorageDriver(StorageDriver) : class documentation

Part of libcloud.storage.drivers.nimbus View Source View In Hierarchy

Undocumented
Method __init__
Method list_containers Return a list of containers.
Method create_container Create a new container.
Method _to_containers Undocumented
Method _to_container Undocumented
Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.

Inherited from StorageDriver:

Method list_container_objects Return a list of objects for the given container.
Method get_container Return a container instance.
Method get_container_cdn_url Return a container CDN URL.
Method get_object Return an object instance.
Method get_object_cdn_url Return a container CDN URL.
Method enable_container_cdn Undocumented
Method enable_object_cdn Undocumented
Method download_object Download an object to the specified destination path.
Method download_object_as_stream Return a generator which yields object data.
Method upload_object Upload an object currently located on a disk.
Method upload_object_via_stream Upload an object using an iterator.
Method delete_object Delete an object.
Method delete_container Delete a container.
Method _get_object Call passed callback and start transfer of the object'
Method _save_object Save object to the provided path.
Method _upload_object Helper function for setting common request headers and calling the passed in callback which uploads an object.
Method _upload_data Upload data stored in a string.
Method _stream_data Stream a data over an http connection.
Method _upload_file Upload a file to the server.
Method _get_hash_function Return instantiated hash function for the hash type supported by the provider.
def __init__(self, *args, **kwargs): (source)
ParameterskeyAPI key or username to used (type: str)
secretSecret password to be used (type: str)
secureWeither to use HTTPS or HTTP. Note: Some providers only support HTTPS, and it is on by default. (type: bool)
hostOverride hostname used for connections. (type: str)
portOverride port used for connections. (type: int)
api_versionOptional API version. Only used by drivers which support multiple API versions. (type: str)
Unknown Field: requireskey, secret
def list_containers(self): (source)
Return a list of containers.
ReturnsA list of Container instances.
def create_container(self, container_name): (source)
Create a new container.
Parameterscontainer_nameContainer name. (type: str)
ReturnsContainer instance on success.
def _to_containers(self, data): (source)
Undocumented
def _to_container(self, data): (source)
Undocumented
def _ex_connection_class_kwargs(self): (source)
Return extra connection keyword arguments which are passed to the Connection class constructor.
API Documentation for libcloud, generated by pydoctor at 2012-07-28 18:57:18.