add mutation cache filter

Kubernetes-commit: f88c7725b4f9446c652d160bdcfab7c6201bddea
This commit is contained in:
deads2k
2017-05-16 08:20:47 -04:00
committed by Kubernetes Publisher
parent a53d10f5ad
commit 0aaf615b8c
5 changed files with 252 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ type Indexer interface {
Store
// Retrieve list of objects that match on the named indexing function
Index(indexName string, obj interface{}) ([]interface{}, error)
// IndexKeys returns the set of keys that match on the named indexing function.
IndexKeys(indexName, indexKey string) ([]string, error)
// ListIndexFuncValues returns the list of generated values of an Index func
ListIndexFuncValues(indexName string) []string
// ByIndex lists object that match on the named indexing function with the exact key