Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APNEConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APNEConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APNEConnection.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,68 @@ + + + + libcloud.storage.drivers.s3.S3APNEConnection : API documentation + + + + + + +

l.s.d.s.S3APNEConnection(S3Connection) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3Connection: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodadd_default_paramsUndocumented
Methodpre_connect_hookUndocumented
Method_get_aws_auth_paramSignature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APNEStorageDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APNEStorageDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APNEStorageDriver.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,268 @@ + + + + libcloud.storage.drivers.s3.S3APNEStorageDriver : API documentation + + + + + + +

l.s.d.s.S3APNEStorageDriver(S3StorageDriver) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3StorageDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_containersUndocumented
Methodlist_container_objectsReturn a list of objects for the given container.
Methodget_containerReturn a container instance.
Methodget_objectReturn an object instance.
Methodcreate_containerCreate a new container.
Methoddelete_containerDelete a container.
Methoddownload_objectDownload an object to the specified destination path.
Methoddownload_object_as_streamReturn a generator which yields object data.
Methodupload_objectUpload an object currently located on a disk.
Methodupload_object_via_streamUpload an object using an iterator.
Methoddelete_objectDelete an object.
Method_clean_object_nameUndocumented
Method_get_moreUndocumented
Method_put_objectUndocumented
Method_to_containersUndocumented
Method_to_objsUndocumented
Method_to_containerUndocumented
Method_headers_to_objectUndocumented
Method_to_objUndocumented
+ +

+ Inherited from StorageDriver (via S3StorageDriver): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodlist_containtersReturn a list of containers.
Methodget_container_cdn_urlReturn a container CDN URL.
Methodget_object_cdn_urlReturn a container CDN URL.
Methodenable_container_cdnUndocumented
Methodenable_object_cdnUndocumented
Method_get_objectCall passed callback and start transfer of the object'
Method_save_objectSave object to the provided path.
Method_upload_objectHelper function for setting common request headers and calling the passed in callback which uploads an object.
Method_upload_dataUpload data stored in a string.
Method_stream_dataStream a data over an http connection.
Method_upload_fileUpload a file to the server.
Method_get_hash_functionReturn instantiated hash function for the hash type supported by the provider.
+ +

