Documentation ¶
Index ¶
- func GetDiskProvisioningForProfile(vmCtx context.VirtualMachineContextA2, vcClient *vcclient.Client, ...) (string, error)
- func GetStoragePolicyID(vmCtx context.VirtualMachineContextA2, client ctrlclient.Client, ...) (string, error)
- func GetVMStoragePoliciesIDs(vmCtx context.VirtualMachineContextA2, client ctrlclient.Client) (map[string]string, error)
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.
Click to show internal directories.
Click to hide internal directories.