summaryrefslogtreecommitdiffstats
path: root/api/escalator/api/v1/controller.py
blob: ad0b9d7d4469e9f476dd0696b352cf6376622939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class BaseController(object):

    def get_cluster_meta_or_404(self, request, cluster_id):
        """
        Grabs the cluster metadata for an cluster with a supplied
        identifier or raises an HTTPNotFound (404) response

        :param request: The WSGI/Webob Request object
        :param cluster_id: The opaque cluster identifier

        :raises HTTPNotFound if cluster does not exist
        """
        pass