Affected by GO-2022-1000
and 2 other vulnerabilities
GO-2022-1000 : KubeVirt vulnerable to arbitrary file read on host in kubevirt.io/kubevirt
GO-2024-2688 : KubeVirt NULL pointer dereference flaw in kubevirt.io/kubevirt
GO-2024-2816 : kubevirt allows a local attacker to execute arbitrary code via a crafted command in kubevirt.io/kubevirt
Discover Packages
kubevirt.io/kubevirt
pkg
hotplug-disk
package
Version:
v0.46.1
Opens a new window with list of versions in this module.
Published: Oct 12, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
CreateLocalDirectory creates the base directory where disk images will be mounted when hotplugged. File system volumes will be in
a directory under this, that contains the volume name. block volumes will be in this directory as a block device.
func NewHotplugDiskManager() *hotplugDiskManager
func NewHotplugDiskWithOptions(podsBaseDir string ) *hotplugDiskManager
type HotplugDiskManagerInterface interface {
GetHotplugTargetPodPathOnHost(virtlauncherPodUID types .UID ) (string , error )
GetFileSystemDiskTargetPathFromHostView(virtlauncherPodUID types .UID , volumeName string , create bool ) (string , error )
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.