Exemplo n.º 1
0
 def __init__(self):
     self.col_active = db["cluster_active"]
     self.col_released = db["cluster_released"]
     self.host_handler = host.host_handler
     self.cluster_agents = {
         'docker': ClusterOnDocker(),
         'swarm': ClusterOnDocker()
     }
Exemplo n.º 2
0
 def __init__(self):
     self.col_active = db["cluster_active"]
     self.col_released = db["cluster_released"]
     self.host_handler = host.host_handler
     self.cluster_agents = {
         'docker': ClusterOnDocker(),
         'swarm': ClusterOnDocker(),
         'vsphere': ClusterOnVsphere(),
         'kubernetes': ClusterOnKubernetes()
     }