Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetVolumeMountDir ¶ added in v0.54.0
func NewHotplugDiskManager ¶ added in v0.42.0
func NewHotplugDiskManager() *hotplugDiskManager
func NewHotplugDiskWithOptions ¶ added in v0.42.0
func NewHotplugDiskWithOptions(podsBaseDir string) *hotplugDiskManager
func SetLocalDirectory ¶
SetLocalDirectory 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.
Types ¶
type HotplugDiskManagerInterface ¶ added in v0.42.0
type HotplugDiskManagerInterface interface { GetHotplugTargetPodPathOnHost(virtlauncherPodUID types.UID) (string, error) GetFileSystemDiskTargetPathFromHostView(virtlauncherPodUID types.UID, volumeName string, create bool) (string, error) GetFileSystemDirectoryTargetPathFromHostView(virtlauncherPodUID types.UID, volumeName string, create bool) (string, error) }
Click to show internal directories.
Click to hide internal directories.