pyrax
Python Bindings for the Rackspace Cloud
|
Represents an available service from the service catalog. More...
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 |
Represents an available service from the service catalog.
def __init__ | ( | self, | |
identity, | |||
catalog | |||
) |
Parse the catalog entry for a particular service.
Reimplemented in FakeIdentityService.
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.
Reimplemented in FakeIdentityService.
Reimplemented in FakeIdentityService.
Reimplemented in FakeIdentityService.
Reimplemented in FakeIdentityService.
Reimplemented in FakeIdentityService.
Reimplemented in FakeIdentityService.