Yet Another Keepalived Syntax Checker in Golang.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd/gokc
keepalived @ 3a77c1b
log Fix awkward log format Mar 30, 2017
parser
script
testdata Enable to parse vrrp_script timeout Jan 26, 2016
vendor/github.com/mitchellh
.dockerignore
.gitignore
.gitmodules
.travis.yml
Dockerfile
LICENSE
Makefile
README.md

README.md

gokc

Build Status Latest Version Go Report Card

Yet Another Keepalived syntax checker in golang.

Usage

gokc -f /etc/keepalived/keepalived.conf
gokc: the configuration file /etc/keepalived/keepalived.conf syntax is ok

Installation

Homebrew

$ brew tap yuuki/gokc
$ brew install gokc

Download binary from GitHub Releases

Releases・yuuki/gokc - GitHub

Build from source

 $ go get github.com/yuuki/gokc
 $ go install github.com/yuuki/gokc/...

Contribution

  1. Fork (https://github.com/yuuki/gokc/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create new Pull Request

License

The MIT License.

Author

y_uuki