aws

package
v0.0.0-...-25cec68 Latest Latest
Warning

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

Go to latest
Published: May 19, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlbCheckInstancesInService

func AlbCheckInstancesInService(targetGroupArn string) error

func AlbRemoveInstances

func AlbRemoveInstances(targetGroupArn string, instanceIds []*string)

func AsgCheckInstanceCountIsDesired

func AsgCheckInstanceCountIsDesired(asgName string) error

func DescribeTargetGroup

func DescribeTargetGroup(groupName string) *elbv2.TargetGroup

func ElbCheckInstanceCountIsDesired

func ElbCheckInstanceCountIsDesired(elbName string, desired int) error

func ElbCheckInstancesInService

func ElbCheckInstancesInService(elbName string) error

func ElbRemoveInstances

func ElbRemoveInstances(elbName string, instanceIds []*string)

func GetASG

func GetASG(asgName string) *autoscaling.Group

func GetASGInstanceIds

func GetASGInstanceIds(asgName string) []*string

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 SetASGDesiredCapacity(asgName string, newDesiredCapacity int64)

func TargetGroupCheckInstanceCountIsDesired

func TargetGroupCheckInstanceCountIsDesired(targetGroupArn string, desired int) error

func UploadToS3

func UploadToS3(bucket string, source string, destination string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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