mounter

package
v0.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveRootDir

func ResolveRootDir(dir string) (string, error)

Types

type Mounter

type Mounter struct {
	// contains filtered or unexported fields
}

func NewMounter

func NewMounter(rootDir string) *Mounter

func (*Mounter) BindMount

func (m *Mounter) BindMount(hostDir, containerDir string) error

func (*Mounter) GetMountsRoot

func (m *Mounter) GetMountsRoot() ([]*mount.Info, error)

func (*Mounter) MountSysProc

func (m *Mounter) MountSysProc() error

func (*Mounter) RoBindMount

func (m *Mounter) RoBindMount(hostDir, containerDir string) error

func (*Mounter) UmountRoot

func (m *Mounter) UmountRoot() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL