package
0.0.0-20250403091405-491dc5e31ac3
Repository: https://github.com/litmuschaos/litmus-go.git
Documentation: pkg.go.dev
# Functions
EC2Start will stop an aws ec2 instance.
EC2Stop will stop an aws ec2 instance.
GetEC2InstanceStatus will verify and give the ec2 instance details along with ebs volume idetails.
GetInstanceList will filter out the target instance under chaos using tag filters or the instance list provided.
InstanceStatusCheck is used to check the instance status of the instances.
InstanceStatusCheckByID is used to check the instance status of all the instance under chaos.
InstanceStatusCheckByTag is used to check the instance status of all the instance under chaos.
PostChaosNodeCountCheck checks if the active node count after injection of chaos is equal to pre-chaos node count.
PreChaosNodeCountCheck returns the active node count before injection of chaos.
WaitForEC2Down will wait for the ec2 instance to get in stopped state.
WaitForEC2Up will wait for the ec2 instance to get in running state.