package
1.5.0-rc.1
Repository: https://github.com/kubevirt/kubevirt.git
Documentation: pkg.go.dev

# Functions

AdjustQemuProcessMemoryLimits adjusts QEMU process MEMLOCK rlimits that runs inside virt-launcher pod on the given VMI according to its spec.
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.
NewSocketBasedIsolationDetector takes socketDir and creates a socket based IsolationDetector It returns a PodIsolationDetector which detects pid, cgroups and namespaces of the socket owner.
ParentPathForRootMount takes a container (child) and composes a path to the root mount point in the context of the parent.

# Constants

# Structs

Mock of IsolationResult interface.
Mock of PodIsolationDetector interface.

# Interfaces

IsolationResult is the result of a successful PodIsolationDetector.Detect.
PodIsolationDetector helps detecting cgroups, namespaces and PIDs of Pods from outside of them.