Documentation
¶
Index ¶
- func CheckTotalSnapshotSizeOnNamespace(pvcCache ctlcorev1.PersistentVolumeClaimCache, ...) error
- func CheckTotalSnapshotSizeOnVM(pvcCache ctlcorev1.PersistentVolumeClaimCache, ...) error
- func GetHTTPTransportWithCertificates(config *rest.Config) (*http.Transport, error)
- func GetLHEngine(engineCache ctllonghornv1.EngineCache, volumeName string) (*longhornv1beta2.Engine, error)
- func HasInProgressingVMBackupBySourceUID(cache ctlcloudweavv1.VirtualMachineBackupCache, sourceUID string) (bool, error)
- func HasInProgressingVMRestoreOnSameTarget(cache ctlcloudweavv1.VirtualMachineRestoreCache, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckTotalSnapshotSizeOnNamespace ¶ added in v1.4.0
func CheckTotalSnapshotSizeOnNamespace( pvcCache ctlcorev1.PersistentVolumeClaimCache, engineCache ctllonghornv1.EngineCache, namespaceName string, totalSnapshotSizeQuota int64, ) error
func CheckTotalSnapshotSizeOnVM ¶ added in v1.4.0
func CheckTotalSnapshotSizeOnVM( pvcCache ctlcorev1.PersistentVolumeClaimCache, engineCache ctllonghornv1.EngineCache, vm *kubevirtv1.VirtualMachine, totalSnapshotSizeQuota int64, ) error
func GetLHEngine ¶ added in v1.4.0
func GetLHEngine(engineCache ctllonghornv1.EngineCache, volumeName string) (*longhornv1beta2.Engine, error)
func HasInProgressingVMBackupBySourceUID ¶
func HasInProgressingVMBackupBySourceUID(cache ctlcloudweavv1.VirtualMachineBackupCache, sourceUID string) (bool, error)
func HasInProgressingVMRestoreOnSameTarget ¶
func HasInProgressingVMRestoreOnSameTarget(cache ctlcloudweavv1.VirtualMachineRestoreCache, targetNamespace, targetName string) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.