Documentation ¶
Index ¶
- func AlbCheckInstancesInService(targetGroupArn string) error
- func AlbRemoveInstances(targetGroupArn string, instanceIds []*string)
- func AsgCheckInstanceCountIsDesired(asgName string) error
- func DescribeTargetGroup(groupName string) *elbv2.TargetGroup
- func ElbCheckInstanceCountIsDesired(elbName string, desired int) error
- func ElbCheckInstancesInService(elbName string) error
- func ElbRemoveInstances(elbName string, instanceIds []*string)
- func GetASG(asgName string) *autoscaling.Group
- func GetASGInstanceIds(asgName string) []*string
- func GetASGInstanceIdsFromGroup(group *autoscaling.Group) []*string
- func GetElb(elbName string) *elb.LoadBalancerDescription
- func InitAWSSession(region string)
- func ListBuckets()
- func SetASGDesiredCapacity(asgName string, newDesiredCapacity int64)
- func TargetGroupCheckInstanceCountIsDesired(targetGroupArn string, desired int) error
- func UploadToS3(bucket string, source string, destination string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlbRemoveInstances ¶
func DescribeTargetGroup ¶
func DescribeTargetGroup(groupName string) *elbv2.TargetGroup
func ElbRemoveInstances ¶
func GetASG ¶
func GetASG(asgName string) *autoscaling.Group
func GetASGInstanceIds ¶
func GetASGInstanceIdsFromGroup ¶
func GetASGInstanceIdsFromGroup(group *autoscaling.Group) []*string
func GetElb ¶
func GetElb(elbName string) *elb.LoadBalancerDescription
func InitAWSSession ¶
func InitAWSSession(region string)
func ListBuckets ¶
func ListBuckets()
func SetASGDesiredCapacity ¶
func UploadToS3 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.