kubernetes/pkg/volume/util/device_util_linux_test.go

type mockOsIOHandler

func (handler *mockOsIOHandler) ReadFile(filename string) ([]byte, error) {}

func (handler *mockOsIOHandler) ReadDir(dirname string) ([]os.FileInfo, error) {}

func (handler *mockOsIOHandler) Lstat(name string) (os.FileInfo, error) {}

func (handler *mockOsIOHandler) EvalSymlinks(path string) (string, error) {}

func (handler *mockOsIOHandler) WriteFile(filename string, data []byte, perm os.FileMode) error {}

type fakeFileInfo

func (fi *fakeFileInfo) Name() string {}

func (fi *fakeFileInfo) Size() int64 {}

func (fi *fakeFileInfo) Mode() os.FileMode {}

func (fi *fakeFileInfo) ModTime() time.Time {}

func (fi *fakeFileInfo) IsDir() bool {}

func (fi *fakeFileInfo) Sys() interface{}

func TestFindMultipathDeviceForDevice(t *testing.T) {}

func TestFindDeviceForPath(t *testing.T) {}

func TestFindSlaveDevicesOnMultipath(t *testing.T) {}

func TestGetISCSIPortalHostMapForTarget(t *testing.T) {}

func TestFindDevicesForISCSILun(t *testing.T) {}