Versions in this module Expand all Collapse all v0 v0.13.0 May 29, 2015 v0.12.1 May 14, 2015 v0.12.0 May 12, 2015 v0.11.0 Apr 29, 2015 Changes in this version + func GetDeviceNameFromMount(mounter Interface, mountPath string) (string, int, error) type FakeMounter + func (f *FakeMounter) IsMountPoint(file string) (bool, error) type Interface + IsMountPoint func(file string) (bool, error) type Mounter + func (mounter *Mounter) IsMountPoint(file string) (bool, error) v0.10.0 Apr 1, 2015 Changes in this version + const FakeActionMount + const FakeActionUnmount + const FlagBind + const FlagReadOnly + func GetMountRefs(mounter Interface, mountPath string) ([]string, error) + func IsMountPoint(file string) (bool, error) + type FakeAction struct + Action string + FSType string + Source string + Target string + type FakeMounter struct + Log []FakeAction + MountPoints []MountPoint + func (f *FakeMounter) List() ([]MountPoint, error) + func (f *FakeMounter) Mount(source string, target string, fstype string, flags uintptr, data string) error + func (f *FakeMounter) ResetLog() + func (f *FakeMounter) Unmount(target string, flags int) error + type Interface interface + List func() ([]MountPoint, error) + Mount func(source string, target string, fstype string, flags uintptr, data string) error + Unmount func(target string, flags int) error + func New() Interface + type MountPoint struct + Device string + Freq int + Opts []string + Pass int + Path string + Type string + type Mounter struct + func (*Mounter) List() ([]MountPoint, error) + func (mounter *Mounter) List() ([]MountPoint, error) + func (mounter *Mounter) Mount(source string, target string, fstype string, flags uintptr, data string) error + func (mounter *Mounter) Unmount(target string, flags int) error