Git Product home page Git Product logo

gokc's Introduction

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

gokc's People

Contributors

albatross0 avatar hagihala avatar hnakamur avatar nabeo avatar nashiox avatar pandax381 avatar rrreeeyyy avatar yuuki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gokc's Issues

Support Keepalived 1.3+ syntax (and/or version policy?)

Recent keepalived changes/adds keepalived.conf syntax, but gokc does not support them.
Do you have any support policy? (Maybe simply add new version's syntax may cause problem when a user intends to check old version's configuration...)

check fails on script_user

script_user in global_defs block in config file fails to pass the test:

keepalived.conf:23:4: syntax error: unexpected STRING, expecting RB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.