storage_api.apis package¶
Subpackages¶
Submodules¶
storage_api.apis.storage module¶
-
class
storage_api.apis.storage.AllExports(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_all_exports'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
storage_api.apis.storage.AllLocks(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_all_locks'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
storage_api.apis.storage.AllSnapshots(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_all_snapshots'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
storage_api.apis.storage.AllVolumes(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_all_volumes'¶
-
mediatypes(resource_cls)¶
-
methods= ['GET']¶
-
-
class
storage_api.apis.storage.Export(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_export'¶
-
mediatypes(resource_cls)¶
-
methods= ['DELETE', 'GET', 'POST']¶
-
-
class
storage_api.apis.storage.ExportRule(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_export_rule'¶
-
mediatypes(resource_cls)¶
-
methods= ['DELETE', 'PUT']¶
-
-
class
storage_api.apis.storage.Locks(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_locks'¶
-
mediatypes(resource_cls)¶
-
methods= ['DELETE', 'PUT']¶
-
-
class
storage_api.apis.storage.Snapshots(api=None, *args, **kwargs)[source]¶ Bases:
flask_restplus.resource.Resource-
endpoint= '/_snapshots'¶
-
mediatypes(resource_cls)¶
-
methods= ['DELETE', 'GET', 'POST']¶
-
-
storage_api.apis.storage.backend(backend_name)[source]¶ Return the actual backend object as given by backend_name. Has to be a function due to the app context not being available until later.