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 GetUsableIPAddressesCount(includeRange string, excludeRange []string) (count int, err error)
- func HasInProgressingVMBackupBySourceUID(cache ctlharvesterv1.VirtualMachineBackupCache, sourceUID string) (bool, error)
- func HasInProgressingVMRestoreOnSameTarget(cache ctlharvesterv1.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 GetHTTPTransportWithCertificates ¶ added in v1.1.3
func GetLHEngine ¶ added in v1.4.0
func GetLHEngine(engineCache ctllonghornv1.EngineCache, volumeName string) (*longhornv1beta2.Engine, error)
func HasInProgressingVMBackupBySourceUID ¶
func HasInProgressingVMBackupBySourceUID(cache ctlharvesterv1.VirtualMachineBackupCache, sourceUID string) (bool, error)
func HasInProgressingVMRestoreOnSameTarget ¶ added in v1.0.3
func HasInProgressingVMRestoreOnSameTarget(cache ctlharvesterv1.VirtualMachineRestoreCache, targetNamespace, targetName string) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.