Exemple #1
0
    def get(self, name=None, plugin=None):
        """
        Returns servers, which can be filtered by name or plugin.

        :param name: name of the server
        :type name: str
        :param plugin: plugin name, which registers the servers
        :return: None, single server or dict of servers
        """
        return gw_get(self._servers, name, plugin)
Exemple #2
0
 def get(self, name=None, plugin=None):
     return gw_get(self._providers, name, plugin)
 def get(self, csv_file=None, plugin=None):
     gw_get(self._watchers, csv_file, plugin)
Exemple #4
0
 def get(self, name=None, plugin=None):
     return gw_get(self.docs, name, plugin)
Exemple #5
0
 def get(self, name=None, plugin=None):
     return gw_get(self._routes, name, plugin)
Exemple #6
0
    def get(self, name=None, plugin=None, cluster="base"):
        if cluster not in self._menus.keys():
            return {}

        return gw_get(self._menus[cluster], name, plugin)
Exemple #7
0
 def get(self, name=None, plugin=None):
     return gw_get(self._contexts, name, plugin)