goss - A serverspec-like tool written in go

xuanbao · · 576 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p><a href="https://github.com/aelsabbahy/goss#goss-in-45-seconds">goss</a></p> <p>This is my first go program, wanted to learn the language. Any feedback on code and/or tool would be greatly appreciated.</p> <p>The tool is intended to be a simple take on server validation. The idea is to be able to quickly define a system manifest and validate a system against it.</p> <p>Differences from serverspec:</p> <ul> <li>10-30x faster depending on test suite (tests are run in parallel)</li> <li>Can derive server state and generate a manifest from a running server</li> <li>goss is meant to be simple, albeit less flexible</li> <li>Uses JSON instead of DSL</li> <li>Manifests are static - no variables, conditionals, etc. If you need this, you should dynamically generate the JSON manifest.</li> <li>Being in Go, it&#39;s a self contained binary, no need for ruby</li> <li>Supports a much smaller set of OSes/test types</li> </ul> <p>For more complicated workflows, the tool can be chained with other commands, ex:</p> <pre><code>curl http://url/to/static/or/dynamic/goss.json | goss validate </code></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

576 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传