pyrax
Python Bindings for the Rackspace Cloud
 All Classes Namespaces Files Functions Variables Properties
Classes | Functions | Variables
pyrax::cf_wrapper::client Namespace Reference

Classes

class  CFClient
 Wraps the calls to swiftclient with objects representing Containers and StorageObjects. More...
class  Connection
 This class wraps the swiftclient connection, adding support for CDN. More...
class  FolderUploader
 Threading class to allow for uploading multiple files in the background. More...

Functions

def handle_swiftclient_exception
 Swiftclient often leaves the connection open.

Variables

string EARLY_DATE_STR = "1900-01-01T00:00:00"
int CONNECTION_TIMEOUT = 20
int CONNECTION_RETRIES = 5
int AUTH_ATTEMPTS = 2
tuple no_such_container_pattern = re.compile(r"Container GET|HEAD failed: .+/(.+) 404")
string etag_fail_pat = r"Object PUT failed: .+/([^/]+)/(\S+) 422 Unprocessable Entity"
tuple etag_failed_pattern = re.compile(etag_fail_pat)

Function Documentation

Swiftclient often leaves the connection open.


Variable Documentation

int AUTH_ATTEMPTS = 2
string EARLY_DATE_STR = "1900-01-01T00:00:00"
string etag_fail_pat = r"Object PUT failed: .+/([^/]+)/(\S+) 422 Unprocessable Entity"
tuple etag_failed_pattern = re.compile(etag_fail_pat)
tuple no_such_container_pattern = re.compile(r"Container GET|HEAD failed: .+/(.+) 404")
 All Classes Namespaces Files Functions Variables Properties