示例#1
0
文件: docker.py 项目: qooroo/hive
 def __init__(self, subprocess, hive_home, options):
     Command.__init__(self, "docker", subprocess, hive_home, options)
     self._cli = ["docker"]
示例#2
0
文件: template.py 项目: qooroo/hive
 def __init__(self, subprocess, hive_home, options):
     Command.__init__(self, "script", subprocess, hive_home, options)
示例#3
0
 def __init__(self, subprocess, hive_home, options):
     Command.__init__(self, "certificate", subprocess, hive_home, options)
示例#4
0
    def __init__(self, subprocess, hive_home, options):
        Command.__init__(self, "kubernetes", subprocess, hive_home, options)

        self._kubernetes = kubernetes(subprocess, hive_home, options)
示例#5
0
    def __init__(self, subprocess, hive_home, options):
        Command.__init__(self, "kubernetes", subprocess, hive_home, options)

        self.gcloud = gcloud(subprocess, hive_home, options)
        self.resources_path = '/hive_share/kubernetes/manifests'
示例#6
0
文件: kubernetes.py 项目: qooroo/hive
    def __init__(self, subprocess, hive_home, options):
        Command.__init__(self, "kubernetes", subprocess, hive_home, options)

        self.resources_path = '/hive_share/kubernetes/manifests'
        self.kubectl = gcloud(subprocess, hive_home, options).get_container() + " kubectl "