util

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

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

func GetHTTPTransportWithCertificates(config *rest.Config) (*http.Transport, 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.

Jump to

Keyboard shortcuts

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