code: func (i *Index) Chart(name string) (*repo.ChartVersion, error) {
  	c, ok := i.charts[name]
  	if !ok {
  		return nil, errors.New("no such chart")
  	}
  	return c, nil
  }
docs: // Chart returns the ChartVersion for a particular name.