Tim Hockin
ff8c5f9415
Add a Detail field to Validation Error
2014-11-24 17:28:42 -08:00
Tim Hockin
ea960711ff
Clean up error logs.
...
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines). Just accumulated nits.
2014-11-21 09:45:26 +08:00
Daniel Smith
178d0af795
Fix watch for events; add test for interface implementation so it won't break again.
2014-11-12 15:22:08 -08:00
Clayton Coleman
82bcdd3b3b
Make ResourceVersion a string internally instead of uint64
...
Allows us to define different watch versioning regimes in the future
as well as to encode information with the resource version.
This changes /watch/resources?resourceVersion=3 to start the watch at
4 instead of 3, which means clients can read a resource version and
then send it back to the server. Clients should no longer do math on
resource versions.
2014-10-07 19:00:26 -04:00
Daniel Smith
265f889260
convert etcd errors to watch errors
2014-09-22 17:06:03 -07:00
Daniel Smith
0d69393a43
make watch actually return an error when there's an error
2014-09-19 17:53:55 -07:00
Daniel Smith
0d30a656ef
Do interface{} -> runtime.Object rename everywhere
2014-09-07 22:19:24 -07:00
Vojtech Vitek (V-Teq)
59f58cd043
Unify Godoc formatting, fix various typos
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com >
2014-09-02 13:41:03 +02:00
Daniel Smith
6b69ed402b
Change 'sendCreate' to 'sendAdd'; integration passes.
2014-08-25 15:56:55 -07:00
Daniel Smith
db1c0db5c7
Move etcd watch code to its own files
2014-08-25 15:56:54 -07:00