overlay

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Overlay

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

Overlay layer manager

func New

func New() *Overlay

New creates and returns an overlay layer manager

func (*Overlay) Add

func (o *Overlay) Add(session *layout.Session, system *mount.System) error

Add adds required directory in session layout

func (*Overlay) AddLowerDir

func (o *Overlay) AddLowerDir(path string) error

AddLowerDir adds a lower directory to overlay mount

func (*Overlay) GetUpperDir

func (o *Overlay) GetUpperDir() string

GetUpperDir returns upper directory path

func (*Overlay) GetWorkDir

func (o *Overlay) GetWorkDir() string

GetWorkDir returns work directory path

func (*Overlay) SetUpperDir

func (o *Overlay) SetUpperDir(path string) error

SetUpperDir sets upper directory to overlay mount

func (*Overlay) SetWorkDir

func (o *Overlay) SetWorkDir(path string) error

SetWorkDir sets work directory to overlay mount

Jump to

Keyboard shortcuts

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