code: func (c *ContainerServer) ReservePodName(id, name string) (string, error) {
  	if err := c.podNameIndex.Reserve(name, id); err != nil {
  		err = fmt.Errorf("error reserving pod name %s for id %s", name, id)
  		logrus.Warn(err)
  		return "", err
  	}
  	return name, nil
  }
docs: // ReservePodName holds a name for a pod that is being created