overlayfs

package
v0.6.5-0...-c050ab2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TmpDirSuffix = ".tmp"

Variables

This section is empty.

Functions

func Create

func Create(layerPath string) error

Types

type Instance

type Instance struct {
	MountPoint string
	Layers     []string
}

func FromPath

func FromPath(basePath, layerPath string) *Instance

func (*Instance) Merge

func (i *Instance) Merge() error

MergeFile is the method to merge a file or directory from an upper layer to a lower layer.

func (*Instance) Mount

func (i *Instance) Mount(readOnly bool) error

func (*Instance) MountLocal

func (i *Instance) MountLocal() error

func (*Instance) Rollback

func (i *Instance) Rollback() error

func (*Instance) Unmount

func (i *Instance) Unmount() error

Jump to

Keyboard shortcuts

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