huskar_api/models/route/management.py
def list_route(self):
        """Lists all route rules for this source application and cluster.

        :raises MalformedDataError: if any dirty data is present
        :returns: Yields ``(application_name, intent, cluster_name)`` tuples.
        """
        dependency = self.make_service_info().get_dependency()
        for application_name in dependency:
            if self.cluster_name not in dependency[application_name]:
                continue
            is_found = False
            for route_key, cluster_name in self.yield_route_pairs(
                    application_name):
                is_found = True
                yield application_name, route_key.intent, cluster_name
            if not is_found:
                yield application_name, ROUTE_DEFAULT_INTENT, None
Lists all route rules for this source application and cluster.

        :raises MalformedDataError: if any dirty data is present
        :returns: Yields ``(application_name, intent, cluster_name)`` tuples.
        
Lists all route rules for this source application and cluster.
Lists all route rules for this source application and cluster .
def list_route(self):
        dependency = self.make_service_info().get_dependency()
        for application_name in dependency:
            if self.cluster_name not in dependency[application_name]:
                continue
            is_found = False
            for route_key, cluster_name in self.yield_route_pairs(
                    application_name):
                is_found = True
                yield application_name, route_key.intent, cluster_name
            if not is_found:
                yield application_name, ROUTE_DEFAULT_INTENT, None
def list_route ( self ) : dependency = self . make_service_info ( ) . get_dependency ( ) for application_name in dependency : if self . cluster_name not in dependency [ application_name ] : continue is_found = False for route_key , cluster_name in self . yield_route_pairs ( application_name ) : is_found = True yield application_name , route_key . intent , cluster_name if not is_found : yield application_name , ROUTE_DEFAULT_INTENT , None
Lists all route rules for this source application and cluster.
Lists all route rules for this source application and cluster .
"""Lists all route rules for this source application and cluster.

        :raises MalformedDataError: if any dirty data is present
        :returns: Yields ``(application_name, intent, cluster_name)`` tuples.
        """
Yields ``(application_name, intent, cluster_name)`` tuples.
Yields ` ` ( application_name intent cluster_name ) ` ` tuples .
if any dirty data is present
if any dirty data is present
MalformedDataError
self