overlay

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupContent added in v1.8.4

func CleanupContent(containerDir string) (Err error)

CleanupContent removes all temporary mountpoint and all content from directory

func MountTemp

func MountTemp(store storage.Store, containerId, source, dest string, rootUID, rootGID int) (mount specs.Mount, contentDir string, Err error)

MountTemp creates a subdir of the contentDir based on the source directory from the source system. It then mounds up the source directory on to the generated mount point and returns the mount point to the caller.

func RemoveTemp

func RemoveTemp(contentDir string) error

RemoveTemp removes temporary mountpoint and all content from its parent directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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