storage

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiskProvisioningForProfile

func GetDiskProvisioningForProfile(
	vmCtx pkgctx.VirtualMachineContext,
	vcClient *vcclient.Client,
	storageProfileID string) (string, error)

GetDiskProvisioningForProfile returns the provisioning type for the storage profile if it has one specified.

Types

type VMStorageData

type VMStorageData struct {
	StorageClasses         map[string]storagev1.StorageClass
	StorageClassToPolicyID map[string]string
	PVCs                   []corev1.PersistentVolumeClaim
}

func GetVMStorageData

func GetVMStorageData(
	vmCtx pkgctx.VirtualMachineContext,
	client ctrlclient.Client) (VMStorageData, error)

Jump to

Keyboard shortcuts

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