# Functions
AdjustQemuProcessMemoryLimits adjusts QEMU process MEMLOCK rlimits that runs inside virt-launcher pod on the given VMI according to its spec.
No description provided by the author
Returns the pid of "vmpid" as seen from the first pid namespace the task belongs to.
IsBlockDevice checks if the given path is a block device or not.
IsMounted checks if the given path is a mount point or not.
MountInfoRoot returns the mount information for the root mount point.
No description provided by the author
No description provided by the author
No description provided by the author
NewSocketBasedIsolationDetector takes socketDir and creates a socket based IsolationDetector It returns a PodIsolationDetector which detects pid, cgroups and namespaces of the socket owner.
No description provided by the author
No description provided by the author
ParentPathForRootMount takes a container (child) and composes a path to the root mount point in the context of the parent.
No description provided by the author
# Constants
No description provided by the author
# Structs
Mock of IsolationResult interface.
Mock of PodIsolationDetector interface.
No description provided by the author
# Interfaces
IsolationResult is the result of a successful PodIsolationDetector.Detect.
PodIsolationDetector helps detecting cgroups, namespaces and PIDs of Pods from outside of them.