Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.LibcloudError.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.LibcloudError.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.LibcloudError.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,123 @@ +<!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.dns.drivers.zerigo.ZerigoError.html">libcloud.dns.drivers.zerigo.ZerigoError</a>, <a href="libcloud.dns.types.RecordError.html">libcloud.dns.types.RecordError</a>, <a href="libcloud.dns.types.ZoneError.html">libcloud.dns.types.ZoneError</a>, <a href="libclou d.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> + <pre>The base class for other libcloud exceptions</pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id650"> + + +<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><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.common.types.LibcloudError.html#__repr__">__repr__</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.dns.drivers.zerigo.ZerigoError.html">libcloud.dns.drivers.zerigo.ZerigoError</a>, <a href="libcloud.dns.types.RecordError.html">libcloud.dns.types.RecordError</a>, <a href="libcloud.dns.types.ZoneError.html">libcloud.dns.types.ZoneError</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.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.dns.drivers.zerigo.ZerigoError.html">libcloud.dns.drivers.zerigo.ZerigoError</a>, <a href="libcloud.dns.types.RecordError.html">libcloud.dns.types.RecordError</a>, <a href="libcloud.dns.types.ZoneError.html">libcloud.dns.types.ZoneError</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.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L35" 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.dns.drivers.zerigo.ZerigoError.html">libcloud.dns.drivers.zerigo.ZerigoError</a>, <a href="libcloud.dns.types.RecordError.html">libcloud.dns.types.RecordError</a>, <a href="libcloud.dns.types.ZoneError.html">libcloud.dns.types.ZoneError</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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file
Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.MalformedResponseError.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.MalformedResponseError.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.MalformedResponseError.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,115 @@ +<!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#L42">View Source</a> + <a href="classIndex.html#libcloud.common.types.MalformedResponseError">View In Hierarchy</a> + </p> + <div> + + </div> + <pre>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.</pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id651"> + + +<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#__repr__">__repr__</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.common.types.LibcloudError.html">LibcloudError</a>: + </p> + <table class="children sortable" id="id652"> + + +<tr class="basemethod"> + + + <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.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#L47" 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.__repr__"> + + </a> + <a name="__repr__"> + + </a> + <div class="functionHeader"> + + def + __repr__(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/types.py#L52" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.common.types.LibcloudError.html#__repr__">libcloud.common.types.LibcloudError.__repr__</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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.common.types.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,69 @@ +<!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="id649"> + + +<tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.LibcloudError.html">LibcloudError</a></td> + <td><tt>The base class for other libcloud exceptions</tt></td> + </tr><tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.MalformedResponseError.html">MalformedResponseError</a></td> + <td><tt>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.</tt></td> + </tr><tr class="class"> + + + <td>Class</td> + <td><a href="libcloud.common.types.InvalidCredsError.html">InvalidCredsError</a></td> + <td><tt>Exception used when invalid credentials are used on a provider.</tt></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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.__init__.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.__init__.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.__init__.html Sun Apr 1 18:07:58 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> + <pre>Module for working with Cloud Servers</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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionKey.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionKey.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionKey.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,148 @@ +<!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(<a href="libcloud.common.base.Connection.html">Connection</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#L735">View Source</a> + <a href="classIndex.html#libcloud.compute.base.ConnectionKey">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.common.gandi.GandiConnection.html">libcloud.common.gandi.GandiConnection</a>, <a href="libcloud.common.linode.LinodeConnection.html">libcloud.common.linode.LinodeConnection</a>, <a href="libcloud.compute.base.ConnectionUserAndKey.html">libcloud.compute.base.ConnectionUserAndKey</a></p> + </div> + <pre>A Base Connection class to derive from, which includes a</pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id124"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionKey.html#__init__">__init__</a></td> + <td><tt>Initialize `user_id` and `key`; set `secure` to an C{int} based on passed value.</tt></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.common.base.Connection.html">Connection</a>: + </p> + <table class="children sortable" id="id125"> + + +<tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#set_context">set_context</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#connect">connect</a></td> + <td><tt>Establish a connection with the API server.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#user_agent_append">user_agent_append</a></td> + <td><tt>Append a token to a user agent string.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#request">request</a></td> + <td><tt>Request a given `action`.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#morph_action_hook">morph_action_hook</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#add_default_params">add_default_params</a></td> + <td><tt>Adds default parameters (such as API key, version, etc.) to the passed `params`</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#add_default_headers">add_default_headers</a></td> + <td><tt>Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#pre_connect_hook">pre_connect_hook</a></td> + <td><tt>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.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#encode_data">encode_data</a></td> + <td><tt>Encode body data.</tt></td> + </tr><tr class="basemethod private"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#_tuple_from_url">_tuple_from_url</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.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, port=None, url=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L739" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.common.base.Connection.html#__init__">libcloud.common.base.Connection.__init__</a></div><div class="interfaceinfo">overridden in <a href="libcloud.common.gandi.GandiConnection.html">libcloud.common.gandi.GandiConnection</a>, <a href="libcloud.compute.base.ConnectionUserAndKey.html">libcloud.compute.base.ConnectionUserAndKey</a></div> + <pre>Initialize `user_id` and `key`; set `secure` to an C{int} based on +passed value.</pre> + </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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionUserAndKey.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionUserAndKey.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.ConnectionUserAndKey.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,148 @@ +<!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#L749">View Source</a> + <a href="classIndex.html#libcloud.compute.base.ConnectionUserAndKey">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.common.cloudstack.CloudStackConnection.html">libcloud.common.cloudstack.CloudStackConnection</a>, <a href="libcloud.common.openstack.OpenStackAuthConnection.html">libcloud.common.openstack.OpenStackAuthConnection</a>, <a href="libcloud.common.openstack.OpenStackBaseConnection.html">libcloud.common.openstack.OpenStackBaseConnection</a>, <a href="libcloud.dns.drivers.zerigo.ZerigoDNSConnection.html">libcloud.dns.drivers.zerigo.ZerigoDNSConnection</a>, <a href="libcloud.storage.drivers.atmos.AtmosConnection.html">libcloud.storage.drivers.atmos.AtmosConnection</a></p> + </div> + <pre>Base connection which accepts a user_id and key.</pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id126"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.ConnectionUserAndKey.html#__init__">__init__</a></td> + <td><tt>Initialize `user_id` and `key`; set `secure` to an C{int} based on passed value.</tt></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.common.base.Connection.html">Connection</a> (via <a href="libcloud.compute.base.ConnectionKey.html">ConnectionKey</a>): + </p> + <table class="children sortable" id="id127"> + + +<tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#set_context">set_context</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#connect">connect</a></td> + <td><tt>Establish a connection with the API server.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#user_agent_append">user_agent_append</a></td> + <td><tt>Append a token to a user agent string.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#request">request</a></td> + <td><tt>Request a given `action`.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#morph_action_hook">morph_action_hook</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#add_default_params">add_default_params</a></td> + <td><tt>Adds default parameters (such as API key, version, etc.) to the passed `params`</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#add_default_headers">add_default_headers</a></td> + <td><tt>Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#pre_connect_hook">pre_connect_hook</a></td> + <td><tt>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.</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#encode_data">encode_data</a></td> + <td><tt>Encode body data.</tt></td> + </tr><tr class="basemethod private"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.html#_tuple_from_url">_tuple_from_url</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="basemethod private"> + + + <td>Method</td> + <td><a href="libcloud.common.base.Connection.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, url=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/base.py#L756" 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 class="interfaceinfo">overridden in <a href="libcloud.common.openstack.OpenStackAuthConnection.html">libcloud.common.openstack.OpenStackAuthConnection</a>, <a href="libcloud.common.openstack.OpenStackBaseConnection.html">libcloud.common.openstack.OpenStackBaseConnection</a></div> + <pre>Initialize `user_id` and `key`; set `secure` to an C{int} based on +passed value.</pre> + </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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.LibcloudHTTPSConnection.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.LibcloudHTTPSConnection.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.LibcloudHTTPSConnection.html Sun Apr 1 18:07:58 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.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="libcloud.utils.py3.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#L29">View Source</a> + <a href="classIndex.html#libcloud.compute.base.LibcloudHTTPSConnection">View In Hierarchy</a> + </p> + <div> + <p>Known subclasses: <a href="libcloud.common.base.LoggingHTTPSConnection.html">libcloud.common.base.LoggingHTTPSConnection</a></p> + </div> + <pre>LibcloudHTTPSConnection + +Subclass of HTTPSConnection which verifies certificate names +if and only if CA certificates are available.</pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id128"> + + +<tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#__init__">__init__</a></td> + <td><tt>Constructor</tt></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#connect">connect</a></td> + <td><tt>Connect</tt></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_setup_verify">_setup_verify</a></td> + <td><tt>Setup Verify SSL or not</tt></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><tt>Setup CA Certs</tt></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.LibcloudHTTPSConnection.html#_verify_hostname">_verify_hostname</a></td> + <td><tt>Verify hostname against peer cert</tt></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><tt>Get SubjectAltNames</tt></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><tt>Get Common Name</tt></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#L38" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Constructor + </pre> + </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#L44" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Setup Verify SSL or not + +Reads security module's VERIFY_SSL_CERT and toggles whether +the class overrides the connect() class method or runs the +inherited httplib.HTTPSConnection connect()</pre> + </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#L59" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Setup CA Certs + +Search in CA_CERTS_PATH for valid candidates and +return first match. Otherwise, complain about certs +not being available.</pre> + </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#L86" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Connect + +Checks if verification is toggled; if not, just call +httplib.HTTPSConnection's connect</pre> + </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#L113" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Verify hostname against peer cert + +Check both commonName and entries in subjectAltName, using a +rudimentary glob to dns regex check to find matches</pre> + </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#L139" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Get SubjectAltNames + +Retrieve 'subjectAltName' attributes from cert data structure</pre> + </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#L152" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Get Common Name + +Retrieve 'commonName' attribute from cert data structure</pre> + </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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.Node.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.Node.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.Node.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,347 @@ +<!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(<a href="libcloud.compute.base.UuidMixin.html">UuidMixin</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/compute/base.py#L109">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.cloudstack.CloudStackNode.html">libcloud.compute.drivers.cloudstack.CloudStackNode</a>, <a href="libcloud.compute.drivers.gogrid.GoGridNode.html">libcloud.compute.drivers.gogrid.GoGridNode</a></p> + </div> + <pre>Provide a common interface for handling nodes of all types. + +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. + +You don't normally create a node object yourself; instead you use +a driver and then have that create the node for you. + +>>> from libcloud.compute.drivers.dummy import DummyNodeDriver +>>> driver = DummyNodeDriver(0) +>>> node = driver.create_node() +>>> node.public_ips[0] +'127.0.0.3' +>>> node.name +'dummy-3' + +You can also get nodes from the driver's list_node function. + +>>> node = driver.list_nodes()[0] +>>> node.name +'dummy-1' + +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. + +>>> driver = DummyNodeDriver(72) +>>> node2 = driver.create_node() +>>> node.driver.creds +0 +>>> node2.driver.creds +72 + +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. + +>>> node.extra +{'foo': 'bar'}</pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id130"> + + +<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#reboot">reboot</a></td> + <td><tt>Reboot this node</tt></td> + </tr><tr class="method"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#destroy">destroy</a></td> + <td><tt>Destroy this node</tt></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><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_set_public_ips">_set_public_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_get_public_ips">_get_public_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_set_private_ips">_set_private_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr><tr class="method private"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.Node.html#_get_private_ips">_get_private_ips</a></td> + <td><span class="undocumented">Undocumented</span></td> + </tr> + +</table> + + <p> + Inherited from <a href="libcloud.compute.base.UuidMixin.html">UuidMixin</a>: + </p> + <table class="children sortable" id="id131"> + + +<tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.UuidMixin.html#get_uuid">get_uuid</a></td> + <td><tt>Unique hash for a node, node image, or node size</tt></td> + </tr><tr class="basemethod"> + + + <td>Method</td> + <td><a href="libcloud.compute.base.UuidMixin.html#uuid">uuid</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_ips, private_ips, driver, size=None, image=None, extra=None): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L155" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + <div class="interfaceinfo">overrides <a href="libcloud.compute.base.UuidMixin.html#__init__">libcloud.compute.base.UuidMixin.__init__</a></div> + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node._set_public_ips"> + + </a> + <a name="_set_public_ips"> + + </a> + <div class="functionHeader"> + + def + _set_public_ips(self, value): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L171" 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_public_ips"> + + </a> + <a name="_get_public_ips"> + + </a> + <div class="functionHeader"> + + def + _get_public_ips(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L174" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</div> + </div> +</div><div class="function"> + <a name="libcloud.compute.base.Node._set_private_ips"> + + </a> + <a name="_set_private_ips"> + + </a> + <div class="functionHeader"> + + def + _set_private_ips(self, value): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L177" 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_private_ips"> + + </a> + <a name="_get_private_ips"> + + </a> + <div class="functionHeader"> + + def + _get_private_ips(self): + <a href="https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py#L180" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <div class="undocumented">Undocumented</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#L186" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Reboot this node + +@return: C{bool} + +This calls the node's driver and reboots the node + +>>> from libcloud.compute.drivers.dummy import DummyNodeDriver +>>> driver = DummyNodeDriver(0) +>>> node = driver.create_node() +>>> from libcloud.compute.types import NodeState +>>> node.state == NodeState.RUNNING +True +>>> node.state == NodeState.REBOOTING +False +>>> node.reboot() +True +>>> node.state == NodeState.REBOOTING +True</pre> + </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#L208" class="functionSourceLink"> + + (source) + </a> + </div> + <div class="functionBody"> + + <pre>Destroy this node + +@return: C{bool} + +This calls the node's driver and destroys the node + +>>> from libcloud.compute.drivers.dummy import DummyNodeDriver +>>> driver = DummyNodeDriver(0) +>>> from libcloud.compute.types import NodeState +>>> node = driver.create_node() +>>> node.state == NodeState.RUNNING +True +>>> node.destroy() +True +>>> node.state == NodeState.RUNNING +False</pre> + </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#L229" 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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthPassword.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthPassword.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthPassword.html Sun Apr 1 18:07:58 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#L355">View Source</a> + <a href="classIndex.html#libcloud.compute.base.NodeAuthPassword">View In Hierarchy</a> + </p> + <div> + + </div> + <pre>A password to be used for authentication to a node.</pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id138"> + + +<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#L359" 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#L362" 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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file Added: websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthSSHKey.html ============================================================================== --- websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthSSHKey.html (added) +++ websites/staging/libcloud/trunk/content/apidocs/0.9.1/libcloud.compute.base.NodeAuthSSHKey.html Sun Apr 1 18:07:58 2012 @@ -0,0 +1,106 @@ +<!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#L334">View Source</a> + <a href="classIndex.html#libcloud.compute.base.NodeAuthSSHKey">View In Hierarchy</a> + </p> + <div> + + </div> + <pre>An SSH key to be installed for authentication to a node. + +This is the actual contents of the users ssh public key which will +normally be installed as root's public key on the node. + +>>> pubkey = '...' # read from file +>>> from libcloud.compute.base import NodeAuthSSHKey +>>> k = NodeAuthSSHKey(pubkey) +>>> k +<NodeAuthSSHKey></pre> + + + + <div id="splitTables"> + <table class="children sortable" id="id137"> + + +<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#L348" 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#L351" 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-04-01 11:04:25. + </address> + </body> +</html> \ No newline at end of file
