Documentation ¶
Index ¶
- func CleanupContent(containerDir string) (Err error)
- func CleanupMount(contentDir string) (Err error)
- func Mount(contentDir, source, dest string, rootUID, rootGID int, graphOptions []string) (mount specs.Mount, Err error)
- func RemoveTemp(contentDir string) error
- func TempDir(containerDir string, rootUID, rootGID int) (string, error)
- func Unmount(contentDir string) (Err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupContent ¶ added in v1.8.4
CleanupContent removes all temporary mountpoint and all content from directory
func CleanupMount ¶ added in v1.13.0
CleanupMount removes all temporary mountpoint content
func Mount ¶ added in v1.13.0
func Mount(contentDir, source, dest string, rootUID, rootGID int, graphOptions []string) (mount specs.Mount, Err error)
Mount creates a subdir of the contentDir based on the source directory from the source system. It then mounts up the source directory on to the generated mount point and returns the mount point to the caller.
func RemoveTemp ¶
RemoveTemp removes temporary mountpoint and all content from its parent directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.