azure

package
v0.0.0-...-3568c51 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AzureInstanceStart

func AzureInstanceStart(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error

AzureInstanceStart starts the target instance

func AzureInstanceStop

func AzureInstanceStop(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error

AzureInstanceStop stops the target instance

func AzureScaleSetInstanceStart

func AzureScaleSetInstanceStart(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error

AzureScaleSetInstanceStart starts the target instance in the scale set

func AzureScaleSetInstanceStop

func AzureScaleSetInstanceStop(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error

AzureScaleSetInstanceStop stops the target instance in the scale set

func GetAzureInstanceProvisionStatus

func GetAzureInstanceProvisionStatus(subscriptionID, resourceGroup, azureInstanceName, scaleSet string) (string, error)

GetAzureInstanceProvisionStatus will check for the azure instance provision state details

func GetAzureInstanceStatus

func GetAzureInstanceStatus(subscriptionID, resourceGroup, azureInstanceName string) (string, error)

GetAzureInstanceStatus will verify the azure instance state details

func GetAzureScaleSetInstanceStatus

func GetAzureScaleSetInstanceStatus(subscriptionID, resourceGroup, virtualMachineScaleSetName, virtualMachineId string) (string, error)

GetAzureScaleSetInstanceStatus will verify the azure instance state details in the scale set

func InstanceStatusCheck

func InstanceStatusCheck(targetInstanceNameList []string, subscriptionID, resourceGroup string) error

InstanceStatusCheck is used to check the instance status of given list of instances

func InstanceStatusCheckByName

func InstanceStatusCheckByName(experimentsDetails *experimentTypes.ExperimentDetails) error

InstanceStatusCheckByName is used to check the instance status of all the instance under chaos

func ScaleSetInstanceStatusCheck

func ScaleSetInstanceStatusCheck(targetInstanceNameList []string, subscriptionID, resourceGroup string) error

ScaleSetInstanceStatusCheck is used to check the instance status of given list of instances belonging to scale set

func SetupSubscriptionID

func SetupSubscriptionID(experimentsDetails *experimentTypes.ExperimentDetails) error

SetupSubscriptionID fetch the subscription id from the auth file and export it in experiment struct variable

func WaitForAzureComputeDown

func WaitForAzureComputeDown(timeout, delay int, scaleSet, subscriptionID, resourceGroup, azureInstanceName string) error

WaitForAzureComputeDown will wait for the azure compute instance to get in stopped state

func WaitForAzureComputeUp

func WaitForAzureComputeUp(timeout, delay int, scaleSet, subscriptionID, resourceGroup, azureInstanceName string) error

WaitForAzureComputeUp will wait for the azure compute instance to get in running state

Types

This section is empty.

Jump to

Keyboard shortcuts

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