diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/pybind/mgr/dashboard/controllers/__init__.py | |
parent | Initial commit. (diff) | |
download | ceph-upstream/16.2.11+ds.tar.xz ceph-upstream/16.2.11+ds.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/controllers/__init__.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/controllers/__init__.py b/src/pybind/mgr/dashboard/controllers/__init__.py new file mode 100644 index 000000000..7a5b090ee --- /dev/null +++ b/src/pybind/mgr/dashboard/controllers/__init__.py @@ -0,0 +1,35 @@ +from ._api_router import APIRouter +from ._auth import ControllerAuthMixin +from ._base_controller import BaseController +from ._docs import APIDoc, EndpointDoc +from ._endpoint import Endpoint, Proxy +from ._helpers import ENDPOINT_MAP, allow_empty_body, \ + generate_controller_routes, json_error_page, validate_ceph_type +from ._permissions import CreatePermission, DeletePermission, ReadPermission, UpdatePermission +from ._rest_controller import RESTController +from ._router import Router +from ._task import Task +from ._ui_router import UIRouter + +__all__ = [ + 'BaseController', + 'RESTController', + 'Router', + 'UIRouter', + 'APIRouter', + 'Endpoint', + 'Proxy', + 'Task', + 'ControllerAuthMixin', + 'EndpointDoc', + 'APIDoc', + 'allow_empty_body', + 'ENDPOINT_MAP', + 'generate_controller_routes', + 'json_error_page', + 'validate_ceph_type', + 'CreatePermission', + 'ReadPermission', + 'UpdatePermission', + 'DeletePermission' +] |