Brian Waldon
bafe960dba
etcdhttp: add Peers.Endpoints
2014-09-10 18:02:02 -07:00
Brian Waldon
c251304068
*: s/Id/ID/
...
golang convention dictates that the individual characters in an
abbreviation should all have the same case. Use ID instead of Id.
The protobuf generator still generates code that does not meet
this convention, but that's a fight for another day.
2014-09-10 16:09:08 -07:00
Yicheng Qin
51e4bbfeb0
http: check err return from http.NewRequest
2014-09-09 20:46:56 -07:00
Yicheng Qin
01871e7c29
http: use sort.Strings
2014-09-09 16:20:02 -07:00
Yicheng Qin
d519491545
http: add TODO for peers var
2014-09-09 15:55:42 -07:00
Yicheng Qin
961a61d708
http: add allow func
...
For further extendability
2014-09-09 15:45:34 -07:00
Yicheng Qin
4087fa5c7a
http: allow GET, HEAD for /v2/machines
2014-09-09 15:22:52 -07:00
Yicheng Qin
0c1d1b7aeb
etcdhttp: add /v2/machines endpoint
2014-09-09 15:00:29 -07:00
Jonathan Boulle
44acd57ea4
etcdserver: remove superfluous context
2014-09-09 11:18:25 -07:00
Jonathan Boulle
07ce8bc4bc
etcdserver: split out functional test to new package
2014-09-09 11:18:24 -07:00
Jonathan Boulle
8473f3bf52
api: address review comments
2014-09-09 11:17:53 -07:00
Jonathan Boulle
c78239a629
etcdserver: add test coverage for parseRequest
2014-09-09 11:17:53 -07:00
Jonathan Boulle
b33b85870d
etcdserver: add waitForEvent and encodeResponse coverage
2014-09-09 11:17:53 -07:00
Jonathan Boulle
f7444ff300
store: convert Watch to interface
2014-09-09 11:17:53 -07:00
Jonathan Boulle
9997c9488a
*: fix a few small issues identified by go vet
2014-09-08 23:52:36 -07:00
Xiang Li
55b4267c30
Merge pull request #1001 from coreos/sender
...
etcdhttp: non-blocking sender
2014-09-08 23:36:10 -07:00
Xiang Li
908d326e22
etcdhttp: use peer.String() in test
2014-09-08 20:50:35 -07:00
Xiang Li
378cadf073
etcdhttp: implment Peers.String()
2014-09-08 20:45:10 -07:00
Xiang Li
f4a33dd6df
etcdhttp: simple test for peer set cleanup
2014-09-08 17:04:36 -07:00
Xiang Li
5c8839387d
etcdhttp: set peer should clean up previous values
2014-09-08 16:38:01 -07:00
Xiang Li
cbec48e8f6
etcdhttp: non-blocking sender
2014-09-05 13:54:40 -07:00
Xiang Li
f1856abe60
etcdhttp: add v2prefix
2014-09-03 21:52:16 -07:00
Blake Mizerany
d844377ca6
*: vendor context
2014-09-03 20:06:16 -07:00
Blake Mizerany
172c1eae5d
etcdhttp: fix test build
2014-09-03 20:01:54 -07:00
Xiang Li
2ba57ee75d
*: remove unused pkgs
2014-09-03 09:20:20 -07:00