Documentation ¶
Index ¶
- type Mounter
- func (n *Mounter) GetMountRefs(pathname string) ([]string, error)
- func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error)
- func (*Mounter) List() ([]mount.MountPoint, error)
- func (n *Mounter) Mount(source string, target string, fstype string, options []string) error
- func (n *Mounter) Unmount(target string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mounter ¶
type Mounter struct {
// contains filtered or unexported fields
}
func (*Mounter) IsLikelyNotMountPoint ¶
func (*Mounter) List ¶
func (*Mounter) List() ([]mount.MountPoint, error)
List returns a list of all mounted filesystems in the host's mount namespace.
Click to show internal directories.
Click to hide internal directories.