code: func DescribeResourceQuotas(quotas *api.ResourceQuotaList, w io.Writer) {
  	if len(quotas.Items) == 0 {
  		fmt.Fprint(w, "No resource quota.\n")
  		return
  	}
  	resources := []api.ResourceName{}
  	hard := map[api.ResourceName]resource.Quantity{}
  	used := map[api.ResourceName]resource.Quantity{}
  	for _, q := range quotas.Items {
  		for resource := range q.Status.Hard {
  			resources = append(resources, resource)
  			hardQuantity := q.Status.Hard[resource]
  			usedQuantity := q.Status.Used[resource]
  
  			// if for some reason there are multiple quota documents, we take least permissive
  			prevQuantity, ok := hard[resource]
  			if ok {
  				if hardQuantity.Value() < prevQuantity.Value() {
  					hard[resource] = hardQuantity
  				}
  			} else {
  				hard[resource] = hardQuantity
  			}
  			used[resource] = usedQuantity
  		}
  	}
  
  	sort.Sort(SortableResourceNames(resources))
  	fmt.Fprint(w, "Resource Quotas\n Resource\tUsed\tHard\n")
  	fmt.Fprint(w, " ---\t---\t---\n")
  	for _, resource := range resources {
  		hardQuantity := hard[resource]
  		usedQuantity := used[resource]
  		fmt.Fprintf(w, " %s\t%s\t%s\n", string(resource), usedQuantity.String(), hardQuantity.String())
  	}
  }
docs: // DescribeResourceQuotas merges a set of quota items into a single tabular description of all quotas