You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2012/07/16 03:48:36 UTC
svn commit: r1361880 [28/35] - /libcloud/site/trunk/content/apidocs/0.7.1/
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.pricing.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.pricing.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.pricing.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.pricing.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,228 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.pricing : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="module">l.pricing : module documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py">View Source</a>
+
+ </p>
+ <div>
+
+ </div>
+ <div class="undocumented">No module docstring</div>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id219">
+
+
+<tr class="function">
+
+
+ <td>Function</td>
+ <td><a href="libcloud.pricing.html#clear_pricing_data">clear_pricing_data</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="function">
+
+
+ <td>Function</td>
+ <td><a href="libcloud.pricing.html#get_pricing_file_path">get_pricing_file_path</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="function">
+
+
+ <td>Function</td>
+ <td><a href="libcloud.pricing.html#get_pricing">get_pricing</a></td>
+ <td><span>Return pricing for the provided driver.</span></td>
+ </tr><tr class="function">
+
+
+ <td>Function</td>
+ <td><a href="libcloud.pricing.html#set_pricing">set_pricing</a></td>
+ <td><span>Populate the driver pricing dictionary.</span></td>
+ </tr><tr class="function">
+
+
+ <td>Function</td>
+ <td><a href="libcloud.pricing.html#get_size_price">get_size_price</a></td>
+ <td><span>Return price for the provided size.</span></td>
+ </tr><tr class="function">
+
+
+ <td>Function</td>
+ <td><a href="libcloud.pricing.html#invalidate_pricing_cache">invalidate_pricing_cache</a></td>
+ <td><span>Invalidate the cache for all the drivers.</span></td>
+ </tr><tr class="function">
+
+
+ <td>Function</td>
+ <td><a href="libcloud.pricing.html#invalidate_module_pricing_cache">invalidate_module_pricing_cache</a></td>
+ <td><span>Invalidate the cache for the specified driver.</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.pricing.clear_pricing_data">
+
+ </a>
+ <a name="clear_pricing_data">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ clear_pricing_data():
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py#L34" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.pricing.get_pricing_file_path">
+
+ </a>
+ <a name="get_pricing_file_path">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_pricing_file_path(file_path=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py#L42" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.pricing.get_pricing">
+
+ </a>
+ <a name="get_pricing">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_pricing(driver_type, driver_name, pricing_file_path=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py#L48" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Return pricing for the provided driver.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">driver_type</td><td>Driver type ('compute' or 'storage') (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">driver_name</td><td>Driver name (type: <code>str</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">Dictionary with pricing where a key name is size ID and the value is a
+price. (type: <code>dict</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.pricing.set_pricing">
+
+ </a>
+ <a name="set_pricing">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ set_pricing(driver_type, driver_name, pricing):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py#L84" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Populate the driver pricing dictionary.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">driver_type</td><td>Driver type ('compute' or 'storage') (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">driver_name</td><td>Driver name (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">pricing</td><td>Dictionary where a key is a size ID and a value is a price. (type: <code>dict</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.pricing.get_size_price">
+
+ </a>
+ <a name="get_size_price">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_size_price(driver_type, driver_name, size_id):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py#L100" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Return price for the provided size.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">driver_type</td><td>Driver type ('compute' or 'storage') (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">driver_name</td><td>Driver name (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">size_id</td><td>Unique size ID (can be an integer or a string - depends on the driver) (type: <code>int/str</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">Size price. (type: <code>int</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.pricing.invalidate_pricing_cache">
+
+ </a>
+ <a name="invalidate_pricing_cache">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ invalidate_pricing_cache():
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py#L121" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Invalidate the cache for all the drivers.<table class="fieldTable"></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.pricing.invalidate_module_pricing_cache">
+
+ </a>
+ <a name="invalidate_module_pricing_cache">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ invalidate_module_pricing_cache(driver_type, driver_name):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/pricing.py#L128" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Invalidate the cache for the specified driver.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">driver_type</td><td>Driver type ('compute' or 'storage') (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">driver_name</td><td>Driver name (type: <code>str</code>)</td></tr></table></div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.security.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.security.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.security.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.security.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,47 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.security : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="module">l.security : module documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/security.py">View Source</a>
+
+ </p>
+ <div>
+
+ </div>
+ <pre>Security (SSL) Settings
+
+Usage:
+ import libcloud.security
+ libcloud.security.VERIFY_SSL_CERT = True
+
+ # optional
+ libcloud.security.CA_CERTS_PATH.append("/path/to/cacert.txt")</pre>
+
+
+
+ <div id="splitTables">
+
+
+
+ </div>
+
+
+
+
+
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.__init__.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.__init__.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.__init__.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.__init__.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,40 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.storage.__init__ : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="module">l.s.__init__ : module documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.storage.html">storage</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/__init__.py">View Source</a>
+
+ </p>
+ <div>
+
+ </div>
+ <div>Module for working with Storage<table class="fieldTable"></table></div>
+
+
+
+ <div id="splitTables">
+
+
+
+ </div>
+
+
+
+
+
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Container.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Container.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Container.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Container.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,357 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.storage.base.Container : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.s.b.Container(<span title="object">object</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.storage.html">storage</a>.<a href="libcloud.storage.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L98">View Source</a>
+ <a href="classIndex.html#libcloud.storage.base.Container">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <div>Represents a container (bucket) which can hold multiple objects.<table class="fieldTable"></table></div>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id85">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#__init__">__init__</a></td>
+ <td></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#list_objects">list_objects</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#get_cdn_url">get_cdn_url</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#enable_cdn">enable_cdn</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#get_object">get_object</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#upload_object">upload_object</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#upload_object_via_stream">upload_object_via_stream</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#download_object">download_object</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#download_object_as_stream">download_object_as_stream</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#delete_object">delete_object</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#delete">delete</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Container.html#__repr__">__repr__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.storage.base.Container.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, name, extra, driver):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L103" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">name</td><td>Container name (must be unique). (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">extra</td><td>Extra attributes. (type: <code>dict</code>)</td></tr><tr><td></td><td class="fieldArg">driver</td><td>StorageDriver instance. (type: <code>StorageDriver</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.list_objects">
+
+ </a>
+ <a name="list_objects">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ list_objects(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L119" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.get_cdn_url">
+
+ </a>
+ <a name="get_cdn_url">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_cdn_url(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L122" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.enable_cdn">
+
+ </a>
+ <a name="enable_cdn">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ enable_cdn(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L125" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.get_object">
+
+ </a>
+ <a name="get_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_object(self, object_name):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L128" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.upload_object">
+
+ </a>
+ <a name="upload_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ upload_object(self, file_path, object_name, extra=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L132" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.upload_object_via_stream">
+
+ </a>
+ <a name="upload_object_via_stream">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ upload_object_via_stream(self, iterator, object_name, extra=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L136" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.download_object">
+
+ </a>
+ <a name="download_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ download_object(self, obj, destination_path, overwrite_existing=False, delete_on_failure=True):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L140" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.download_object_as_stream">
+
+ </a>
+ <a name="download_object_as_stream">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ download_object_as_stream(self, obj, chunk_size=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L144" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.delete_object">
+
+ </a>
+ <a name="delete_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ delete_object(self, obj):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L147" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.delete">
+
+ </a>
+ <a name="delete">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ delete(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L150" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Container.__repr__">
+
+ </a>
+ <a name="__repr__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __repr__(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L153" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Object.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Object.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Object.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.Object.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,227 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.storage.base.Object : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.s.b.Object(<span title="object">object</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.storage.html">storage</a>.<a href="libcloud.storage.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L38">View Source</a>
+ <a href="classIndex.html#libcloud.storage.base.Object">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <div>Represents an object (BLOB).<table class="fieldTable"></table></div>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id84">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Object.html#__init__">__init__</a></td>
+ <td></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Object.html#get_cdn_url">get_cdn_url</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Object.html#enable_cdn">enable_cdn</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Object.html#download">download</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Object.html#as_stream">as_stream</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Object.html#delete">delete</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.Object.html#__repr__">__repr__</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.storage.base.Object.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, name, size, hash, extra, meta_data, container, driver):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L43" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">name</td><td>Object name (must be unique per container). (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">size</td><td>Object size in bytes. (type: <code>int</code>)</td></tr><tr><td></td><td class="fieldArg">container</td><td>Object container. (type: <code>Container</code>)</td></tr><tr><td></td><td class="fieldArg">extra</td><td>Extra attributes. (type: <code>dict</code>)</td></tr><tr><td></td><td class="fieldArg">meta_data</td><td>Optional object meta data. (type: <code>dict</code>)</td></tr><tr><td></td><td class="fieldArg">driver</td><td>StorageDriver instance. (type: <code>StorageDriver</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Object.get_cdn_url">
+
+ </a>
+ <a name="get_cdn_url">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_cdn_url(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L76" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Object.enable_cdn">
+
+ </a>
+ <a name="enable_cdn">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ enable_cdn(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L79" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Object.download">
+
+ </a>
+ <a name="download">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ download(self, destination_path, overwrite_existing=False, delete_on_failure=True):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L82" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Object.as_stream">
+
+ </a>
+ <a name="as_stream">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ as_stream(self, chunk_size=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L88" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Object.delete">
+
+ </a>
+ <a name="delete">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ delete(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L91" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.Object.__repr__">
+
+ </a>
+ <a name="__repr__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __repr__(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L94" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.StorageDriver.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.StorageDriver.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.StorageDriver.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.StorageDriver.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,684 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.storage.base.StorageDriver : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.s.b.StorageDriver(<a href="libcloud.common.base.BaseDriver.html">BaseDriver</a>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.storage.html">storage</a>.<a href="libcloud.storage.base.html">base</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L157">View Source</a>
+ <a href="classIndex.html#libcloud.storage.base.StorageDriver">View In Hierarchy</a>
+ </p>
+ <div>
+ <p>Known subclasses: <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></p>
+ </div>
+ <div>A base StorageDriver to derive from.<table class="fieldTable"></table></div>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id86">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#__init__">__init__</a></td>
+ <td></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#list_containters">list_containters</a></td>
+ <td><span>Return a list of containers.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#list_container_objects">list_container_objects</a></td>
+ <td><span>Return a list of objects for the given container.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#get_container">get_container</a></td>
+ <td><span>Return a container instance.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#get_container_cdn_url">get_container_cdn_url</a></td>
+ <td><span>Return a container CDN URL.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#get_object">get_object</a></td>
+ <td><span>Return an object instance.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#get_object_cdn_url">get_object_cdn_url</a></td>
+ <td><span>Return a container CDN URL.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#enable_container_cdn">enable_container_cdn</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#enable_object_cdn">enable_object_cdn</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#download_object">download_object</a></td>
+ <td><span>Download an object to the specified destination path.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#download_object_as_stream">download_object_as_stream</a></td>
+ <td><span>Return a generator which yields object data.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#upload_object">upload_object</a></td>
+ <td><span>Upload an object currently located on a disk.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#upload_object_via_stream">upload_object_via_stream</a></td>
+ <td><span>Upload an object using an iterator.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#delete_object">delete_object</a></td>
+ <td><span>Delete an object.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#create_container">create_container</a></td>
+ <td><span>Create a new container.</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#delete_container">delete_container</a></td>
+ <td><span>Delete a container.</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#_get_object">_get_object</a></td>
+ <td><span>Call passed callback and start transfer of the object'</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#_save_object">_save_object</a></td>
+ <td><span>Save object to the provided path.</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#_upload_object">_upload_object</a></td>
+ <td><span>Helper function for setting common request headers and calling the
+passed in callback which uploads an object.</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#_upload_data">_upload_data</a></td>
+ <td><span>Upload data stored in a string.</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#_stream_data">_stream_data</a></td>
+ <td><span>Stream a data over an http connection.</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#_upload_file">_upload_file</a></td>
+ <td><span>Upload a file to the server.</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html#_get_hash_function">_get_hash_function</a></td>
+ <td><span>Return instantiated hash function for the hash type supported by the
+provider.</span></td>
+ </tr>
+
+</table>
+
+ <p>
+ Inherited from <a href="libcloud.common.base.BaseDriver.html">BaseDriver</a>:
+ </p>
+ <table class="children sortable" id="id87">
+
+
+<tr class="basemethod private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.common.base.BaseDriver.html#_ex_connection_class_kwargs">_ex_connection_class_kwargs</a></td>
+ <td><span>Return extra connection keyword arguments which are passed to the
+Connection class constructor.</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.storage.base.StorageDriver.__init__">
+
+ </a>
+ <a name="__init__">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ __init__(self, key, secret=None, secure=True, host=None, port=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L167" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overrides <a href="libcloud.common.base.BaseDriver.html#__init__">libcloud.common.base.BaseDriver.__init__</a></div><div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a></div>
+ <div><table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">key</td><td>API key or username to used (type: str)</td></tr><tr><td></td><td class="fieldArg">secret</td><td>Secret password to be used (type: str)</td></tr><tr><td></td><td class="fieldArg">secure</td><td>Weither to use HTTPS or HTTP. Note: Some providers only support HTTPS, and
+it is on by default. (type: bool)</td></tr><tr><td></td><td class="fieldArg">host</td><td>Override hostname used for connections. (type: str)</td></tr><tr><td></td><td class="fieldArg">port</td><td>Override port used for connections. (type: int)</td></tr><tr><td></td><td class="fieldArg">api_version</td><td>Optional API version. Only used by drivers which support multiple API
+versions. (type: str)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.list_containters">
+
+ </a>
+ <a name="list_containters">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ list_containters(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L171" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Return a list of containers.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A list of Container instances.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.list_container_objects">
+
+ </a>
+ <a name="list_container_objects">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ list_container_objects(self, container):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L180" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Return a list of objects for the given container.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">container</td><td>Container instance (type: <code>Container</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A list of Object instances.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.get_container">
+
+ </a>
+ <a name="get_container">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_container(self, container_name):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L192" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Return a container instance.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">container_name</td><td>Container name. (type: <code>str</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>Container</code> instance.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.get_container_cdn_url">
+
+ </a>
+ <a name="get_container_cdn_url">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_container_cdn_url(self, container):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L204" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a></div>
+ <div>Return a container CDN URL.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">container</td><td>Container instance (type: <code>Container</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A CDN URL for this container.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.get_object">
+
+ </a>
+ <a name="get_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_object(self, container_name, object_name):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L216" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Return an object instance.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">container_name</td><td>Container name. (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">object_name</td><td>Object name. (type: <code>str</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>Object</code> instance.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.get_object_cdn_url">
+
+ </a>
+ <a name="get_object_cdn_url">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ get_object_cdn_url(self, obj):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L231" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a></div>
+ <div>Return a container CDN URL.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">obj</td><td>Object instance (type: <code>Object</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A CDN URL for this object.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.enable_container_cdn">
+
+ </a>
+ <a name="enable_container_cdn">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ enable_container_cdn(self, container):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L243" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a></div>
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.enable_object_cdn">
+
+ </a>
+ <a name="enable_object_cdn">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ enable_object_cdn(self, obj):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L247" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a></div>
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.download_object">
+
+ </a>
+ <a name="download_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ download_object(self, obj, destination_path, overwrite_existing=False, delete_on_failure=True):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L251" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Download an object to the specified destination path.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">obj</td><td>Object instance. (type: <code>Object</code>)</td></tr><tr><td></td><td class="fieldArg">destination_path</td><td>Full path to a file or a directory where the incoming file will be saved. (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">overwrite_existing</td><td>True to overwrite an existing file, defaults to False. (type: <code>bool</code>)</td></tr><tr><td></td><td class="fieldArg">delete_on_failure</td><td>True to delete a partially downloaded file if the download was not
+successful (hash mismatch / file size). (type: <code>bool</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">True if an object has been successfully downloaded, False otherwise. (type: <code>bool</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.download_object_as_stream">
+
+ </a>
+ <a name="download_object_as_stream">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ download_object_as_stream(self, obj, chunk_size=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L276" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Return a generator which yields object data.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">obj</td><td>Object instance (type: <code>Object</code>)</td></tr><tr><td></td><td class="fieldArg">chunk_size</td><td>Optional chunk size (in bytes). (type: <code>int</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.upload_object">
+
+ </a>
+ <a name="upload_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ upload_object(self, file_path, container, object_name, extra=None, verify_hash=True):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L289" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Upload an object currently located on a disk.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">file_path</td><td>Path to the object on disk. (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">container</td><td>Destination container. (type: <code>Container</code>)</td></tr><tr><td></td><td class="fieldArg">object_name</td><td>Object name. (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">extra</td><td>(optional) Extra attributes (driver specific). (type: <code>dict</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.upload_object_via_stream">
+
+ </a>
+ <a name="upload_object_via_stream">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ upload_object_via_stream(self, iterator, container, object_name, extra=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L309" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Upload an object using an iterator.</p>
+<p>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.</p>
+<p>Otherwise if a provider doesn't support it, iterator will be exhausted
+so a total size for data to be uploaded can be determined.</p>
+<p>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.</p>
+<p>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.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">iterator</td><td>An object which implements the iterator interface. (type: <code>object</code>)</td></tr><tr><td></td><td class="fieldArg">container</td><td>Destination container. (type: <code>Container</code>)</td></tr><tr><td></td><td class="fieldArg">object_name</td><td>Object name. (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">extra</td><td>(optional) Extra attributes (driver specific).
+<p>Note: This dictionary must contain a 'content_type' key which represents
+a content type of the stored object.</p> (type: <code>dict</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.delete_object">
+
+ </a>
+ <a name="delete_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ delete_object(self, obj):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L347" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Delete an object.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">obj</td><td>Object instance. (type: <code>Object</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>bool</code> True on success.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.create_container">
+
+ </a>
+ <a name="create_container">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ create_container(self, container_name):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L359" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Create a new container.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">container_name</td><td>Container name. (type: <code>str</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>Container</code> instance on success.</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver.delete_container">
+
+ </a>
+ <a name="delete_container">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ delete_container(self, container):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L371" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+ <div class="interfaceinfo">overridden in <a href="libcloud.storage.drivers.atmos.AtmosDriver.html">libcloud.storage.drivers.atmos.AtmosDriver</a>, <a href="libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver.html">libcloud.storage.drivers.cloudfiles.CloudFilesStorageDriver</a>, <a href="libcloud.storage.drivers.dummy.DummyStorageDriver.html">libcloud.storage.drivers.dummy.DummyStorageDriver</a>, <a href="libcloud.storage.drivers.s3.S3StorageDriver.html">libcloud.storage.drivers.s3.S3StorageDriver</a></div>
+ <div>Delete a container.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">container</td><td>Container instance (type: <code>Container</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">True on success, False otherwise. (type: <code>bool</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver._get_object">
+
+ </a>
+ <a name="_get_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _get_object(self, obj, callback, callback_kwargs, response, success_status_code=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L384" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Call passed callback and start transfer of the object'<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">obj</td><td>Object instance. (type: <code>Object</code>)</td></tr><tr><td></td><td class="fieldArg">callback</td><td>Function which is called with the passed callback_kwargs (type: <code>Function</code>)</td></tr><tr><td></td><td class="fieldArg">callback_kwargs</td><td>Keyword arguments which are passed to the callback. (type: <code>dict</code>)</td></tr><tr><td></td><td class="fieldArg">response</td><td>Response instance.</td></tr><tr><td></td><td class="fieldArg">success_status_code</td><td>Status code which represents a successful transfer (defaults to httplib.OK) (type: <code>int</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">True on success, False otherwise. (type: <code>bool</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Unknown Field: typed</t
d><td class="fieldArg">response</td><td><code>Response</code></td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver._save_object">
+
+ </a>
+ <a name="_save_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _save_object(self, response, obj, destination_path, overwrite_existing=False, delete_on_failure=True, chunk_size=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L420" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Save object to the provided path.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">response</td><td>RawResponse instance. (type: <code>RawResponse</code>)</td></tr><tr><td></td><td class="fieldArg">obj</td><td>Object instance. (type: <code>Object</code>)</td></tr><tr><td></td><td class="fieldArg">destination_path</td><td>Destination directory. (type: <code>Str</code>)</td></tr><tr><td></td><td class="fieldArg">delete_on_failure</td><td>True to delete partially downloaded object if the download fails. (type: <code>bool</code>)</td></tr><tr><td></td><td class="fieldArg">overwrite_existing</td><td>True to overwrite a local path if it already exists. (type: <code>bool</code>)</td></tr><tr><td></td><td class="fieldArg">chunk_size</td><td>Optional chunk size (defaults to
+<code>libcloud.storage.base.CHUNK_SIZE</code>, 8kb) (type: <code>int</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">True on success, False otherwise. (type: <code>bool</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver._upload_object">
+
+ </a>
+ <a name="_upload_object">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _upload_object(self, object_name, content_type, upload_func, upload_func_kwargs, request_path, request_method='PUT', headers=None, file_path=None, iterator=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L501" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Helper function for setting common request headers and calling the
+passed in callback which uploads an object.<table class="fieldTable"></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver._upload_data">
+
+ </a>
+ <a name="_upload_data">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _upload_data(self, response, data, calculate_hash=True):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L567" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Upload data stored in a string.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">response</td><td>RawResponse object. (type: <code>RawResponse</code>)</td></tr><tr><td></td><td class="fieldArg">data</td><td>Data to upload. (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">calculate_hash</td><td>True to calculate hash of the transfered data. (defauls to True). (type: <code>boolean</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">First item is a boolean indicator of success, second one is the uploaded
+data MD5 hash and the third one is the number of transferred bytes. (type: <code>tuple</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver._stream_data">
+
+ </a>
+ <a name="_stream_data">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _stream_data(self, response, iterator, chunked=False, calculate_hash=True, chunk_size=None):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L607" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Stream a data over an http connection.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">response</td><td>RawResponse object. (type: <code>RawResponse</code>)</td></tr><tr><td></td><td class="fieldArg">response</td><td>An object which implements an iterator interface or a File like object with
+read method. (type: <code>RawResponse</code>)</td></tr><tr><td></td><td class="fieldArg">chunked</td><td>True if the chunked transfer encoding should be used (defauls to False). (type: <code>boolean</code>)</td></tr><tr><td></td><td class="fieldArg">calculate_hash</td><td>True to calculate hash of the transfered data. (defauls to True). (type: <code>boolean</code>)</td></tr><tr><td></td><td class="fieldArg">chunk_size</td><td>Optional chunk size (defaults to CHUNK_SIZE) (type: <code>int</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">First item is a boolean indicator of success, second one is the uploaded
+data MD5 hash and the third one is the number of transferred bytes. (type: <code>tuple</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver._upload_file">
+
+ </a>
+ <a name="_upload_file">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _upload_file(self, response, file_path, chunked=False, calculate_hash=True):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L692" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Upload a file to the server.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">response</td><td>RawResponse object. (type: <code>RawResponse</code>)</td></tr><tr><td></td><td class="fieldArg">file_path</td><td>Path to a local file. (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">response</td><td>An object which implements an iterator interface (File object, etc.) (type: <code>RawResponse</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">First item is a boolean indicator of success, second one is the uploaded
+data MD5 hash and the third one is the number of transferred bytes. (type: <code>tuple</code>)</td></tr></table></div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.base.StorageDriver._get_hash_function">
+
+ </a>
+ <a name="_get_hash_function">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _get_hash_function(self):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py#L722" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div>Return instantiated hash function for the hash type supported by the
+provider.<table class="fieldTable"></table></div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.base.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,63 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.storage.base : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="module">l.s.base : module documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.storage.html">storage</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/base.py">View Source</a>
+
+ </p>
+ <div>
+
+ </div>
+ <div>Provides base classes for working with storage<table class="fieldTable"></table></div>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id83">
+
+
+<tr class="class">
+
+
+ <td>Class</td>
+ <td><a href="libcloud.storage.base.Object.html">Object</a></td>
+ <td><span>Represents an object (BLOB).</span></td>
+ </tr><tr class="class">
+
+
+ <td>Class</td>
+ <td><a href="libcloud.storage.base.Container.html">Container</a></td>
+ <td><span>Represents a container (bucket) which can hold multiple objects.</span></td>
+ </tr><tr class="class">
+
+
+ <td>Class</td>
+ <td><a href="libcloud.storage.base.StorageDriver.html">StorageDriver</a></td>
+ <td><span>A base StorageDriver to derive from.</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.__init__.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.__init__.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.__init__.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.__init__.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,40 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.storage.drivers.__init__ : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="module">l.s.d.__init__ : module documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.storage.html">storage</a>.<a href="libcloud.storage.drivers.html">drivers</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/drivers/__init__.py">View Source</a>
+
+ </p>
+ <div>
+
+ </div>
+ <div>Drivers for working with different providers<table class="fieldTable"></table></div>
+
+
+
+ <div id="splitTables">
+
+
+
+ </div>
+
+
+
+
+
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.atmos.AtmosConnection.html
URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.atmos.AtmosConnection.html?rev=1361880&view=auto
==============================================================================
--- libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.atmos.AtmosConnection.html (added)
+++ libcloud/site/trunk/content/apidocs/0.7.1/libcloud.storage.drivers.atmos.AtmosConnection.html Mon Jul 16 01:48:25 2012
@@ -0,0 +1,123 @@
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+<html>
+ <head>
+ <title>libcloud.storage.drivers.atmos.AtmosConnection : API documentation</title>
+ <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
+ <link href="apidocs.css" type="text/css" rel="stylesheet" />
+
+
+ </head>
+ <body>
+ <h1 class="class">l.s.d.a.AtmosConnection(<span title="libcloud.common.base.ConnectionUserAndKey">ConnectionUserAndKey</span>) : class documentation</h1>
+ <p>
+ <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.storage.html">storage</a>.<a href="libcloud.storage.drivers.html">drivers</a>.<a href="libcloud.storage.drivers.atmos.html">atmos</a></span>
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/drivers/atmos.py#L65">View Source</a>
+ <a href="classIndex.html#libcloud.storage.drivers.atmos.AtmosConnection">View In Hierarchy</a>
+ </p>
+ <div>
+
+ </div>
+ <div class="undocumented">Undocumented</div>
+
+
+
+ <div id="splitTables">
+ <table class="children sortable" id="id98">
+
+
+<tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.drivers.atmos.AtmosConnection.html#add_default_headers">add_default_headers</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.drivers.atmos.AtmosConnection.html#pre_connect_hook">pre_connect_hook</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr><tr class="method private">
+
+
+ <td>Method</td>
+ <td><a href="libcloud.storage.drivers.atmos.AtmosConnection.html#_calculate_signature">_calculate_signature</a></td>
+ <td><span class="undocumented">Undocumented</span></td>
+ </tr>
+
+</table>
+
+
+ </div>
+
+
+
+
+ <div class="function">
+ <a name="libcloud.storage.drivers.atmos.AtmosConnection.add_default_headers">
+
+ </a>
+ <a name="add_default_headers">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ add_default_headers(self, headers):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/drivers/atmos.py#L68" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.drivers.atmos.AtmosConnection.pre_connect_hook">
+
+ </a>
+ <a name="pre_connect_hook">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ pre_connect_hook(self, params, headers):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/drivers/atmos.py#L81" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div><div class="function">
+ <a name="libcloud.storage.drivers.atmos.AtmosConnection._calculate_signature">
+
+ </a>
+ <a name="_calculate_signature">
+
+ </a>
+ <div class="functionHeader">
+
+ def
+ _calculate_signature(self, params, headers):
+ <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/storage/drivers/atmos.py#L86" class="functionSourceLink">
+
+ (source)
+ </a>
+ </div>
+ <div class="functionBody">
+
+ <div class="undocumented">Undocumented</div>
+ </div>
+</div>
+ <address>
+ <a href="index.html">API Documentation</a> for <a href="http://libcloud.apache.org">libcloud</a>, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2012-07-15 18:47:55.
+ </address>
+ </body>
+</html>
\ No newline at end of file