kubernetes/pkg/volume/configmap/configmap_test.go

func TestMakePayload(t *testing.T) {}

func newTestHost(t *testing.T, clientset clientset.Interface) (string, volume.VolumeHost) {}

func TestCanSupport(t *testing.T) {}

func TestPlugin(t *testing.T) {}

// Test the case where the plugin's ready file exists, but the volume dir is not a
// mountpoint, which is the state the system will be in after reboot.  The dir
// should be mounter and the configMap data written to it.
func TestPluginReboot(t *testing.T) {}

func TestPluginOptional(t *testing.T) {}

func TestPluginKeysOptional(t *testing.T) {}

func volumeSpec(volumeName, configMapName string, defaultMode int32) *v1.Volume {}

func TestInvalidConfigMapSetup(t *testing.T) {}

func configMap(namespace, name string) v1.ConfigMap {}

func doTestConfigMapDataInVolume(volumePath string, configMap v1.ConfigMap, t *testing.T) {}

func doTestCleanAndTeardown(plugin volume.VolumePlugin, podUID types.UID, testVolumeName, volumePath string, t *testing.T) {}

func hasPathSuffix(s, suffix string) bool {}