overlayutils

package
v0.0.0-...-8ef2275 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrDTypeNotSupported

func ErrDTypeNotSupported(driver, backingFs string) error

ErrDTypeNotSupported denotes that the backing filesystem doesn't support d_type.

func GenerateID

func GenerateID(l int, logger *log.Entry) string

GenerateID creates a new random string identifier with the given length

func GetOverlayXattr

func GetOverlayXattr(name string) string

GetOverlayXattr combines the overlay module's xattr class with the named xattr -- `user` when mounted inside a user namespace, and `trusted` when mounted in the 'root' namespace.