示例#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())