type FakeMounter …
type UnmountFunc …
var _ …
const FakeActionMount …
const FakeActionUnmount …
type FakeAction …
func NewFakeMounter(mps []MountPoint) *FakeMounter { … }
func (f *FakeMounter) WithSkipMountPointCheck() *FakeMounter { … }
func (f *FakeMounter) ResetLog() { … }
func (f *FakeMounter) GetLog() []FakeAction { … }
func (f *FakeMounter) Mount(source string, target string, fstype string, options []string) error { … }
func (f *FakeMounter) MountSensitive(source string, target string, fstype string, options []string, sensitiveOptions []string) error { … }
func (f *FakeMounter) MountSensitiveWithoutSystemd(source string, target string, fstype string, options []string, sensitiveOptions []string) error { … }
func (f *FakeMounter) MountSensitiveWithoutSystemdWithMountFlags(source string, target string, fstype string, options []string, sensitiveOptions []string, mountFlags []string) error { … }
func (f *FakeMounter) Unmount(target string) error { … }
func (f *FakeMounter) List() ([]MountPoint, error) { … }
func (f *FakeMounter) IsLikelyNotMountPoint(file string) (bool, error) { … }
func (f *FakeMounter) CanSafelySkipMountPointCheck() bool { … }
func (f *FakeMounter) IsMountPoint(file string) (bool, error) { … }
func (f *FakeMounter) GetMountRefs(pathname string) ([]string, error) { … }