mount

package
v0.0.0-...-03f4643 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OverlayTypeMismatchError = errors.New("not overlay type")
)

Functions

func MountAll

func MountAll(mounts []Mount, target string) error

func Unmount

func Unmount(target string, flags int) error

func UnmountAll

func UnmountAll(target string, flags int) error

Types

type Mount

type Mount mnt.Mount

Mount is a 'Mount' struct from containerd

func (*Mount) IsOverlay

func (m *Mount) IsOverlay() bool

func (*Mount) Lowers

func (m *Mount) Lowers() []string

func (*Mount) Mount

func (m *Mount) Mount(target string) error

func (*Mount) SetLowers

func (m *Mount) SetLowers(lowers []string)

func (*Mount) SetUpper

func (m *Mount) SetUpper(upper string)

func (*Mount) SetWork

func (m *Mount) SetWork(work string)

func (*Mount) Upper

func (m *Mount) Upper() string

func (*Mount) Work

func (m *Mount) Work() string

Jump to

Keyboard shortcuts

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