code: func getResourceFieldRef(from *corev1.EnvVarSource, container *corev1.Container) (string, error) {
  	return extractContainerResourceValue(from.ResourceFieldRef, container)
  }
docs: // getResourceFieldRef returns the value of a resource in the given container