storage

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiskProvisioningForProfile

func GetDiskProvisioningForProfile(
	vmCtx context.VirtualMachineContextA2,
	vcClient *vcclient.Client,
	storageProfileID string) (string, error)

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

func GetStoragePolicyID

func GetStoragePolicyID(
	vmCtx context.VirtualMachineContextA2,
	client ctrlclient.Client,
	storageClassName string) (string, error)

GetStoragePolicyID returns Storage Policy ID from Storage Class Name.

func GetVMStoragePoliciesIDs

func GetVMStoragePoliciesIDs(
	vmCtx context.VirtualMachineContextA2,
	client ctrlclient.Client) (map[string]string, error)

GetVMStoragePoliciesIDs returns a map of storage class names to their storage policy IDs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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