pyrax
Python Bindings for the Rackspace Cloud
 All Classes Namespaces Files Functions Variables Properties
Public Member Functions | Public Attributes
Service Class Reference

Represents an available service from the service catalog. More...

Inheritance diagram for Service:
FakeIdentityService

List of all members.

Public Member Functions

def __init__
 Parse the catalog entry for a particular service.
def __repr__
def get_client
 Returns an instance of the appropriate client class for the given region.
def regions
 Returns a list of all regions which support this service.

Public Attributes

 identity
 name
 service_type
 prefix
 clients
 endpoints

Detailed Description

Represents an available service from the service catalog.


Constructor & Destructor Documentation

def __init__ (   self,
  identity,
  catalog 
)

Parse the catalog entry for a particular service.


Member Function Documentation

def __repr__ (   self)
def get_client (   self,
  region 
)

Returns an instance of the appropriate client class for the given region.

If there is no endpoint for that region, a NoEndpointForRegion exception is raised.

def regions (   self)

Returns a list of all regions which support this service.


Member Data Documentation

Reimplemented in FakeIdentityService.

Reimplemented in FakeIdentityService.

Reimplemented in FakeIdentityService.

Reimplemented in FakeIdentityService.

Reimplemented in FakeIdentityService.

Reimplemented in FakeIdentityService.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties