utils

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateResourceGroup

func CreateResourceGroup(subscriptionId string, resourceGroupName string, location string) (*armresources.ResourceGroup, error)

func DeployPolicy

func DeployPolicy(subscriptionId string, resourceGroupName string)

func DeployPolicyDefinition

func DeployPolicyDefinition(subscriptionId string)

func DoesResourceGroupExist

func DoesResourceGroupExist(subscriptionId string, resourceGroupName string, location string) (bool, error)

func NewAggregateError

func NewAggregateError(messages []string) error

Joins the error messages into a single error Reason:

1.18 doesn't have errors.Join. This facilicates easy aggregate errors

func ReadJson

func ReadJson(path string) (map[string]interface{}, error)

func SetupResourceGroup

func SetupResourceGroup(subscriptionId string, resourceGroupName string, location string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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