aws

package
v0.0.0-...-3568c51 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EC2Start

func EC2Start(instanceID, region string) error

EC2Start will stop an aws ec2 instance

func EC2Stop

func EC2Stop(instanceID, region string) error

EC2Stop will stop an aws ec2 instance

func GetEC2InstanceStatus

func GetEC2InstanceStatus(instanceID, region string) (string, error)

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

func GetInstanceList

func GetInstanceList(instanceTag, region string) ([]string, error)

GetInstanceList will filter out the target instance under chaos using tag filters or the instance list provided.

func InstanceStatusCheck

func InstanceStatusCheck(targetInstanceIDList []string, region string) error

InstanceStatusCheck is used to check the instance status of the instances

func InstanceStatusCheckByID

func InstanceStatusCheckByID(instanceID, region string) error

InstanceStatusCheckByID is used to check the instance status of all the instance under chaos.

func InstanceStatusCheckByTag

func InstanceStatusCheckByTag(instanceTag, region string) error

InstanceStatusCheckByTag is used to check the instance status of all the instance under chaos.

func WaitForEC2Down

func WaitForEC2Down(timeout, delay int, managedNodegroup, region, instanceID string) error

WaitForEC2Down will wait for the ec2 instance to get in stopped state

func WaitForEC2Up

func WaitForEC2Up(timeout, delay int, managedNodegroup, region, instanceID string) error

WaitForEC2Up will wait for the ec2 instance to get in running state

Types

This section is empty.

Jump to

Keyboard shortcuts

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