コード例 #1
0
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.create_repositories(plugins))
     tasks.extend(self.sync_scripts(plugins))
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
コード例 #2
0
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.create_repositories(plugins))
     tasks.extend(self.sync_scripts(plugins))
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
コード例 #3
0
 def serialize(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return itertools.chain(
         self.create_repositories(plugins),
         self.sync_scripts(plugins),
         self.deployment_tasks(plugins)
     )
コード例 #4
0
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
コード例 #5
0
 def serialize(self):
     tasks = []
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     tasks.extend(self.deployment_tasks(plugins))
     return tasks
コード例 #6
0
 def serialize(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return self.deployment_tasks(plugins)
コード例 #7
0
 def serialize(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return itertools.chain(self.create_repositories(plugins),
                            self.sync_scripts(plugins),
                            self.deployment_tasks(plugins))
コード例 #8
0
 def serialize_end_tasks(self):
     plugins = PluginManager.get_cluster_plugins_with_tasks(self.cluster)
     return self.deployment_tasks(plugins)