package
1.4.1
Repository: https://github.com/singholt/containerd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateUnixSocket creates a unix socket and returns the listener.
FMountat performs mount from the provided directory.
ForceRemoveAll on unix is just a wrapper for os.RemoveAll.
GetLocalListener returns a listener out of a unix socket.
GetOOMScoreAdj gets the oom score for a process.
GetOpenFds returns the number of open fds for the process provided by pid.
IsFifo checks if a file is a (named pipe) fifo if the file does not exist then it returns false.
MkdirAllWithACL is a wrapper for os.MkdirAll on Unix systems.
RunningInUserNS detects whether we are currently running in a user namespace.
RunningPrivileged returns true if the effective user ID of the calling process is 0.
RunningUnprivileged returns true if the effective user ID of the calling process is not 0.
SetOOMScore sets the oom score for the provided pid.
StatAtime returns the Atim.
StatATimeAsTime returns st.Atim as a time.Time.
StatCtime returns the Ctim.
StatMtime returns the Mtim.

# Constants

OOMScoreMaxKillable is the maximum score keeping the process killable by the oom killer.

# Variables

EpollCreate1 is an alias for unix.EpollCreate1 Deprecated: use golang.org/x/sys/unix.EpollCreate1.
EpollCtl is an alias for unix.EpollCtl Deprecated: use golang.org/x/sys/unix.EpollCtl.
EpollWait is an alias for unix.EpollWait Deprecated: use golang.org/x/sys/unix.EpollWait.