fakeroot

package
v4.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserMapping

type UserMapping func(path string, uid uint32) (*specs.LinuxIDMapping, error)

UserMapping callback returns fakeroot user mappings from plugin (eg: to get fakeroot mapping from an external database). If more than one plugin uses this callback the runtime aborts its execution. This callback is called in: - internal/pkg/runtime/engine/fakeroot/engine_linux.go (build command) - internal/pkg/runtime/engine/singularity/prepare_linux.go (actions commands) This function is usually called two times, a first time with path set to "/etc/subuid" and a second time with path set to "/etc/subgid" to get container UID and GID mappings for the user specified by the uid parameter.

Jump to

Keyboard shortcuts

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