Dmitry Smirnov
b2f4a5f587
*: fix spelling issues (codespell).
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-09-11 10:22:29 +10:00
Xiang Li
6b23a8131f
*: test gofmt with -s and fix reported issues
2015-08-21 18:52:16 -07:00
Xiang Li
ee82ee05b4
etcdctl: support member update command
2015-07-21 12:53:20 -07:00
Xiang Li
e9478ba630
etcdctl: make get command use etcd/client
2015-07-21 12:53:19 -07:00
Barak Michener
a4d1a5a6e5
*: Add security/auth support to etcdctl and etcd/client
...
add godep for speakeasy and auth entry parsing
add security_user to client
add role to client
add role commands
add auth support to etcdclient and etcdctl(member/user)
add enable/disable to etcdctl
better error messages, read/write/readwrite
Bump go-etcd to include codec changes, add new dependency
verify the error for revoke/add if nothing changed, remove security-merging prefix
2015-06-10 16:58:10 -04:00
Xiang Li
b218fc67e4
etcdctl: mark unstarted member
2015-03-03 11:00:40 -08:00
Brian Waldon
3b41b77cd7
client: ClientConfig -> Config
2015-02-28 10:22:51 -08:00
Brian Waldon
74fe28c5e0
client: exchange ClientConfig for SyncableHTTPClient
2015-02-28 10:22:50 -08:00
Barak Michener
92dca0af0f
*: remove shadowing of variables from etcd and add travis test
...
We've been bitten by this enough times that I wrote a tool so that
it never happens again.
2015-02-17 16:31:42 -05:00
Barak Michener
37e8d608b3
add documentation link and describe the 404/500 errors better
2015-01-30 19:41:44 -05:00
Barak Michener
c66176b538
etcdctl: give more helpful suggestions on removal
2015-01-30 19:23:19 -05:00
Jonathan Boulle
f1ed69e883
*: switch to line comments for copyright
...
Build tags are not compatible with block comments.
Also adds copyright header to a few places it was missing.
2015-01-26 09:53:30 -08:00
Brian Waldon
9a728a127a
dep: bump golang.org/x/net/context
...
Move from code.google.com/p/go.net/context to
golang.org/x/net/context before bumping to latest.
2014-11-20 10:19:12 -08:00
Brian Waldon
2d942e970b
etcdctl: add --ca-file, --cert-file, --key-file flags
2014-11-06 12:50:38 -08:00
Brian Waldon
f4ea274555
etcdctl: centralize getEndpoints logic
2014-11-06 10:54:59 -08:00
Jonathan Boulle
f7434b55e5
*: add copyright header to remaining files
2014-11-03 23:29:15 -08:00
Brian Waldon
f0760d6246
client: elevate context to caller of MembersAPI
2014-10-31 17:27:42 -07:00
Brian Waldon
b47631b38f
etcdctl: respect --no-sync in member subcommands
2014-10-31 17:25:05 -07:00
Brian Waldon
22b86684f0
etcdctl: sync before running member subcommands
2014-10-31 17:25:05 -07:00
Brian Waldon
f6e8b677cf
client: pass httpActionDo into NewMembersAPI
2014-10-31 17:25:05 -07:00
Brian Waldon
f35130a0ed
etcdctl: clean up formatting of member add
2014-10-31 15:37:08 -07:00
Brandon Philips
6b4485d1ae
etcdctl: take a name and print out the initial cluster
...
To help the user lets print out the configuration that they will need to give
to their new member:
$ etcdctl member add infra4 http://localhost:7004
added member 9bf1b35fc7761a23 to cluster
ETCD_NAME="infra4"
ETCD_INITIAL_CLUSTER="node2=http://localhost:7002,node3=http://localhost:7003,infra4=http://localhost:7004,node1=http://localhost:7001 "
This is a little weird because the API doesn't take a name so the user gives us
a name and we just pass it on through.
2014-10-31 15:05:23 -07:00
Brandon Philips
8f3be206ed
etcdctl: add help on the members subcommands
2014-10-31 14:50:23 -07:00
Brian Waldon
f0c3385cfc
etcdctl: wire up --peers for member commands
2014-10-31 12:21:15 -07:00
Brian Waldon
8b8b3efdaa
client: accept slice of endpoints
2014-10-31 12:21:15 -07:00
Brian Waldon
dee912f2fd
etcdctl: break out mustNewMembersAPI
2014-10-31 12:21:08 -07:00
Brian Waldon
f6e242aa01
etcdctl: impl members commands
2014-10-29 15:09:23 -07:00