示例#1
0
 def get_xds_config_dump(self):
     if not hasattr(self, 'request_queue'):
         request_queue = queue.Queue()
         response_iterator = self._stub.StreamClientStatus(
             iter(request_queue.get, None))
     request_queue.put(csds_pb2.ClientStatusRequest())
     return next(response_iterator)
示例#2
0
 def get_xds_config_dump(self):
     return self._stub.FetchClientStatus(csds_pb2.ClientStatusRequest())