[Kubernetes]Index结构分析

Index结构 在这里Index存储接口的具体实现是cache。 1 2 3 4 5 6 7 8 type cache struct { // cacheStorage bears the burden of thread safety for the cache cacheStorage ThreadSafeStore // keyFunc is used to make the key for objects stored in and retrieved