code: func PodRequestsAndLimits(pod *corev1.Pod) (reqs, limits corev1.ResourceList) {
  	reqs, limits = corev1.ResourceList{}, corev1.ResourceList{}
  	for _, container := range pod.Spec.Containers {
  		addResourceList(reqs, container.Resources.Requests)
  		addResourceList(limits, container.Resources.Limits)
  	}
  	// init containers define the minimum of any resource
  	for _, container := range pod.Spec.InitContainers {
  		maxResourceList(reqs, container.Resources.Requests)
  		maxResourceList(limits, container.Resources.Limits)
  	}
  	return
  }
docs: // PodRequestsAndLimits returns a dictionary of all defined resources summed up for all
  // containers of the pod.