kubectx:在kubectl中的集群和名称空间之间切换的更快方法-源码

上传者: 42168265 | 上传时间: 2021-02-02 20:35:34 | 文件大小: 545KB | 文件类型: ZIP
kubectx + kubens :用于kubectl的电动工具 该存储库提供了kubectx和kubens工具。 :partying_face: :newspaper: 新闻:使用v0.9.0,现在可以在Go中重写kubectx和kubens了。 (不用担心,我们仍然提供可爱的bash版本!)请通过从下载它们来测试此新的Go二进制文件 kubectx帮助您在集群之间来回切换: kubens可帮助您在Kubernetes命名空间之间平稳切换: kubectx(1) kubectx是一个实用程序,可以在kubectl(1)上下文之间进行管理和切换。 USAGE: kubectx : list the contexts kubectx : switch to context kubectx - : switch to the previous context kubectx -c, --current : show the cur

文件下载

资源详情

[{"title":"( 78 个子文件 545KB ) kubectx:在kubectl中的集群和名称空间之间切换的更快方法-源码","children":[{"title":"kubectx-master","children":[{"title":".goreleaser.yml <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"cmd","children":[{"title":"kubectx","children":[{"title":"fzf.go <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"rename_test.go <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"state.go <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"state_test.go <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"list.go <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"flags.go <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"current.go <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"env.go <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"help_test.go <span style='color:#111;'> 1011B </span>","children":null,"spread":false},{"title":"flags_test.go <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"unset.go <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"help.go <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"delete.go <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"switch.go <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"rename.go <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false}],"spread":false},{"title":"kubens","children":[{"title":"fzf.go <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"list.go <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"flags.go <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"current.go <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"statefile.go <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"flags_test.go <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"statefile_test.go <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"help.go <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"switch.go <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"img","children":[{"title":"kubectx-demo.gif <span style='color:#111;'> 162.80KB </span>","children":null,"spread":false},{"title":"kubectx-interactive.gif <span style='color:#111;'> 81.30KB </span>","children":null,"spread":false},{"title":"kubens-demo.gif <span style='color:#111;'> 226.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"internal","children":[{"title":"testutil","children":[{"title":"tempfile.go <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"kubeconfigbuilder.go <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"testutil.go <span style='color:#111;'> 932B </span>","children":null,"spread":false}],"spread":true},{"title":"printer","children":[{"title":"printer.go <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"color.go <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"color_test.go <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"kubeconfig","children":[{"title":"kubeconfigloader_test.go <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"kubeconfig_test.go <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"contextmodify_test.go <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"kubeconfig.go <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"helper_test.go <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"contexts_test.go <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"currentcontext_test.go <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"kubeconfigloader.go <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"namespace_test.go <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"contextmodify.go <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"contexts.go <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"currentcontext.go <span style='color:#111;'> 1018B </span>","children":null,"spread":false},{"title":"namespace.go <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":false},{"title":"env","children":[{"title":"constants.go <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"cmdutil","children":[{"title":"deprecated_test.go <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"deprecated.go <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"interactive.go <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"util_test.go <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"util.go <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".github","children":[{"title":"workflows","children":[{"title":"release.yml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"ci.yml <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"testdata","children":[{"title":"config1 <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"config2 <span style='color:#111;'> 356B </span>","children":null,"spread":false}],"spread":true},{"title":"kubens.bats <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"mock-kubectl <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"kubectx.bats <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false},{"title":"common.bash <span style='color:#111;'> 549B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 968B </span>","children":null,"spread":false},{"title":"kubectx <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"completion","children":[{"title":"kubectx.bash <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"kubectx.fish <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":"kubens.zsh <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"kubens.bash <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"kubens.fish <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"kubectx.zsh <span style='color:#111;'> 447B </span>","children":null,"spread":false}],"spread":true},{"title":"go.sum <span style='color:#111;'> 22.26KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.15KB </span>","children":null,"spread":false},{"title":"kubens <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":".krew","children":[{"title":"ctx.yaml <span style='color:#111;'> 952B </span>","children":null,"spread":false},{"title":"ns.yaml <span style='color:#111;'> 853B </span>","children":null,"spread":false}],"spread":false},{"title":"go.mod <span style='color:#111;'> 765B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明