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 |
|