code: func WriteWatchCacheSizes(watchCacheSizes map[schema.GroupResource]int) ([]string, error) {
  	var cacheSizes []string
  
  	for resource, size := range watchCacheSizes {
  		if size < 0 {
  			return nil, fmt.Errorf("watch cache size cannot be negative for resource %s", resource)
  		}
  		cacheSizes = append(cacheSizes, fmt.Sprintf("%s#%d", resource.String(), size))
  	}
  	return cacheSizes, nil
  }
docs: // WriteWatchCacheSizes turns a map of cache size values into a list of string specifications.