var _ … const containerName1 … const containerName2 … func mount(source *v1.HostPathVolumeSource) []v1.Volume { … } // TODO: To merge this with the emptyDir tests, we can make source a lambda. func testPodWithHostVol(path string, source *v1.HostPathVolumeSource, privileged bool) *v1.Pod { … }