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 GetMountedHostDiskPath ¶ added in v0.20.0
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, minimumPVCReserveBytes uint64) DiskImgCreator
func (DiskImgCreator) Create ¶ added in v0.9.6
func (hdc DiskImgCreator) Create(vmi *v1.VirtualMachineInstance) error
Click to show internal directories.
Click to hide internal directories.