Documentation ¶
Index ¶
- func EC2Start(instanceID, region string) error
- func EC2Stop(instanceID, region string) error
- func GetEC2InstanceStatus(instanceID, region string) (string, error)
- func GetInstanceList(instanceTag, region string) ([]string, error)
- func InstanceStatusCheck(targetInstanceIDList []string, region string) error
- func InstanceStatusCheckByID(instanceID, region string) error
- func InstanceStatusCheckByTag(instanceTag, region string) error
- func PostChaosNodeCountCheck(activeNodeCount int, autoScalingGroupName, region string) error
- func PreChaosNodeCountCheck(instanceIDList []string, region string) (int, string, error)
- func WaitForEC2Down(timeout, delay int, managedNodegroup, region, instanceID string) error
- func WaitForEC2Up(timeout, delay int, managedNodegroup, region, instanceID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEC2InstanceStatus ¶
GetEC2InstanceStatus will verify and give the ec2 instance details along with ebs volume idetails.
func GetInstanceList ¶
GetInstanceList will filter out the target instance under chaos using tag filters or the instance list provided.
func InstanceStatusCheck ¶
InstanceStatusCheck is used to check the instance status of the instances
func InstanceStatusCheckByID ¶
InstanceStatusCheckByID is used to check the instance status of all the instance under chaos.
func InstanceStatusCheckByTag ¶
InstanceStatusCheckByTag is used to check the instance status of all the instance under chaos.
func PostChaosNodeCountCheck ¶
PostChaosNodeCountCheck checks if the active node count after injection of chaos is equal to pre-chaos node count
func PreChaosNodeCountCheck ¶
PreChaosNodeCountCheck returns the active node count before injection of chaos
func WaitForEC2Down ¶
WaitForEC2Down will wait for the ec2 instance to get in stopped state
func WaitForEC2Up ¶
WaitForEC2Up will wait for the ec2 instance to get in running state
Types ¶
This section is empty.