https://github.com/cilindrox/kongfig
Kong API Gateway configuration CLI
https://github.com/cilindrox/kongfig
Last synced: about 1 year ago
JSON representation
Kong API Gateway configuration CLI
- Host: GitHub
- URL: https://github.com/cilindrox/kongfig
- Owner: cilindrox
- License: mit
- Created: 2019-01-29T15:50:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-30T16:49:54.000Z (over 7 years ago)
- Last Synced: 2025-02-01T09:29:29.278Z (over 1 year ago)
- Language: Go
- Size: 207 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# kongfig
Kongfig is a configuration management tool for the Kong API gateway.
## Usage
```bash
kongfig apply -f examples/config.example.json --dry-run
```
### Available Commands
| Command | Description |
| --- | --- |
| `apply` | Apply a configuration to a Kong instance |
| `help` | Help about any command |
| `version` | Print the version number of Kongfig |
Use `kongfig [command] --help` for more information about a command.
## Contributing
1. Fork the project
2. Make your changes
3. `make`
4. The `kongfig` binary is now available to use locally
> **NOTE**: when building in OS X, you'll need to export the `GOOS` env, eg:
```bash
GOOS=darwin make
```
Additionaly, there's a docker-compose file included for ease of local
development.
Simply call `docker-compose up` to get started.
Dependencies are managed using [dep]. Please refer to its documentation if needed.
### Testing
Tests are run automatically on every build or via the `make test` target.
Additionaly you can run `make cover` to check your coverage.
[dep]: https://github.com/golang/dep