Documentation ¶
Index ¶
- func AzureInstanceStart(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error
- func AzureInstanceStop(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error
- func AzureScaleSetInstanceStart(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error
- func AzureScaleSetInstanceStop(timeout, delay int, subscriptionID, resourceGroup, azureInstanceName string) error
- func GetAzureInstanceProvisionStatus(subscriptionID, resourceGroup, azureInstanceName, scaleSet string) (string, error)
- func GetAzureInstanceStatus(subscriptionID, resourceGroup, azureInstanceName string) (string, error)
- func GetAzureScaleSetInstanceStatus(...) (string, error)
- func InstanceStatusCheck(targetInstanceNameList []string, subscriptionID, resourceGroup string) error
- func InstanceStatusCheckByName(experimentsDetails *experimentTypes.ExperimentDetails) error
- func ScaleSetInstanceStatusCheck(targetInstanceNameList []string, subscriptionID, resourceGroup string) error
- func SetupSubscriptionID(experimentsDetails *experimentTypes.ExperimentDetails) error
- func WaitForAzureComputeDown(timeout, delay int, ...) error
- func WaitForAzureComputeUp(timeout, delay int, ...) error
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.