overlay

package
v3.0.0-beta.1+incompat... Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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