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

@@ -172,6 +172,10 @@ func (c *cache) Index(indexName string, obj interface{}) ([]interface{}, error)
return c.cacheStorage.Index(indexName, obj)
}
func (c *cache) IndexKeys(indexName, indexKey string) ([]string, error) {
return c.cacheStorage.IndexKeys(indexName, indexKey)
}
// ListIndexFuncValues returns the list of generated values of an Index func
func (c *cache) ListIndexFuncValues(indexName string) []string {
return c.cacheStorage.ListIndexFuncValues(indexName)