libcloud.storage.drivers.ktucloud module

class libcloud.storage.drivers.ktucloud.KTUCloudStorageConnection(user_id, key, secure=True, use_internal_url=False, **kwargs)[source]

Bases: CloudFilesConnection

Connection class for the KT UCloud Storage endpoint.

Initialize user_id and key; set secure to an int based on passed value.

auth_url: str = 'https://ssproxy.ucloudbiz.olleh.com/auth/v1.0'
get_endpoint()[source]

Selects the endpoint to use based on provider specific values, or overrides passed in by the user when setting up the driver.

Returns:

url of the relevant endpoint for the driver

class libcloud.storage.drivers.ktucloud.KTUCloudStorageDriver(key, secret=None, secure=True, host=None, port=None, region='ord', use_internal_url=False, **kwargs)[source]

Bases: CloudFilesStorageDriver

Cloudfiles storage driver for the UK endpoint.

@inherits: StorageDriver.__init__

Parameters:

region (str) – ID of the region which should be used.

connectionCls

alias of KTUCloudStorageConnection

name: str = 'KTUCloud Storage'
type = 'ktucloud'