code: func localEphemeralVolumeNames(pod *v1.Pod) []string {
  	result := []string{}
  	for _, volume := range pod.Spec.Volumes {
  		if volume.GitRepo != nil ||
  			(volume.EmptyDir != nil && volume.EmptyDir.Medium != v1.StorageMediumMemory) ||
  			volume.ConfigMap != nil || volume.DownwardAPI != nil {
  			result = append(result, volume.Name)
  		}
  	}
  	return result
  }
docs: // localEphemeralVolumeNames returns the set of ephemeral volumes for the pod that are local