kubernetes/pkg/volume/emptydir/empty_dir_test.go

// Construct an instance of a plugin, by name.
func makePluginUnderTest(t *testing.T, plugName, basePath string) volume.VolumePlugin {}

func TestCanSupport(t *testing.T) {}

type fakeMountDetector

func (fake *fakeMountDetector) GetMountMedium(path string, requestedMedium v1.StorageMedium) (v1.StorageMedium, bool, *resource.Quantity, error) {}

func TestPluginEmptyRootContext(t *testing.T) {}

func TestPluginHugetlbfs(t *testing.T) {}

type pluginTestConfig

// doTestPlugin sets up a volume and tears it back down.
func doTestPlugin(t *testing.T, config pluginTestConfig) {}

func testSetUp(mounter volume.Mounter, metadataDir, volPath string) error {}

func testTearDown(unmounter volume.Unmounter, metadataDir, volPath string) error {}

func TestPluginBackCompat(t *testing.T) {}

// TestMetrics tests that MetricProvider methods return sane values.
func TestMetrics(t *testing.T) {}

func TestGetHugePagesMountOptions(t *testing.T) {}

type testMountDetector

func (md *testMountDetector) GetMountMedium(path string, requestedMedium v1.StorageMedium) (v1.StorageMedium, bool, *resource.Quantity, error) {}

func TestSetupHugepages(t *testing.T) {}

func TestGetPageSize(t *testing.T) {}

func TestCalculateEmptyDirMemorySize(t *testing.T) {}

func TestTmpfsMountOptions(t *testing.T) {}