kubernetes/pkg/volume/local/local_test.go

const testPVName

const testMountPath

const testGlobalPath

const testPodPath

const testBlockFormattingToFSGlobalPath

func getPlugin(t *testing.T) (string, volume.VolumePlugin) {}

func getBlockPlugin(t *testing.T) (string, volume.BlockVolumePlugin) {}

func getNodeExpandablePlugin(t *testing.T, isBlockDevice bool) (string, volume.NodeExpandableVolumePlugin) {}

func getPersistentPlugin(t *testing.T) (string, volume.PersistentVolumePlugin) {}

func getDeviceMountablePluginWithBlockPath(t *testing.T, isBlockDevice bool) (string, volume.DeviceMountableVolumePlugin) {}

func getTestVolume(readOnly bool, path string, isBlock bool, mountOptions []string) *volume.Spec {}

func TestCanSupport(t *testing.T) {}

func TestGetAccessModes(t *testing.T) {}

func TestGetVolumeName(t *testing.T) {}

func TestInvalidLocalPath(t *testing.T) {}

func TestBlockDeviceGlobalPathAndMountDevice(t *testing.T) {}

func TestFSGlobalPathAndMountDevice(t *testing.T) {}

func TestNodeExpand(t *testing.T) {}

func TestMountUnmount(t *testing.T) {}

// TestMapUnmap tests block map and unmap interfaces.
func TestMapUnmap(t *testing.T) {}

func testFSGroupMount(plug volume.VolumePlugin, pod *v1.Pod, tmpDir string, fsGroup int64) error {}

func TestConstructVolumeSpec(t *testing.T) {}

func TestConstructBlockVolumeSpec(t *testing.T) {}

func TestMountOptions(t *testing.T) {}

func TestPersistentClaimReadOnlyFlag(t *testing.T) {}

func TestUnsupportedPlugins(t *testing.T) {}

func TestFilterPodMounts(t *testing.T) {}