Documentation ¶
Index ¶
- func CheckEBSDetachmentInitialisation(volumeIDs []string, instanceID []string, region string) error
- func EBSStateCheckByID(volumeIDs, region string) error
- func EBSVolumeAttach(ebsVolumeID, ec2InstanceID, deviceName, region string) error
- func EBSVolumeDetach(ebsVolumeID, region string) error
- func GetEBSStatus(ebsVolumeID, ec2InstanceID, region string) (string, error)
- func GetVolumeAttachmentDetails(volumeID, volumeTag, region string) (string, string, error)
- func PostChaosVolumeStatusCheck(experimentsDetails *experimentTypes.ExperimentDetails) error
- func SetTargetVolumeIDs(experimentsDetails *experimentTypes.ExperimentDetails) error
- func WaitForVolumeAttachment(ebsVolumeID, ec2InstanceID, region string, delay, timeout int) error
- func WaitForVolumeDetachment(ebsVolumeID, ec2InstanceID, region string, delay, timeout int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEBSDetachmentInitialisation ¶
CheckEBSDetachmentInitialisation will check the start of volume detachment process
func EBSStateCheckByID ¶
EBSStateCheckByID will check the attachment state of the given volume
func EBSVolumeAttach ¶
EBSVolumeAttach will attach the ebs volume to the instance
func EBSVolumeDetach ¶
EBSVolumeDetach will detach the ebs volume from ec2 instance
func GetEBSStatus ¶
GetEBSStatus will verify and give the ec2 instance details along with ebs volume details.
func GetVolumeAttachmentDetails ¶
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 ¶
WaitForVolumeAttachment will wait for the ebs volume to get attached on ec2 instance
func WaitForVolumeDetachment ¶
WaitForVolumeDetachment will wait the ebs volume to completely detach
Types ¶
This section is empty.