helpers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSDeployTestInstances

func AWSDeployTestInstances(name string, numInstances int) map[string]*ec2.Instance

creates aws instances for testing

func AWSInstanceState

func AWSInstanceState(id string) string

func AzureDeployTestInstances

func AzureDeployTestInstances(name string, numInstances int) map[string]map[string]string

creates azure instances for testing

func AzureGroupsClient

func AzureGroupsClient(environment string) resources.GroupsClient

return azure groups client

func AzureInstanceState

func AzureInstanceState(name string) string

func AzureLocations

func AzureLocations(environment string) map[string]string

load azure regions/locations via API calls

func AzureStorageAccountExists

func AzureStorageAccountExists(name, resourceGroup string) (bool, error)

returns if the given storage account exists

func CleanUpAWSTestData

func CleanUpAWSTestData()

cleans up any test data created in Azure account

func CleanUpAzureTestData

func CleanUpAzureTestData()

cleans up any test data created in Azure account

func CleanUpGoogleTestData

func CleanUpGoogleTestData()

cleans up any test data created in Google account

func DeleteAzureResourceGroup

func DeleteAzureResourceGroup(azureResourceGroup string)

func GoogleDeployTestInstances

func GoogleDeployTestInstances(name string, numInstances int) map[string]*compute.Instance

creates google instances for testing

func GoogleGetRegions

func GoogleGetRegions() []string

load azure regions/locations via API calls

func GoogleInstanceState

func GoogleInstanceState(name string) string

func InitializeAWSEnvironment

func InitializeAWSEnvironment()

read azure environment

func InitializeAWSProvider

func InitializeAWSProvider(awsProvider provider.CloudProvider)

update azure provider with environment credentials

func InitializeAzureEnvironment

func InitializeAzureEnvironment()

read azure environment

func InitializeAzureProvider

func InitializeAzureProvider(azureProvider provider.CloudProvider)

update azure provider with environment credentials

func InitializeGoogleEnvironment

func InitializeGoogleEnvironment()

read google environment

func InitializeGoogleProvider

func InitializeGoogleProvider(googleProvider provider.CloudProvider)

update google provider with environment credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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