code: func getFieldRef(obj runtime.Object, from *corev1.EnvVarSource) (string, error) {
  	return extractFieldPathAsString(obj, from.FieldRef.FieldPath)
  }
docs: // getFieldRef returns the value of the supplied path in the given object