Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithFakeRootDev ¶
WithFakeRootDev calls the specified function passing it the path to the fake block device and its containing directory.
func WithFakeRootDevs ¶
func WithFakeRootDevs(t *testing.T, size uint64, names []string, toCall func(devPaths []string, devDir string))
WithFakeRootDevs calls the specified function passing it the paths to the fake block devices and their containing directory.
func WithFakeRootDevsAndSysfs ¶
func WithFakeRootDevsAndSysfs(t *testing.T, toCall func(devPaths []string, table, devDir, sysfsDir string))
WithFakeRootDevsAndSysfs calls the specified function passing it the paths to the fake block devices and their containing directory, as well as the path to fake sysfs containing uevent entries for the fake devices.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.