package
3.1.0+incompatible
Repository: https://github.com/mem/singularity.git
Documentation: pkg.go.dev
# Functions
CountChilds returns the number of child processes for a given process id.
ExtractPid returns a pid extracted from path of type "/proc/1".
HasFilesystem returns whether kernel support filesystem or not.
HasNamespace checks if host namespace and container namespace are different.
ParentMount parses mountinfo and return the path of parent mount point for which the provided path is mounted in.
ParseMountInfo parses mountinfo pointing to path and returns a map of parent mount points with associated child mount points.
ReadIDMap reads uid_map or gid_map and returns both container ID and host ID.
SetOOMScoreAdj sets OOM score for process with pid.