Paul Morie
2377bada68
Add implements assertion for cache
2015-11-11 16:20:56 -05:00
Mike Danese
933daef3f8
fix cache.Get error handling on bad key
2015-10-21 11:43:30 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Kris Rousey
7ba5b058cc
Moving client libs to unversioned dir
2015-08-18 10:03:19 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
deads2k
9386db8c99
support multiple index values for a single object
2015-07-29 07:54:09 -04:00
markturansky
e5a4b75421
Added ability to get generated values of an index func
2015-07-23 10:00:04 -04:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Daniel Smith
a2953fdc7e
Make endpoint controller use framework
2015-04-17 15:21:51 -07:00
Daniel Smith
5f7715f0e9
Make scheduler not miss deletion events even in the case of a resync.
2015-04-10 14:05:08 -07:00
Daniel Smith
880f922bb6
Add easy setup for simple controller
...
Also add tests; coverage up to 86.7%
2015-04-10 14:05:07 -07:00
Prashanth Balasubramanian
a7864aa230
Scheduler uses TTLStore for assumed pods
2015-04-08 15:01:04 -07:00
Derek Carr
6eb54e73e0
Merge pull request #5270 from lavalamp/fix7
...
Controller framework
2015-04-07 16:58:09 -04:00
Daniel Smith
0c2d3ffe68
Single-key matching behavior in generic.Matcher
2015-04-03 13:11:21 -07:00
Daniel Smith
8ee9ee9920
add ListKeys method to Store
2015-04-02 15:26:39 -07:00
Daniel Smith
af870b8772
Add proper key error type
2015-03-31 10:25:29 -07:00
derekwaynecarr
192e186119
If an object has no namespace, do not add a leading slash
2015-02-12 17:14:16 -05:00
derekwaynecarr
53f1efa484
Make sure we remove old object from index before adding new
2015-02-09 16:44:51 -05:00
derekwaynecarr
1cf69bdefc
Support multiple index functions, address feedback
2015-02-09 16:44:51 -05:00
derekwaynecarr
7a2d63048d
Enable look-up by secondary index in cache
2015-02-09 16:44:51 -05:00
Clayton Coleman
3ca23163ae
Add a GetByKey method to Store
...
Without the ability to retrieve underlying items by key (instead of
the object passed to KeyFunc) it is impossible to build wrappers
around cache.Store that want to make decisions about keys, because
they would need to reconstruct the object passed to Get.
This allows retrieval by key, and makes sure Get(obj) uses it.
2015-02-01 14:55:45 -05:00
Dan Mace
5ee943d683
Support namespacing in cache.Store implementations
...
Support namespacing in cache.Store by framing the interface functions
around interface{} and providing a key function to each Store implementation.
Implementation of a fix for #2294 .
2015-01-29 17:39:49 -05:00
Paul Morie
80b1e2dde3
Typo fix
2014-11-12 13:05:08 -05:00
Paul Morie
e2be1564a4
Rename client/cache Store.Contains to ContainedIDs
2014-11-11 11:48:15 -05:00
Daniel Smith
b1169ed91e
Fix cache to use the "List then Watch" pattern.
2014-09-16 16:17:15 -07:00
Daniel Smith
4c4ca59050
Add poller to cache.
2014-08-20 15:32:49 -07:00
Daniel Smith
041d56f3d0
finish testing client/cache
2014-08-04 14:50:01 -07:00