overlayUtils

package module
v0.0.0-...-a33b350 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLowerLayers

func GetLowerLayers(mntOpts *MountOpts) []string

func GetUpperLayer

func GetUpperLayer(mntOpts *MountOpts) string

Types

type MountOpts

type MountOpts struct {
	Opts      string
	Flags     int
	PropFlags int
}

func GetMountOpt

func GetMountOpt(mi *mount.Info) *MountOpts

GetMountOpt returns the mount options string, mount flags, and mount propagation flags of the overlayfs mount at the given path.

Jump to

Keyboard shortcuts

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