Added UndeltaStore.

This will be used to connect Reflector to kubelet update channel.

Added testing.
This commit is contained in:
Eric Tune
2014-11-21 13:14:30 -08:00
parent 2a2cef84d6
commit 793bf6a79d
3 changed files with 198 additions and 0 deletions

View File

@@ -107,3 +107,8 @@ func TestCache(t *testing.T) {
func TestFIFOCache(t *testing.T) {
doTestStore(t, NewFIFO())
}
func TestUndeltaStore(t *testing.T) {
nop := func([]interface{}) {}
doTestStore(t, NewUndeltaStore(nop))
}