Пример #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())