예제 #1
0
def create_resource():
    return wsgi.Resource(SnapshotsController())
예제 #2
0
def create_resource():
    return wsgi.Resource(ReplicatesController())
예제 #3
0
 def __init__(self, controller):
     mapper = routes.Mapper()
     mapper.resource("test", "tests",
                     controller=os_wsgi.Resource(controller))
     super(TestRouter, self).__init__(mapper)
예제 #4
0
def create_resource():
    return wsgi.Resource(VolumesController())
예제 #5
0
def create_resource():
    return wsgi.Resource(CheckpointsController())
예제 #6
0
def create_resource():
    return wsgi.Resource(BackupsController())