kubernetes/pkg/volume/volume_linux_test.go

type localFakeMounter

func (l *localFakeMounter) GetPath() string {}

func (l *localFakeMounter) GetAttributes() Attributes {}

func (l *localFakeMounter) SetUp(mounterArgs MounterArgs) error {}

func (l *localFakeMounter) SetUpAt(dir string, mounterArgs MounterArgs) error {}

func (l *localFakeMounter) GetMetrics() (*Metrics, error) {}

func TestSkipPermissionChange(t *testing.T) {}

func TestSetVolumeOwnershipMode(t *testing.T) {}

// verifyDirectoryPermission checks if given path has directory permissions
// that is expected by k8s. If returns true if it does otherwise false
func verifyDirectoryPermission(path string, readonly bool) bool {}

func TestSetVolumeOwnershipOwner(t *testing.T) {}

// verifyFileOwner checks if given path is owned by uid and gid.
// It returns true if it is otherwise false.
func verifyFileOwner(path string, uid, gid int) bool {}