예제 #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)
예제 #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)
예제 #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)
예제 #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)