示例#1
0
    def watch(self):
        """
        Update image list every so often
        """
        while True:
            self.images = util.get_docker_images()

            sleep(120)
示例#2
0
文件: watcher.py 项目: NoYiBa/docrane
    def watch(self):
        """
        Update image list every so often
        """
        while True:
            self.images = util.get_docker_images()

            sleep(120)
示例#3
0
 def __init__(self):
     # Make sure to pre-populate so we always have images
     self.images = util.get_docker_images()
示例#4
0
文件: watcher.py 项目: NoYiBa/docrane
 def __init__(self):
     # Make sure to pre-populate so we always have images
     self.images = util.get_docker_images()