【文件属性】:
文件名称:launcher:在远程主机上运行脚本的 Web 应用程序
文件大小:86KB
文件格式:ZIP
更新时间:2021-06-17 09:27:48
Go
启动器
脚本启动器是一种 Web 应用程序,它在网络中的某些机器上运行时,允许任何有权访问它的人使用 Web 界面在不同的远程主机上执行预定义的脚本。 例如,项目经理或 qa 将能够在没有开发人员参与的情况下进行部署或检查服务器上的可用磁盘空间。
截图
配置文件:
[ hosts ]
[ hosts . qa ]
name = " 192.168.10.10 "
user = " aromanov "
port = 22
[ hosts . localhost ]
name = " 127.0.0.1 "
user = " user "
password = " password "
port = 22
[ scripts ]
[ scripts . ls_qa ]
name = " list files "
host = " qa "
【文件预览】:
launcher-master
----config_parser.go(358B)
----script.go(2KB)
----bindata.go(36KB)
----images()
--------scripts_list.png(17KB)
--------execute_script.png(48KB)
----launcher.go(3KB)
----templates()
--------homepage.html.tmpl(335B)
--------script.html.tmpl(531B)
----js()
--------config.js(85B)
--------Makefile(78B)
--------all.js(1KB)
----static()
--------all.css(3KB)
--------all.js(15KB)
----config_parser_test.go(833B)
----ws.go(1KB)
----test_config()
--------launcher.toml(322B)
----README.md(2KB)