code: func defaultContainerResourceRequirements(limitRange *corev1.LimitRange) api.ResourceRequirements {
  	requirements := api.ResourceRequirements{}
  	requirements.Requests = api.ResourceList{}
  	requirements.Limits = api.ResourceList{}
  
  	for i := range limitRange.Spec.Limits {
  		limit := limitRange.Spec.Limits[i]
  		if limit.Type == corev1.LimitTypeContainer {
  			for k, v := range limit.DefaultRequest {
  				value := v.Copy()
  				requirements.Requests[api.ResourceName(k)] = *value
  			}
  			for k, v := range limit.Default {
  				value := v.Copy()
  				requirements.Limits[api.ResourceName(k)] = *value
  			}
  		}
  	}
  	return requirements
  }
docs: // defaultContainerResourceRequirements returns the default requirements for a container
  // the requirement.Limits are taken from the LimitRange defaults (if specified)
  // the requirement.Requests are taken from the LimitRange default request (if specified)