etcdlabs

module
Version: v0.0.0-...-e24642c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2019 License: Apache-2.0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to