Daniel Smith
91375f4c04
Split httpWatcher into watch.StreamWatcher and tools.APIEventDecoder.
2014-07-21 16:07:58 -07:00
Kelsey Hightower
a9e0b0d1a3
use %v instead of %#v when logging failures
2014-07-20 11:58:22 -07:00
Kelsey Hightower
3b9029ee94
remove unnecessary expectNoError helper function
...
This patch completes a TODO item for the replication_controller test
suite by removing the expectNoError helper function, which does not
reduce enough typing to justify its usage.
2014-07-20 09:13:11 -07:00
Clayton Coleman
5896ac14da
Ensure pod and manifest always have a UUID
...
* Fixes implication #2 in docs/identifiers.md
* Replication controller lets the apiserver set the pod ID
2014-07-10 18:03:48 -04:00
Yuki Sonoda (Yugui)
056f871bed
Fixes golint errors in pkg/controller
2014-07-10 21:27:01 +09:00
Daniel Smith
a6144f656c
Move etcd helpers to tools package so they can depend on api package. Add ResourceVersion, hook it up to etcd index to get atomic PUTs.
2014-07-02 15:42:05 -07:00
Nan Deng
905c6dcb10
gofmt -r "WaitToWatch->WaitForWatchCompletion"
2014-06-30 16:09:15 -07:00
Nan Deng
62055090b4
fix data races in controller
2014-06-30 14:48:57 -07:00
Daniel Smith
61a494d303
First step of combination.
2014-06-24 09:38:22 -07:00
Brendan Burns
84b2a9e9f3
On delete, also attempt to update controller state, in case we
...
missed a previous update. Add a test to validate that this works
2014-06-18 21:32:55 -07:00
Daniel Smith
a253209a2c
Add test for watch goroutine handling, fix other review comments
2014-06-18 13:10:39 -07:00
Daniel Smith
7e464aa55c
Test controller's synchronize method. Requires fake etcd client to be relocated.
2014-06-18 13:10:39 -07:00
Daniel Smith
a24116c7bd
Move controller to it's own package, it's not part of the registry.
2014-06-18 13:10:39 -07:00