+ Inherited from BaseDriver (via S3StorageDriver, StorageDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the Connection class constructor.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APSEConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APSEConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APSEConnection.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,68 @@ + + + + libcloud.storage.drivers.s3.S3APSEConnection : API documentation + + + + + + +

l.s.d.s.S3APSEConnection(S3Connection) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3Connection: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodadd_default_paramsUndocumented
Methodpre_connect_hookUndocumented
Method_get_aws_auth_paramSignature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APSEStorageDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APSEStorageDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3APSEStorageDriver.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,268 @@ + + + + libcloud.storage.drivers.s3.S3APSEStorageDriver : API documentation + + + + + + +

l.s.d.s.S3APSEStorageDriver(S3StorageDriver) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3StorageDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_containersUndocumented
Methodlist_container_objectsReturn a list of objects for the given container.
Methodget_containerReturn a container instance.
Methodget_objectReturn an object instance.
Methodcreate_containerCreate a new container.
Methoddelete_containerDelete a container.
Methoddownload_objectDownload an object to the specified destination path.
Methoddownload_object_as_streamReturn a generator which yields object data.
Methodupload_objectUpload an object currently located on a disk.
Methodupload_object_via_streamUpload an object using an iterator.
Methoddelete_objectDelete an object.
Method_clean_object_nameUndocumented
Method_get_moreUndocumented
Method_put_objectUndocumented
Method_to_containersUndocumented
Method_to_objsUndocumented
Method_to_containerUndocumented
Method_headers_to_objectUndocumented
Method_to_objUndocumented
+ +

+ Inherited from StorageDriver (via S3StorageDriver): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodlist_containtersReturn a list of containers.
Methodget_container_cdn_urlReturn a container CDN URL.
Methodget_object_cdn_urlReturn a container CDN URL.
Methodenable_container_cdnUndocumented
Methodenable_object_cdnUndocumented
Method_get_objectCall passed callback and start transfer of the object'
Method_save_objectSave object to the provided path.
Method_upload_objectHelper function for setting common request headers and calling the passed in callback which uploads an object.
Method_upload_dataUpload data stored in a string.
Method_stream_dataStream a data over an http connection.
Method_upload_fileUpload a file to the server.
Method_get_hash_functionReturn instantiated hash function for the hash type supported by the provider.
+ +

+ Inherited from BaseDriver (via S3StorageDriver, StorageDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the Connection class constructor.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3Connection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3Connection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3Connection.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,135 @@ + + + + libcloud.storage.drivers.s3.S3Connection : API documentation + + + + + + +

l.s.d.s.S3Connection(ConnectionUserAndKey) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.storage.drivers.s3.S3APNEConnection, libcloud.storage.drivers.s3.S3APSEConnection, libcloud.storage.drivers.s3.S3EUWestConnection, libcloud.storage.drivers.s3.S3USWestConnection, libcloud.storage.drivers.s3.S3USWestOregonConnection

+
+
Repersents a single connection to the EC2 Endpoint
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
Methodadd_default_paramsUndocumented
Methodpre_connect_hookUndocumented
Method_get_aws_auth_paramSignature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
+ + +
+ + + + +
+ + + + + + +
+ + def + add_default_params(self, params): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + pre_connect_hook(self, params, headers): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_aws_auth_param(self, method, headers, params, expires, secret_key, path='/'): + + + (source) + +
+
+ +
        Signature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
+
+        StringToSign = HTTP-VERB + "
+" +
+            Content-MD5 + "
+" +
+            Content-Type + "
+" +
+            Expires + "
+" +
+            CanonicalizedAmzHeaders +
+            CanonicalizedResource;
+        
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3EUWestConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3EUWestConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3EUWestConnection.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,68 @@ + + + + libcloud.storage.drivers.s3.S3EUWestConnection : API documentation + + + + + + +

l.s.d.s.S3EUWestConnection(S3Connection) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3Connection: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodadd_default_paramsUndocumented
Methodpre_connect_hookUndocumented
Method_get_aws_auth_paramSignature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3EUWestStorageDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3EUWestStorageDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3EUWestStorageDriver.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,268 @@ + + + + libcloud.storage.drivers.s3.S3EUWestStorageDriver : API documentation + + + + + + +

l.s.d.s.S3EUWestStorageDriver(S3StorageDriver) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3StorageDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_containersUndocumented
Methodlist_container_objectsReturn a list of objects for the given container.
Methodget_containerReturn a container instance.
Methodget_objectReturn an object instance.
Methodcreate_containerCreate a new container.
Methoddelete_containerDelete a container.
Methoddownload_objectDownload an object to the specified destination path.
Methoddownload_object_as_streamReturn a generator which yields object data.
Methodupload_objectUpload an object currently located on a disk.
Methodupload_object_via_streamUpload an object using an iterator.
Methoddelete_objectDelete an object.
Method_clean_object_nameUndocumented
Method_get_moreUndocumented
Method_put_objectUndocumented
Method_to_containersUndocumented
Method_to_objsUndocumented
Method_to_containerUndocumented
Method_headers_to_objectUndocumented
Method_to_objUndocumented
+ +

+ Inherited from StorageDriver (via S3StorageDriver): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodlist_containtersReturn a list of containers.
Methodget_container_cdn_urlReturn a container CDN URL.
Methodget_object_cdn_urlReturn a container CDN URL.
Methodenable_container_cdnUndocumented
Methodenable_object_cdnUndocumented
Method_get_objectCall passed callback and start transfer of the object'
Method_save_objectSave object to the provided path.
Method_upload_objectHelper function for setting common request headers and calling the passed in callback which uploads an object.
Method_upload_dataUpload data stored in a string.
Method_stream_dataStream a data over an http connection.
Method_upload_fileUpload a file to the server.
Method_get_hash_functionReturn instantiated hash function for the hash type supported by the provider.
+ +

+ Inherited from BaseDriver (via S3StorageDriver, StorageDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the Connection class constructor.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3RawResponse.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3RawResponse.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3RawResponse.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,174 @@ + + + + libcloud.storage.drivers.s3.S3RawResponse : API documentation + + + + + + +

l.s.d.s.S3RawResponse(S3Response, RawResponse) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3Response: +

+ + + + + + + + + + + + + + + + + +
MethodsuccessDetermine if our request was successful.
Methodparse_errorParse the error messages.
+ +

+ Inherited from XmlResponse (via S3Response, AWSBaseResponse): +

+ + + + + + + + + + + +
Methodparse_bodyParse response body.
+ +

+ Inherited from Response (via S3Response, AWSBaseResponse, XmlResponse): +

+ + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method_decompress_responseDecompress a response body if it is using deflate or gzip encoding.
+ +

+ Inherited from RawResponse: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__Undocumented
MethodresponseUndocumented
MethodstatusUndocumented
MethodheadersUndocumented
MethodreasonUndocumented
+ +

+ Inherited from Response (via RawResponse): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodparse_bodyParse response body.
Methodparse_errorParse the error messages.
MethodsuccessDetermine if our request was successful.
Method_decompress_responseDecompress a response body if it is using deflate or gzip encoding.
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3Response.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3Response.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3Response.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,144 @@ + + + + libcloud.storage.drivers.s3.S3Response : API documentation + + + + + + +

l.s.d.s.S3Response(AWSBaseResponse) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.storage.drivers.s3.S3RawResponse

+
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + +
MethodsuccessDetermine if our request was successful.
Methodparse_errorParse the error messages.
+ +

+ Inherited from XmlResponse (via AWSBaseResponse): +

+ + + + + + + + + + + +
Methodparse_bodyParse response body.
+ +

+ Inherited from Response (via AWSBaseResponse, XmlResponse): +

+ + + + + + + + + + + + + + + + + +
Method__init__Undocumented
Method_decompress_responseDecompress a response body if it is using deflate or gzip encoding.
+ + +
+ + + + +
+ + + + + + +
+ + def + success(self): + + + (source) + +
+
+ +
Determine if our request was successful.
+
+The meaning of this can be arbitrary; did we receive OK status? Did
+the node get created? Were we authenticated?
+
+@return: C{True} or C{False}
+
+
+ + + + + + +
+ + def + parse_error(self): + + + (source) + +
+
+ +
Parse the error messages.
+
+Override in a provider's subclass.
+
+@return: Parsed error.
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3StorageDriver.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3StorageDriver.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3StorageDriver.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,742 @@ + + + + libcloud.storage.drivers.s3.S3StorageDriver : API documentation + + + + + + +

l.s.d.s.S3StorageDriver(StorageDriver) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+

Known subclasses: libcloud.storage.drivers.google_storage.GoogleStorageDriver, libcloud.storage.drivers.s3.S3APNEStorageDriver, libcloud.storage.drivers.s3.S3APSEStorageDriver, libcloud.storage.drivers.s3.S3EUWestStorageDriver, libcloud.storage.drivers.s3.S3USWestOregonStorageDriver, libcloud.storage.drivers.s3.S3USWestStorageDriver

+
+
Undocumented
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methodlist_containersUndocumented
Methodlist_container_objectsReturn a list of objects for the given container.
Methodget_containerReturn a container instance.
Methodget_objectReturn an object instance.
Methodcreate_containerCreate a new container.
Methoddelete_containerDelete a container.
Methoddownload_objectDownload an object to the specified destination path.
Methoddownload_object_as_streamReturn a generator which yields object data.
Methodupload_objectUpload an object currently located on a disk.
Methodupload_object_via_streamUpload an object using an iterator.
Methoddelete_objectDelete an object.
Method_clean_object_nameUndocumented
Method_get_moreUndocumented
Method_put_objectUndocumented
Method_to_containersUndocumented
Method_to_objsUndocumented
Method_to_containerUndocumented
Method_headers_to_objectUndocumented
Method_to_objUndocumented
+ +

+ Inherited from StorageDriver: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method__init__@keyword key: API key or username to used @type key: str
Methodlist_containtersReturn a list of containers.
Methodget_container_cdn_urlReturn a container CDN URL.
Methodget_object_cdn_urlReturn a container CDN URL.
Methodenable_container_cdnUndocumented
Methodenable_object_cdnUndocumented
Method_get_objectCall passed callback and start transfer of the object'
Method_save_objectSave object to the provided path.
Method_upload_objectHelper function for setting common request headers and calling the passed in callback which uploads an object.
Method_upload_dataUpload data stored in a string.
Method_stream_dataStream a data over an http connection.
Method_upload_fileUpload a file to the server.
Method_get_hash_functionReturn instantiated hash function for the hash type supported by the provider.
+ +

+ Inherited from BaseDriver (via StorageDriver): +

+ + + + + + + + + + + +
Method_ex_connection_class_kwargsReturn extra connection keyword arguments which are passed to the Connection class constructor.
+ + +
+ + + + +
+ + + + + + +
+ + def + list_containers(self): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + list_container_objects(self, container): + + + (source) + +
+
+ +
Return a list of objects for the given container.
+
+@type container: C{Container}
+@param container: Container instance
+
+@return: A list of Object instances.
+
+
+ + + + + + +
+ + def + get_container(self, container_name): + + + (source) + +
+
+ +
Return a container instance.
+
+@type container_name: C{str}
+@param container_name: Container name.
+
+@return: C{Container} instance.
+
+
+ + + + + + +
+ + def + get_object(self, container_name, object_name): + + + (source) + +
+
+ +
Return an object instance.
+
+@type container_name: C{str}
+@param container_name: Container name.
+
+@type object_name: C{str}
+@param object_name: Object name.
+
+@return: C{Object} instance.
+
+
+ + + + + + +
+ + def + create_container(self, container_name): + + + (source) + +
+
+ +
Create a new container.
+
+@type container_name: C{str}
+@param container_name: Container name.
+
+@return: C{Container} instance on success.
+
+
+ + + + + + +
+ + def + delete_container(self, container): + + + (source) + +
+
+ +
Delete a container.
+
+@type container: C{Container}
+@param container: Container instance
+
+@rtype: C{bool}
+@return: True on success, False otherwise.
+
+
+ + + + + + +
+ + def + download_object(self, obj, destination_path, overwrite_existing=False, delete_on_failure=True): + + + (source) + +
+
+ +
Download an object to the specified destination path.
+
+@type obj: C{Object}
+@param obj: Object instance.
+
+@type destination_path: C{str}
+@param destination_path: Full path to a file or a directory where the
+                        incoming file will be saved.
+
+@type overwrite_existing: C{bool}
+@param overwrite_existing: True to overwrite an existing file, defaults to False.
+
+@type delete_on_failure: C{bool}
+@param delete_on_failure: True to delete a partially downloaded file if
+the download was not successful (hash mismatch / file size).
+
+@rtype: C{bool}
+@return: True if an object has been successfully downloaded, False
+otherwise.
+
+
+ + + + + + +
+ + def + download_object_as_stream(self, obj, chunk_size=None): + + + (source) + +
+
+ +
Return a generator which yields object data.
+
+@type obj: C{Object}
+@param obj: Object instance
+
+@type chunk_size: C{int}
+@param chunk_size: Optional chunk size (in bytes).
+
+
+ + + + + + +
+ + def + upload_object(self, file_path, container, object_name, extra=None, verify_hash=True, ex_storage_class=None): + + + (source) + +
+
+ +
Upload an object currently located on a disk.
+
+@type file_path: C{str}
+@param file_path: Path to the object on disk.
+
+@type container: C{Container}
+@param container: Destination container.
+
+@type object_name: C{str}
+@param object_name: Object name.
+
+@type extra: C{dict}
+@param extra: (optional) Extra attributes (driver specific).
+
+
+ + + + + + +
+ + def + upload_object_via_stream(self, iterator, container, object_name, extra=None, ex_storage_class=None): + + + (source) + +
+
+ +
Upload an object using an iterator.
+
+If a provider supports it, chunked transfer encoding is used and you
+don't need to know in advance the amount of data to be uploaded.
+
+Otherwise if a provider doesn't support it, iterator will be exhausted
+so a total size for data to be uploaded can be determined.
+
+Note: Exhausting the iterator means that the whole data must be buffered
+in memory which might result in memory exhausting when uploading a very
+large object.
+
+If a file is located on a disk you are advised to use upload_object
+function which uses fs.stat function to determine the file size and it
+doesn't need to buffer whole object in the memory.
+
+@type iterator: C{object}
+@param iterator: An object which implements the iterator interface.
+
+@type container: C{Container}
+@param container: Destination container.
+
+@type object_name: C{str}
+@param object_name: Object name.
+
+@type extra: C{dict}
+@param extra: (optional) Extra attributes (driver specific).
+
+Note: This dictionary must contain a 'content_type' key which represents
+a content type of the stored object.
+
+
+ + + + + + +
+ + def + delete_object(self, obj): + + + (source) + +
+
+ +
Delete an object.
+
+@type obj: C{Object}
+@param obj: Object instance.
+
+@return: C{bool} True on success.
+
+
+ + + + + + +
+ + def + _clean_object_name(self, name): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _get_more(self, last_key, value_dict): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _put_object(self, container, object_name, upload_func, upload_func_kwargs, extra=None, file_path=None, iterator=None, verify_hash=True, storage_class=None): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_containers(self, obj, xpath): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_objs(self, obj, xpath, container): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_container(self, element): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _headers_to_object(self, object_name, container, headers): + + + (source) + +
+
+ +
Undocumented
+
+
+ + + + + + +
+ + def + _to_obj(self, element, container): + + + (source) + +
+
+ +
Undocumented
+
+
+
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3USWestConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3USWestConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3USWestConnection.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,68 @@ + + + + libcloud.storage.drivers.s3.S3USWestConnection : API documentation + + + + + + +

l.s.d.s.S3USWestConnection(S3Connection) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3Connection: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodadd_default_paramsUndocumented
Methodpre_connect_hookUndocumented
Method_get_aws_auth_paramSignature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3USWestOregonConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3USWestOregonConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.storage.drivers.s3.S3USWestOregonConnection.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,68 @@ + + + + libcloud.storage.drivers.s3.S3USWestOregonConnection : API documentation + + + + + + +

l.s.d.s.S3USWestOregonConnection(S3Connection) : class documentation

+

+ Part of libcloud.storage.drivers.s3 + View Source + View In Hierarchy +

+
+ +
+
Undocumented
+ + + +
+ + +

+ Inherited from S3Connection: +

+ + + + + + + + + + + + + + + + + + + + + + + +
Methodadd_default_paramsUndocumented
Methodpre_connect_hookUndocumented
Method_get_aws_auth_paramSignature = URL-Encode( Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
+ + +
+ + + + + +
+ API Documentation for libcloud, generated by pydoctor at 2012-04-01 11:04:25. +
+ + \ No newline at end of file