huskar_api/models/instance/management.py
def list_instance_keys(self, cluster_name, resolve=True):
        """Gets all keys of specified cluster.

        The cluster will be resolved here, including the symlink and route.

        :param cluster_name: The name of callee cluster.
        :param resolve: ``False`` if you don't wanna resolving the cluster.
        :returns: The list of keys.
        """
        if resolve:
            physical_name = self.resolve_cluster_name(cluster_name)
            cluster_name = physical_name or cluster_name
        info = self._make_cluster_info(cluster_name)
        try:
            keys = sorted(self.huskar_client.client.get_children(info.path))
        except NoNodeError:
            keys = []
        return [decode_key(k) for k in keys]
Gets all keys of specified cluster.

        The cluster will be resolved here, including the symlink and route.

        :param cluster_name: The name of callee cluster.
        :param resolve: ``False`` if you don't wanna resolving the cluster.
        :returns: The list of keys.
        
Gets all keys of specified cluster.
The cluster will be resolved here, including the symlink and route.
Gets all keys of specified cluster . The cluster will be resolved here including the symlink and route .
def list_instance_keys(self, cluster_name, resolve=True):
        if resolve:
            physical_name = self.resolve_cluster_name(cluster_name)
            cluster_name = physical_name or cluster_name
        info = self._make_cluster_info(cluster_name)
        try:
            keys = sorted(self.huskar_client.client.get_children(info.path))
        except NoNodeError:
            keys = []
        return [decode_key(k) for k in keys]
def list_instance_keys ( self , cluster_name , resolve = True ) : if resolve : physical_name = self . resolve_cluster_name ( cluster_name ) cluster_name = physical_name or cluster_name info = self . _make_cluster_info ( cluster_name ) try : keys = sorted ( self . huskar_client . client . get_children ( info . path ) ) except NoNodeError : keys = [ ] return [ decode_key ( k ) for k in keys ]
Gets all keys of specified cluster.
Gets all keys of specified cluster .
"""Gets all keys of specified cluster.

        The cluster will be resolved here, including the symlink and route.

        :param cluster_name: The name of callee cluster.
        :param resolve: ``False`` if you don't wanna resolving the cluster.
        :returns: The list of keys.
        """
The list of keys.
The list of keys .
self
cluster_name
The name of callee cluster.
The name of callee cluster .
resolve
``False`` if you don't wanna resolving the cluster.
` ` False ` ` if you don ' t wanna resolving the cluster .