l.s.d.c.CloudFilesUSStorageDriver(CloudFilesStorageDriver) : class documentation

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

Cloudfiles storage driver for the US endpoint.

Inherited from CloudFilesStorageDriver:

Method __init__ @param key: API key or username to be used (required) @type key: C{str}
Method list_containers Return a list of containers.
Method list_container_objects Return a list of objects for the given container.
Method get_container Return a container instance.
Method get_object Return an object instance.
Method get_container_cdn_url Return a container CDN URL.
Method get_object_cdn_url Return a object CDN URL.
Method enable_container_cdn @inherits: L{StorageDriver.enable_container_cdn}
Method create_container Create a new container.
Method delete_container Delete a container.
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.
Method upload_object_via_stream Upload an object using an iterator.
Method delete_object Delete an object.
Method ex_purge_object_from_cdn Purge edge cache for the specified object.
Method ex_get_meta_data Get meta data
Method ex_multipart_upload_object Undocumented
Method ex_enable_static_website Enable serving a static website.
Method ex_set_error_page Set a custom error page which is displayed if file is not found and serving of a static website is enabled.
Method ex_set_account_metadata_temp_url_key Set the metadata header X-Account-Meta-Temp-URL-Key on your Cloud Files account.
Method ex_get_object_temp_url No summary
Method _upload_object_part Undocumented
Method _upload_object_manifest Undocumented
Method _get_more Undocumented
Method _put_object Undocumented
Method _encode_container_name Encode container name so it can be used as part of the HTTP request.
Method _encode_object_name Undocumented
Method _to_container_list Undocumented
Method _to_object_list Undocumented
Method _headers_to_container Undocumented
Method _headers_to_object Undocumented
Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.

Inherited from StorageDriver (via CloudFilesStorageDriver):

Method iterate_containers Return a generator of containers for the given account
Method iterate_container_objects Return a generator of objects for the given container.
Method enable_object_cdn Enable object CDN.
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.

Inherited from OpenStackDriverMixin (via CloudFilesStorageDriver):

Method openstack_connection_kwargs @rtype: C{dict}
Method _get_argument_pairs Undocumented
API Documentation for libcloud, generated by pydoctor at 2013-07-01 17:02:02.