Pocker
Post-deployment testing consul services.
Installation
$ go get github.com/selimekizoglu/pocker
Usage
Options
Option | Description |
---|---|
consul |
The location of the consul instance (IP/FQDN with port) to query. Defaults to localhost:8500 |
service* |
Name of the service registered in consul. |
endpoint |
The endpoint of the service to be poked. Defaults to "/" |
* = Required parameter
Examples
The CLI interface supports all of the options detailed above.
$ pocker -consul 127.0.0.1:8500 \
-service healthy-service \
-endpoint /healthcheck