aws

package
v0.0.0-...-7e08c69 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEBSDetachmentInitialisation

func CheckEBSDetachmentInitialisation(volumeIDs []string, instanceID []string, region string) error

CheckEBSDetachmentInitialisation will check the start of volume detachment process

func EBSStateCheckByID

func EBSStateCheckByID(volumeIDs, region string) error

EBSStateCheckByID will check the attachment state of the given volume

func EBSVolumeAttach

func EBSVolumeAttach(ebsVolumeID, ec2InstanceID, deviceName, region string) error

EBSVolumeAttach will attach the ebs volume to the instance

func EBSVolumeDetach

func EBSVolumeDetach(ebsVolumeID, region string) error

EBSVolumeDetach will detach the ebs volume from ec2 instance

func GetEBSStatus

func GetEBSStatus(ebsVolumeID, ec2InstanceID, region string) (string, error)

GetEBSStatus will verify and give the ec2 instance details along with ebs volume details.

func GetVolumeAttachmentDetails

func GetVolumeAttachmentDetails(volumeID, volumeTag, region string) (string, string, error)

GetVolumeAttachmentDetails will give the attachment information of the ebs volume

func PostChaosVolumeStatusCheck

func PostChaosVolumeStatusCheck(experimentsDetails *experimentTypes.ExperimentDetails) error

PostChaosVolumeStatusCheck is the volume state check after chaos completion

func SetTargetVolumeIDs

func SetTargetVolumeIDs(experimentsDetails *experimentTypes.ExperimentDetails) error

SetTargetVolumeIDs will filter out the volume under chaos

func WaitForVolumeAttachment

func WaitForVolumeAttachment(ebsVolumeID, ec2InstanceID, region string, delay, timeout int) error

WaitForVolumeAttachment will wait for the ebs volume to get attached on ec2 instance

func WaitForVolumeDetachment

func WaitForVolumeDetachment(ebsVolumeID, ec2InstanceID, region string, delay, timeout int) error

WaitForVolumeDetachment will wait the ebs volume to completely detach

Types

This section is empty.

Jump to

Keyboard shortcuts

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