hostdisk

package
v0.32.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

View Source
const (
	EventReasonToleratedSmallPV = "ToleratedSmallPV"
	EventTypeToleratedSmallPV   = k8sv1.EventTypeNormal
)

Variables

This section is empty.

Functions

func GetMountedHostDiskDir added in v0.20.0

func GetMountedHostDiskDir(volumeName string) string

func GetMountedHostDiskPath added in v0.20.0

func GetMountedHostDiskPath(volumeName string, path string) string

func ReplacePVCByHostDisk

func ReplacePVCByHostDisk(vmi *v1.VirtualMachineInstance, clientset kubecli.KubevirtClient) error

Types

type DiskImgCreator added in v0.9.6

type DiskImgCreator struct {
	// contains filtered or unexported fields
}

func NewHostDiskCreator added in v0.9.6

func NewHostDiskCreator(notifier k8sNotifier, lessPVCSpaceToleration int) DiskImgCreator

func (DiskImgCreator) Create added in v0.9.6

func (hdc DiskImgCreator) Create(vmi *v1.VirtualMachineInstance) error

Jump to

Keyboard shortcuts

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