code: func (r *Reflector) syncWith(items []runtime.Object, resourceVersion string) error {
  	found := make([]interface{}, 0, len(items))
  	for _, item := range items {
  		found = append(found, item)
  	}
  	return r.store.Replace(found, resourceVersion)
  }
docs: // syncWith replaces the store's items with the given list.