README

etcdlabs

Go Report Card Build Status Godoc

etcdlabs

See etcd-play for old code.

Technology Used
Build and Push to gcr.io
./scripts/docker/build-push.sh
Run locally
docker build --tag gcr.io/etcd-development/etcdlabs:latest --file ./Dockerfile .

docker run \
  --rm \
  -it \
  -p 4200:4200 \
  gcr.io/etcd-development/etcdlabs:latest \
  /bin/sh -c "pushd /gopath/src/github.com/etcd-io/etcdlabs && ./scripts/run/etcdlabs.sh"

Or

./scripts/docker/etcdlabs.sh

To check that it's running:

curl -L http://localhost:4200/health
OK

And open http://localhost:4200

Expand ▾ Collapse ▴

Directories

Path Synopsis
backend
web
Package web implements etcd-play web.
Package web implements etcd-play web.
Package cluster manages etcd cluster.
Package cluster manages etcd cluster.
clusterpb
Package clusterpb is a generated protocol buffer package.
Package clusterpb is a generated protocol buffer package.
cmd
backend-web-server
etcdlabs runs backend with embedded etcd servers.
etcdlabs runs backend with embedded etcd servers.
pkg
ratelimit
Package ratelimit implements rate limiter.
Package ratelimit implements rate limiter.