l.c.b.BaseDriver(object) : class documentation

Part of libcloud.common.base View Source View In Hierarchy

Known subclasses: libcloud.compute.base.NodeDriver, libcloud.dns.base.DNSDriver, libcloud.loadbalancer.base.Driver, libcloud.storage.base.StorageDriver

Base driver class from which other classes can inherit from.
Method __init__ @param key: API key or username to be used (required) @type key: C{str}
Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
def __init__(self, key, secret=None, secure=True, host=None, port=None, api_version=None, **kwargs): (source)
@param    key:    API key or username to be used (required)
@type     key:    C{str}

@param    secret: Secret password to be used (required)
@type     secret: C{str}

@param    secure: Weither to use HTTPS or HTTP. Note: Some providers
                    only support HTTPS, and it is on by default.
@type     secure: C{bool}

@param    host: Override hostname used for connections.
@type     host: C{str}

@param    port: Override port used for connections.
@type     port: C{int}

@param    api_version: Optional API version. Only used by drivers
                         which support multiple API versions.
@type     api_version: C{str}

@rtype: C{None}
def _ex_connection_class_kwargs(self): (source)
Return extra connection keyword arguments which are passed to the
Connection class constructor.
API Documentation for libcloud, generated by pydoctor at 2013-09-04 21:31:29.