Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.LibcloudError.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.LibcloudError.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.LibcloudError.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.LibcloudError.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,97 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.common.types.LibcloudError : 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.c.t.LibcloudError(<span title="Exception">Exception</span>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.common.html">common</a>.<a href="libcloud.common.types.html">types</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L25">View Source</a> + <a href="classIndex.html#libcloud.common.types.LibcloudError">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.common.types.InvalidCredsError.html">libcloud.common.types.InvalidCredsError</a>, <a href="libcloud.common.types.MalformedResponseError.html">libcloud.common.types.MalformedResponseError</a>, <a href="libcloud.compute.drivers.ec2.IdempotentParamError.html">libcloud.compute.drivers.ec2.IdempotentParamError</a>, <a href="libcloud.compute.drivers.opsource.OpsourceAPIException.html">libcloud.compute.drivers.opsource.OpsourceAPIException</a>, <a href="libcloud.compute.drivers.softlayer.SoftLayerException.html">libcloud.compute.drivers.softlayer.SoftLayerException</a>, <a href="libcloud.compute.types.DeploymentError.html">libcloud.compute.types.DeploymentError</a>, <a href="libcloud.loadbalancer.types.LibcloudLBError.html">libcloud.loadbalancer.types.LibcloudLBError</a>, <a href="libcloud.storage.types.ContainerError.html">libcloud.storage.types.ContainerError</a>, <a href="libcloud.storage.types.ObjectError.html">libcloud.storage.types .ObjectError</a></p> + </div> + <div>The base class for other libcloud exceptions<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id308"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.common.types.LibcloudError.html#__init__">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.common.types.LibcloudError.html#__str__">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.common.types.LibcloudError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, value, driver=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L28" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overridden in <a href="libcloud.common.types.InvalidCredsError.html">libcloud.common.types.InvalidCredsError</a>, <a href="libcloud.common.types.MalformedResponseError.html">libcloud.common.types.MalformedResponseError</a>, <a href="libcloud.compute.drivers.opsource.OpsourceAPIException.html">libcloud.compute.drivers.opsource.OpsourceAPIException</a>, <a href="libcloud.compute.types.DeploymentError.html">libcloud.compute.types.DeploymentError</a>, <a href="libcloud.storage.types.ContainerError.html">libcloud.storage.types.ContainerError</a>, <a href="libcloud.storage.types.ObjectError.html">libcloud.storage.types.ObjectError</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.common.types.LibcloudError.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L32" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overridden in <a href="libcloud.common.types.InvalidCredsError.html">libcloud.common.types.InvalidCredsError</a>, <a href="libcloud.common.types.MalformedResponseError.html">libcloud.common.types.MalformedResponseError</a>, <a href="libcloud.compute.drivers.ec2.IdempotentParamError.html">libcloud.compute.drivers.ec2.IdempotentParamError</a>, <a href="libcloud.compute.drivers.opsource.OpsourceAPIException.html">libcloud.compute.drivers.opsource.OpsourceAPIException</a>, <a href="libcloud.compute.types.DeploymentError.html">libcloud.compute.types.DeploymentError</a>, <a href="libcloud.storage.types.ContainerError.html">libcloud.storage.types.ContainerError</a>, <a href="libcloud.storage.types.ObjectError.html">libcloud.storage.types.ObjectError</a></div> + <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:45:14. + </address> + </body> +</html> \ No newline at end of file
Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.MalformedResponseError.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.MalformedResponseError.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.MalformedResponseError.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.MalformedResponseError.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,99 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.common.types.MalformedResponseError : 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.c.t.MalformedResponseError(<a href="libcloud.common.types.LibcloudError.html">LibcloudError</a>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.common.html">common</a>.<a href="libcloud.common.types.html">types</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L39">View Source</a> + <a href="classIndex.html#libcloud.common.types.MalformedResponseError">View In Hierarchy</a> + </p> + <div> + + </div> + <div>Exception for the cases when a provider returns a malformed response, +e.g. you request JSON and provider returns '<h3>something</h3>' +due to some error on their side.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id309"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.common.types.MalformedResponseError.html#__init__">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.common.types.MalformedResponseError.html#__str__">__str__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.common.types.MalformedResponseError.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, value, body=None, driver=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L44" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.common.types.LibcloudError.html#__init__">libcloud.common.types.LibcloudError.__init__</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.common.types.MalformedResponseError.__str__"> + + </a> + <a name="__str__"> + + </a> + <div class="functionHeader"> + + def + __str__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L49" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.common.types.LibcloudError.html#__str__">libcloud.common.types.LibcloudError.__str__</a></div> + <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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.common.types.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,71 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.common.types : 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.c.types : module documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.common.html">common</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py">View Source</a> + + </p> + <div> + + </div> + <div class="undocumented">No module docstring</div> + + + + <div id="splitTables"> + <table class="children sortable" id="id307"> + + +<tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.LibcloudError.html">LibcloudError</a></td> + <td><span>The base class for other libcloud exceptions</span></td> + </tr><tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.MalformedResponseError.html">MalformedResponseError</a></td> + <td><span>Exception for the cases when a provider returns a malformed response, +e.g. you request JSON and provider returns '<h3>something</h3>' +due to some error on their side.</span></td> + </tr><tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.InvalidCredsError.html">InvalidCredsError</a></td> + <td><span>Exception used when invalid credentials are used on a provider.</span></td> + </tr><tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.LazyList.html">LazyList</a></td> + <td><span class="undocumented">Undocumented</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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.__init__.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.__init__.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.__init__.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.__init__.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,40 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.compute.__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.c.__init__ : module documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/__init__.py">View Source</a> + + </p> + <div> + + </div> + <div>Module for working with Cloud Servers<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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionKey.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionKey.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionKey.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionKey.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,300 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.compute.base.ConnectionKey : 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.c.b.ConnectionKey(<span title="object">object</span>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L225">View Source</a> + <a href="classIndex.html#libcloud.compute.base.ConnectionKey">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.compute.base.ConnectionUserAndKey.html">libcloud.compute.base.ConnectionUserAndKey</a></p> + </div> + <div>A Base Connection class to derive from.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id101"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#__init__">__init__</a></td> + <td><span>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#connect">connect</a></td> + <td><span>Establish a connection with the API server.</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#user_agent_append">user_agent_append</a></td> + <td><span>Append a token to a user agent string.</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#request">request</a></td> + <td><span>Request a given `action`.</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#add_default_params">add_default_params</a></td> + <td><span>Adds default parameters (such as API key, version, etc.) to the passed +`params`</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#add_default_headers">add_default_headers</a></td> + <td><span>Adds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#pre_connect_hook">pre_connect_hook</a></td> + <td><span>A hook which is called before connecting to the remote server. This hook +can perform a final manipulation on the params, headers and url +parameters.</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#encode_data">encode_data</a></td> + <td><span>Encode body data.</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#_user_agent">_user_agent</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.common.base.ConnectionKey.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, key, secure=True, host=None, force_port=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L241" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overridden in <a href="libcloud.compute.base.ConnectionUserAndKey.html">libcloud.compute.base.ConnectionUserAndKey</a></div> + <div>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey.connect"> + + </a> + <a name="connect"> + + </a> + <div class="functionHeader"> + + def + connect(self, host=None, port=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L255" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Establish a connection with the API server.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">host</td><td>Optional host to override our default (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">port</td><td>Optional port to override our default (type: <code>int</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">A connection</td></tr></table></div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey._user_agent"> + + </a> + <a name="_user_agent"> + + </a> + <div class="functionHeader"> + + def + _user_agent(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L286" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey.user_agent_append"> + + </a> + <a name="user_agent_append"> + + </a> + <div class="functionHeader"> + + def + user_agent_append(self, token): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L292" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Append a token to a user agent string.</p> +<p>Users of the library should call this to uniquely identify thier +requests to a provider.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">token</td><td>Token to add to the user agent. (type: <code>str</code>)</td></tr></table></div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey.request"> + + </a> + <a name="request"> + + </a> + <div class="functionHeader"> + + def + request(self, action, params=None, data='', headers=None, method='GET', raw=False, host=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L304" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Request a given `action`.</p> +<p>Basically a wrapper around the connection object's `request` that does +some helpful pre-processing.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">action</td><td>A path (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">params</td><td>Optional mapping of additional parameters to send. If None, leave as an +empty <code>dict</code>. (type: <code>dict</code>)</td></tr><tr><td></td><td class="fieldArg">data</td><td>A body of data to send with the request. (type: <code>unicode</code>)</td></tr><tr><td></td><td class="fieldArg">headers</td><td>Extra headers to add to the request None, leave as an empty +<code>dict</code>. (type: <code>dict</code>)</td></tr><tr><td></td><td class="fieldArg">method</td><td>An HTTP method such as "GET" or "POST". (type: <code>str</code>)</td></tr><tr><td></td><td class="fieldArg">raw</td><td>True to perform a "raw" request aka only send the headers and use +the rawResponseCls class. This is used with storage API when uploading a +file. (type: <code>bool</code>)</td></tr><tr><td></td><td class="fieldArg">host</td><td>To which host to send the request. If not specified, self.host is used. (type: <code>str</code>)</td></tr><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2">An instance of type <i>responseCls</i></td></tr></table></div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey.add_default_params"> + + </a> + <a name="add_default_params"> + + </a> + <div class="functionHeader"> + + def + add_default_params(self, params): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L402" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Adds default parameters (such as API key, version, etc.) to the passed +`params`</p> +<p>Should return a dictionary.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey.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/common/base.py#L411" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Adds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`</p> +<p>Should return a dictionary.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey.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/common/base.py#L420" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>A hook which is called before connecting to the remote server. This hook +can perform a final manipulation on the params, headers and url +parameters.<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">params</td><td>Request parameters. (type: <code>dict</code>)</td></tr><tr><td></td><td class="fieldArg">headers</td><td>Request headers. (type: <code>dict</code>)</td></tr></table></div> + </div> +</div><div class="function"> + <a name="libcloud.common.base.ConnectionKey.encode_data"> + + </a> + <a name="encode_data"> + + </a> + <div class="functionHeader"> + + def + encode_data(self, data): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L434" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Encode body data.</p> +<p>Override in a provider's subclass.<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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionUserAndKey.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionUserAndKey.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionUserAndKey.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.ConnectionUserAndKey.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,135 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.compute.base.ConnectionUserAndKey : 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.c.b.ConnectionUserAndKey(<a href="libcloud.compute.base.ConnectionKey.html">ConnectionKey</a>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L442">View Source</a> + <a href="classIndex.html#libcloud.compute.base.ConnectionUserAndKey">View In Hierarchy</a> + </p> + <div> + + </div> + <div>Base connection which accepts a user_id and key<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id102"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionUserAndKey.html#__init__">__init__</a></td> + <td><span>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.</span></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.compute.base.ConnectionKey.html">ConnectionKey</a>: + </p> + <table class="children sortable" id="id103"> + + +<tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#connect">connect</a></td> + <td><span>Establish a connection with the API server.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#user_agent_append">user_agent_append</a></td> + <td><span>Append a token to a user agent string.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#request">request</a></td> + <td><span>Request a given `action`.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#add_default_params">add_default_params</a></td> + <td><span>Adds default parameters (such as API key, version, etc.) to the passed +`params`</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#add_default_headers">add_default_headers</a></td> + <td><span>Adds default headers (such as Authorization, X-Foo-Bar) to the passed +`headers`</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#pre_connect_hook">pre_connect_hook</a></td> + <td><span>A hook which is called before connecting to the remote server. This hook +can perform a final manipulation on the params, headers and url +parameters.</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#encode_data">encode_data</a></td> + <td><span>Encode body data.</span></td> + </tr><tr class="basemethod private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#_user_agent">_user_agent</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.common.base.ConnectionUserAndKey.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, user_id, key, secure=True, host=None, port=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L449" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.compute.base.ConnectionKey.html#__init__">libcloud.common.base.ConnectionKey.__init__</a></div> + <div>Initialize `user_id` and `key`; set `secure` to an <code>int</code> +based on passed value.<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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.LibcloudHTTPSConnection.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.LibcloudHTTPSConnection.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.LibcloudHTTPSConnection.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.LibcloudHTTPSConnection.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,240 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.compute.base.LibcloudHTTPSConnection : 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.c.b.LibcloudHTTPSConnection(<span title="httplib.HTTPSConnection">httplib.HTTPSConnection</span>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L28">View Source</a> + <a href="classIndex.html#libcloud.compute.base.LibcloudHTTPSConnection">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.base.LoggingHTTPSConnection.html">libcloud.base.LoggingHTTPSConnection</a></p> + </div> + <div>LibcloudHTTPSConnection</p> +<p>Subclass of HTTPSConnection which verifies certificate names if and only +if CA certificates are available.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id104"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#__init__">__init__</a></td> + <td><span>Constructor</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#connect">connect</a></td> + <td><span>Connect</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_setup_verify">_setup_verify</a></td> + <td><span>Setup Verify SSL or not</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_setup_ca_cert">_setup_ca_cert</a></td> + <td><span>Setup CA Certs</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_verify_hostname">_verify_hostname</a></td> + <td><span>Verify hostname against peer cert</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_get_subject_alt_names">_get_subject_alt_names</a></td> + <td><span>Get SubjectAltNames</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_get_common_name">_get_common_name</a></td> + <td><span>Get Common Name</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, *args, **kwargs): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L37" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Constructor<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._setup_verify"> + + </a> + <a name="_setup_verify"> + + </a> + <div class="functionHeader"> + + def + _setup_verify(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L43" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Setup Verify SSL or not</p> +<p>Reads security module's VERIFY_SSL_CERT and toggles whether the class +overrides the connect() class method or runs the inherited +httplib.HTTPSConnection connect()<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._setup_ca_cert"> + + </a> + <a name="_setup_ca_cert"> + + </a> + <div class="functionHeader"> + + def + _setup_ca_cert(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L57" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Setup CA Certs</p> +<p>Search in CA_CERTS_PATH for valid candidates and return first match. +Otherwise, complain about certs not being available.<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection.connect"> + + </a> + <a name="connect"> + + </a> + <div class="functionHeader"> + + def + connect(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L79" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Connect</p> +<p>Checks if verification is toggled; if not, just call +httplib.HTTPSConnection's connect<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._verify_hostname"> + + </a> + <a name="_verify_hostname"> + + </a> + <div class="functionHeader"> + + def + _verify_hostname(self, hostname, cert): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L106" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Verify hostname against peer cert</p> +<p>Check both commonName and entries in subjectAltName, using a rudimentary +glob to dns regex check to find matches<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._get_subject_alt_names"> + + </a> + <a name="_get_subject_alt_names"> + + </a> + <div class="functionHeader"> + + def + _get_subject_alt_names(self, cert): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L134" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Get SubjectAltNames</p> +<p>Retrieve 'subjectAltName' attributes from cert data structure<table class="fieldTable"></table></div> + </div> +</div><div class="function"> + <a name="libcloud.httplib_ssl.LibcloudHTTPSConnection._get_common_name"> + + </a> + <a name="_get_common_name"> + + </a> + <div class="functionHeader"> + + def + _get_common_name(self, cert): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/httplib_ssl.py#L147" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Get Common Name</p> +<p>Retrieve 'commonName' attribute from cert data structure<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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.Node.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.Node.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.Node.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.Node.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,249 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.compute.base.Node : 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.c.b.Node(<span title="object">object</span>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L64">View Source</a> + <a href="classIndex.html#libcloud.compute.base.Node">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.compute.drivers.gogrid.GoGridNode.html">libcloud.compute.drivers.gogrid.GoGridNode</a></p> + </div> + <div><p>Provide a common interface for handling nodes of all types.</p> +<p>The Node object provides the interface in libcloud through which we can +manipulate nodes in different cloud providers in the same way. Node +objects don't actually do much directly themselves, instead the node driver +handles the connection to the node.</p> +<p>You don't normally create a node object yourself; instead you use a +driver and then have that create the node for you.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.drivers.dummy <span class="py-keyword">import</span> DummyNodeDriver +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(0) +<span class="py-prompt">>>> </span>node = driver.create_node() +<span class="py-prompt">>>> </span>node.public_ip[0] +<span class="py-output">'127.0.0.3'</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.name +<span class="py-output">'dummy-3'</span></pre> +<p>You can also get nodes from the driver's list_node function.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>node = driver.list_nodes()[0] +<span class="py-prompt">>>> </span>node.name +<span class="py-output">'dummy-1'</span></pre> +<p>the node keeps a reference to its own driver which means that we can +work on nodes from different providers without having to know which is +which.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(72) +<span class="py-prompt">>>> </span>node2 = driver.create_node() +<span class="py-prompt">>>> </span>node.driver.creds +<span class="py-output">0</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node2.driver.creds +<span class="py-output">72</span></pre> +<p>Althrough Node objects can be subclassed, this isn't normally done. +Instead, any driver specific information is stored in the "extra" +proproperty of the node.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>node.extra +<span class="py-output">{'foo': 'bar'}</span></pre><table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id105"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#__init__">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#get_uuid">get_uuid</a></td> + <td><span>Unique hash for this node</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#reboot">reboot</a></td> + <td><span>Reboot this node</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#destroy">destroy</a></td> + <td><span>Destroy this node</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#__repr__">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.compute.base.Node.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, id, name, state, public_ip, private_ip, driver, extra=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L110" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node.get_uuid"> + + </a> + <a name="get_uuid"> + + </a> + <div class="functionHeader"> + + def + get_uuid(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L121" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overridden in <a href="libcloud.compute.drivers.gogrid.GoGridNode.html">libcloud.compute.drivers.gogrid.GoGridNode</a></div> + <div>Unique hash for this node<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>string</code> +<p>The hash is a function of an SHA1 hash of the node's ID and its driver +which means that it should be unique between all nodes. In some subclasses +(e.g. GoGrid) there is no ID available so the public IP address is used. +This means that, unlike a properly done system UUID, the same UUID may mean +a different system install at a different time</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.drivers.dummy <span class="py-keyword">import</span> DummyNodeDriver +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(0) +<span class="py-prompt">>>> </span>node = driver.create_node() +<span class="py-prompt">>>> </span>node.get_uuid() +<span class="py-output">'d3748461511d8b9b0e0bfa0d4d3383a619a2bb9f'</span></pre> +<p>Note, for example, that this example will always produce the same +UUID!</p></td></tr></table></div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node.reboot"> + + </a> + <a name="reboot"> + + </a> + <div class="functionHeader"> + + def + reboot(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L144" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Reboot this node<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>bool</code> +<p>This calls the node's driver and reboots the node</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.drivers.dummy <span class="py-keyword">import</span> DummyNodeDriver +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(0) +<span class="py-prompt">>>> </span>node = driver.create_node() +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.types <span class="py-keyword">import</span> NodeState +<span class="py-prompt">>>> </span>node.state == NodeState.RUNNING +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.state == NodeState.REBOOTING +<span class="py-output">False</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.reboot() +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.state == NodeState.REBOOTING +<span class="py-output">True</span></pre></td></tr></table></div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node.destroy"> + + </a> + <a name="destroy"> + + </a> + <div class="functionHeader"> + + def + destroy(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L166" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div>Destroy this node<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Returns</td><td colspan="2"><code>bool</code> +<p>This calls the node's driver and destroys the node</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.drivers.dummy <span class="py-keyword">import</span> DummyNodeDriver +<span class="py-prompt">>>> </span>driver = DummyNodeDriver(0) +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.types <span class="py-keyword">import</span> NodeState +<span class="py-prompt">>>> </span>node = driver.create_node() +<span class="py-prompt">>>> </span>node.state == NodeState.RUNNING +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.destroy() +<span class="py-output">True</span> +<span class="py-output"></span><span class="py-prompt">>>> </span>node.state == NodeState.RUNNING +<span class="py-output">False</span></pre></td></tr></table></div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L187" 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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthPassword.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthPassword.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthPassword.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthPassword.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,97 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.compute.base.NodeAuthPassword : 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.c.b.NodeAuthPassword(<span title="object">object</span>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L311">View Source</a> + <a href="classIndex.html#libcloud.compute.base.NodeAuthPassword">View In Hierarchy</a> + </p> + <div> + + </div> + <div>A password to be used for authentication to a node.<table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id110"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.NodeAuthPassword.html#__init__">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.NodeAuthPassword.html#__repr__">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.compute.base.NodeAuthPassword.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, password): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L315" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.NodeAuthPassword.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L318" 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:45:14. + </address> + </body> +</html> \ No newline at end of file Added: libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthSSHKey.html URL: http://svn.apache.org/viewvc/libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthSSHKey.html?rev=1361872&view=auto ============================================================================== --- libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthSSHKey.html (added) +++ libcloud/site/trunk/content/apidocs/0.5.2/libcloud.compute.base.NodeAuthSSHKey.html Mon Jul 16 01:45:40 2012 @@ -0,0 +1,105 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>libcloud.compute.base.NodeAuthSSHKey : 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.c.b.NodeAuthSSHKey(<span title="object">object</span>) : class documentation</h1> + <p> + <span id="part">Part of <a href="libcloud.html">libcloud</a>.<a href="libcloud.compute.html">compute</a>.<a href="libcloud.compute.base.html">base</a></span> + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L290">View Source</a> + <a href="classIndex.html#libcloud.compute.base.NodeAuthSSHKey">View In Hierarchy</a> + </p> + <div> + + </div> + <div><p>An SSH key to be installed for authentication to a node.</p> +<p>This is the actual contents of the users ssh public key which will +normally be installed as root's public key on the node.</p> +<pre class="py-doctest"> +<span class="py-prompt">>>> </span>pubkey = <span class="py-string">'...'</span> <span class="py-comment"># read from file</span> +<span class="py-prompt">>>> </span><span class="py-keyword">from</span> libcloud.compute.base <span class="py-keyword">import</span> NodeAuthSSHKey +<span class="py-prompt">>>> </span>k = NodeAuthSSHKey(pubkey) +<span class="py-prompt">>>> </span>k +<span class="py-output"><NodeAuthSSHKey></span></pre><table class="fieldTable"></table></div> + + + + <div id="splitTables"> + <table class="children sortable" id="id109"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.NodeAuthSSHKey.html#__init__">__init__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.NodeAuthSSHKey.html#__repr__">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + + </div> + + + + + <div class="function"> + <a name="libcloud.compute.base.NodeAuthSSHKey.__init__"> + + </a> + <a name="__init__"> + + </a> + <div class="functionHeader"> + + def + __init__(self, pubkey): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L304" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.NodeAuthSSHKey.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L307" 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:45:14. + </address> + </body> +</html> \ No newline at end of file
