kubeshell.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:kube-shell 作者: cloudnativelabs 项目源码 文件源码
def __init__(self, refresh_resources=True):
        shell_dir = os.path.expanduser("~/.kube/shell/")
        self.history = FileHistory(os.path.join(shell_dir, "history"))
        if not os.path.exists(shell_dir):
            os.makedirs(shell_dir)
        self.toolbar = Toolbar(self.get_cluster_name, self.get_namespace, self.get_user, self.get_inline_help)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号