Documentation
¶
Index ¶
- func CdkTFApplyAll(t testing.TestingT, options *terraform.Options, exampleFile string) (string, error)
- func CdkTFApplyAllAndIdempotent(t testing.TestingT, options *terraform.Options, exampleFile string) (string, error)
- func CdkTFDestroyAll(t testing.TestingT, options *terraform.Options, exampleFile string) (string, error)
- func CdkTFOutput(t testing.TestingT, options *terraform.Options, variableName string) string
- func CdkTFSynth(t testing.TestingT, options *terraform.Options, exampleFile string) (string, error)
- func CheckStacksIdempotency(t testing.TestingT, options *terraform.Options, tempstackfolder string) ([]string, error)
- func FormatTerraformVarsAsArgs(vars map[string]interface{}) []string
- func GetSkuOfVirtualMachineScaleSet(t testing.TestingT, vmssName string, resGroupName string, ...) *compute.Sku
- func GetSkuOfVirtualMachineScaleSetE(vmssName string, resGroupName string, subscriptionID string) (*compute.Sku, error)
- func GetSubscriptionID() string
- func GetVirtualMachineScaleSet(t testing.TestingT, vmssName string, resGroupName string, ...) *compute.VirtualMachineScaleSet
- func GetVirtualMachineScaleSetClient(t testing.TestingT, subscriptionID string) *compute.VirtualMachineScaleSetsClient
- func GetVirtualMachineScaleSetClientE(subscriptionID string) (*compute.VirtualMachineScaleSetsClient, error)
- func GetVirtualMachineScaleSetE(vmssName string, resGroupName string, subscriptionID string) (*compute.VirtualMachineScaleSet, error)
- func MarshalJSON(jsonData map[string]interface{}) ([]byte, error)
- func RandomizeResourceNames(resourceData map[string]interface{}, resourceName string)
- func RandomizeUniqueResources(filePath string) error
- func ReadFile(filePath string) ([]byte, error)
- func UnmarshalJSON(data []byte) (map[string]interface{}, error)
- func VirtualMachineScaleSetExists(t testing.TestingT, vmssName string, resGroupName string, ...) bool
- func VirtualMachineScaleSetExistsE(vmssName string, resGroupName string, subscriptionID string) (bool, error)
- func WriteFile(filePath string, jsonDataBytes []byte) error
- type CdkTFInvalidBinary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CdkTFApplyAll ¶
func CdkTFDestroyAll ¶
func CdkTFOutput ¶
func CdkTFSynth ¶
func CheckStacksIdempotency ¶
func GetSkuOfVirtualMachineScaleSet ¶
func GetSkuOfVirtualMachineScaleSet(t testing.TestingT, vmssName string, resGroupName string, subscriptionID string) *compute.Sku
GetSkuOfVirtualMachineScaleSet gets the SKU of the specified Azure Virtual Machine Scale Set. This function would fail the test if there is an error.
func GetSkuOfVirtualMachineScaleSetE ¶
func GetSkuOfVirtualMachineScaleSetE(vmssName string, resGroupName string, subscriptionID string) (*compute.Sku, error)
GetSkuOfVirtualMachineScaleSetE gets the SKU of the specified Azure Virtual Machine Scale Set.
func GetSubscriptionID ¶
func GetSubscriptionID() string
func GetVirtualMachineScaleSet ¶
func GetVirtualMachineScaleSet(t testing.TestingT, vmssName string, resGroupName string, subscriptionID string) *compute.VirtualMachineScaleSet
GetVirtualMachineScaleSet gets a Virtual Machine Scale Set in the specified Azure Resource Group. This function would fail the test if there is an error.
func GetVirtualMachineScaleSetClient ¶
func GetVirtualMachineScaleSetClient(t testing.TestingT, subscriptionID string) *compute.VirtualMachineScaleSetsClient
GetVirtualMachineScaleSetClient is a helper function that will setup an Azure Virtual Machine Scale Set client on your behalf.
func GetVirtualMachineScaleSetClientE ¶
func GetVirtualMachineScaleSetClientE(subscriptionID string) (*compute.VirtualMachineScaleSetsClient, error)
GetVirtualMachineScaleSetClientE is a helper function that will setup an Azure Virtual Machine Scale Set client on your behalf.
func GetVirtualMachineScaleSetE ¶
func GetVirtualMachineScaleSetE(vmssName string, resGroupName string, subscriptionID string) (*compute.VirtualMachineScaleSet, error)
GetVirtualMachineScaleSetE gets a Virtual Machine Scale Set in the specified Azure Resource Group.
func MarshalJSON ¶
func RandomizeResourceNames ¶
func UnmarshalJSON ¶
func VirtualMachineScaleSetExists ¶
func VirtualMachineScaleSetExists(t testing.TestingT, vmssName string, resGroupName string, subscriptionID string) bool
VirtualMachineScaleSetExists indicates whether the specified Azure Virtual Machine Scale Set exists. This function would fail the test if there is an error.
Types ¶
type CdkTFInvalidBinary ¶
type CdkTFInvalidBinary string
CdkTFInvalidBinary occurs when a cdktf function is called and the TerraformBinary is set to a value other than cdktf
func (CdkTFInvalidBinary) Error ¶
func (err CdkTFInvalidBinary) Error() string