hotplugdisk

package
v0.36.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileSystemDiskTargetPathFromHostView

func GetFileSystemDiskTargetPathFromHostView(virtlauncherPodUID types.UID, volumeName string, create bool) (string, error)

GetFileSystemDiskTargetPathFromHostView gets the disk image file in the target pod (virt-launcher) on the host.

func GetHotplugTargetPodPathOnHost

func GetHotplugTargetPodPathOnHost(virtlauncherPodUID types.UID) (string, error)

GetHotplugTargetPodPathOnHost retrieves the target pod (virt-launcher) path on the host.

func SetKubeletPodsDirectory

func SetKubeletPodsDirectory(dir string)

SetKubeletPodsDirectory sets the base directory of where the kubelet stores its pods.

func SetLocalDirectory

func SetLocalDirectory(dir string) error

SetLocalDirectory sets 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

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL