code: func NewObjectCache(listObject listObjectFunc, watchObject watchObjectFunc, newObject newObjectFunc, groupResource schema.GroupResource) Store {
  	return &objectCache{
  		listObject:    listObject,
  		watchObject:   watchObject,
  		newObject:     newObject,
  		groupResource: groupResource,
  		items:         make(map[objectKey]*objectCacheItem),
  	}
  }
docs: // NewObjectCache returns a new watch-based instance of Store interface.