/
View dependency graph
Depends on
- adduser (adduser)
- dh-golang (dh-golang)
- etcd (etcd-server)
- golang-defaults (golang-any)
- golang-github-coreos-go-systemd (golang-github-coreos-go-systemd-dev)
- golang-github-go-ini-ini (golang-github-go-ini-ini-dev)
- golang-github-gorilla-handlers (golang-github-gorilla-handlers-dev)
- golang-github-gorilla-mux (golang-github-gorilla-mux-dev)
- golang-github-rsc-devweb (golang-github-rsc-devweb)
- golang-github-spf13-pflag (golang-github-spf13-pflag-dev)
- golang-github-spf13-viper (golang-github-spf13-viper-dev)
- lsb (lsb-base)
- openstack-pkg-tools (openstack-pkg-tools)
- debhelper-compat
README (full)
discovery.etcd.io
If you are having issues with discovery.etcd.io please file a ticket here: https://github.com/etcd-io/discovery.etcd.io
deprecated
Old Readme
This code powers the public service at https://discovery.etcd.io. The API is documented in the etcd clustering documentation.
Configuration
The service has three configuration options, and can be configured with either runtime arguments or environment variables.
--addr/DISC_ADDR: the address to run the service on, including port.--host/DISC_HOST: the host url to prepend to/newrequests.--etcd/DISC_ETCD: the url of the etcd endpoint backing the instance.
Docker Container
You may run the service in a docker container:
docker pull quay.io/coreos/discovery.etcd.io
docker run -d -p 80:8087 -e DISC_ETCD=http://etcd.example.com:2379 -e DISC_HOST=http://discovery.example.com quay.io/coreos/discovery.etcd.io
Development
discovery.etcd.io uses devweb for easy development. It is simple to get started:
./devweb
curl --verbose -X PUT localhost:8087/new
| dir | debian/ |
| dir | dev/ |
| dir | e2e/ |
| dir | handlers/ |
| dir | http/ |
| dir | init/ |
| dir | integration/ |
| dir | vendor/ |
| file | .gitignore |
| file | .travis.yml |
| file | DCO |
| file | Dockerfile |
| file | Gopkg.lock |
| file | Gopkg.toml |
| file | LICENSE |
| file | NOTICE |
| file | README.md |
| file | build |
| file | code-of-conduct.md |
| file | devweb |
| file | discovery.go |
| file | tests.sh |
| file | updatedep.sh |