l.i.IConnectionKey(IConnection) : interface documentation

Part of libcloud.interface View Source View In Hierarchy

Known subclasses: libcloud.interface.IConnectionUserAndKey

Known implementations: libcloud.base.ConnectionKey

IConnection which only depends on an API key for authentication.
Attribute key API key, token, etc.

Inherited from IConnection:

Attribute conn_classes Classes used to create connections, should be in the form of `(insecure, secure)`
Attribute responseCls Provider-specific Class used for creating responses
Attribute connection Represents the lower-level connection to the server
Attribute host Default host for this connection
Attribute port Default port for this connection. This should be a tuple of the form `(insecure, secure)` or for single-port Providers, simply `(port,)`
Attribute secure Indicates if this is a secure connection. If previous recommendations were followed, it would be advantageous for this to be in the form: 0=insecure, 1=secure
Attribute driver The NodeDriver that belongs to this Node
Method connect A method for establishing a connection. If no host or port are given, existing ivars should be used.
Method request Make a request.
Method add_default_params Adds default parameters (such as API key, version, etc.) to the passed `params`
Method add_default_headers Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers`
Method encode_data Data may need to be encoded before sent in a request. If not, simply return the data.
key =
API key, token, etc.
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:42:22.