const downwardAPIDir … const testPodUID … const testNamespace … const testName … func newTestHost(t *testing.T, clientset clientset.Interface) (string, volume.VolumeHost) { … } func TestCanSupport(t *testing.T) { … } func TestDownwardAPI(t *testing.T) { … } type downwardAPITest … func newDownwardAPITest(t *testing.T, name string, volumeFiles, podLabels, podAnnotations map[string]string, modes map[string]int32) *downwardAPITest { … } func (test *downwardAPITest) tearDown() { … } type testStep … type stepName … func (step stepName) getName() string { … } func doVerifyLinesInFile(t *testing.T, volumePath, filename string, expected string) { … } type verifyLinesInFile … func (step verifyLinesInFile) run(test *downwardAPITest) { … } type verifyMapInFile … func (step verifyMapInFile) run(test *downwardAPITest) { … } type verifyMode … func (step verifyMode) run(test *downwardAPITest) { … } type reSetUp … func (step reSetUp) run(test *downwardAPITest) { … }