Exemplo n.º 1
0
 def node_tasks(self, node):
     for task_dict in self.node_ps(node.id):
         yield DockerTask.from_api(self, task_dict, node=node)
Exemplo n.º 2
0
 def node_tasks(self, node):
     for task_dict in self.node_ps(node.id):
         yield DockerTask.from_api(self, task_dict, node=node)
Exemplo n.º 3
0
 def service_tasks(self, service):
     for task_dict in self.service_ps(service.id):
         yield DockerTask.from_api(self, task_dict, service=service)
Exemplo n.º 4
0
 def service_tasks(self, service):
     for task_dict in self.service_ps(service.id):
         yield DockerTask.from_api(self, task_dict, service=service)