# Functions
ActualSliceEqualsExpectedSlice creates a utility comparator comparing two slices for equality.
CreateAzureDiskPVSource creates a corev1.PersistentVolumeSource initializing AzureDisk.
CreateCSIPVSource creates a corev1.PersistentVolumeSource initializing CSI.
CreateIPConfigurationID creates an azure representation of IP configuration ID.
CreateMachineClass creates a v1alpha1.MachineClass from resource group and provider spec.
CreateNetworkInterfaceID creates an azure representation of network ID.
CreateProviderSecret creates a fake secret containing provider credentials.
CreateSubnetName creates a subnet name.
CreateVirtualMachineID creates an azure representation of virtual machine ID.
GetCascadeDeleteOptForDataDisks gets the configured delete option for DataDisk associated to the passed VM.
GetCascadeDeleteOptForNIC gets the configured delete option for a NIC associated to the passed VM.
GetCascadeDeleteOptForOsDisk gets the configured delete option for OSDisk associated to the passed VM.
GetDefaultVMImageParts splits testhelp.DefaultImageRefURN into its constituent parts.
IsMktPlaceAgreementURIPath checks if the URI points to a market-place agreement resource.
IsNicURIPath checks if the URI points to a NIC resource.
IsSubnetURIPath checks if the URI points to a subnet resource.
IsVMImageURIPath checks if the URI points to a VM Image resource.
IsVMURIPath checks if the URI points to a VM resource.
NewAPIBehaviorSpec creates a new APIBehaviorSpec.
NewClusterState creates a new ClusterState.
NewFactory creates a new Factory.
NewMachineObjectMeta creates an ObjectMeta for a Machine.
NewMachineResourcesBuilder creates a new instance of MachineResourcesBuilder.
# Constants
DiskTypeData represents one or more data disks that can be associated to a VM.
DiskTypeOS is the OS Disk that is always associated to a VM.
# Variables
CascadeDeleteAllResources creates an instance of CascadeDeleteOpts setting cascade delete for NIC, OSDisk and DataDisks.
# Structs
APIBehaviorSpec allows tests to define custom behavior either for a specific resource or a resource type.
CascadeDeleteOpts captures the cascade delete options for NIC, OSDisk and DataDisk.
ClusterState is a holder of state of cluster resources.
DiskAccessBuilder is a builder for armcompute.DisksClient.
Factory captures all resource accesses and a default resource group known and shared by all accesses.
ImageAccessBuilder is a builder for VM images access.
MachineResources holds VM and all associated resources that are created for the VM.
MachineResourcesBuilder is a builder for MachineResources.
MarketPlaceAgreementAccessBuilder is a builder for MarketPlace Agreement access.
NICAccessBuilder is a builder for NIC access.
ResourceGraphAccessBuilder is a builder for Resource Graph access.
ResourceGroupsAccessBuilder is a builder for Resource Groups access.
ResourceReaction captures reaction for a resource.
SubnetAccessBuilder is a builder for Subnet access.
SubnetSpec is the spec that captures the subnet configuration.
VMAccessBuilder is a builder for VM access.
VMImageSpec is the spec for the VM Image.
# Type aliases
DiskType is used as an enum type to define types of disks that can be associated to a VM.