aws

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetElbInstanceHealth

func GetElbInstanceHealth(elbSvc *elbv2.ELBV2, elbName string, instanceIds []string) (state common.State)

Returns the common health state of the targets of the given load balancer.

func GetElbInstanceHealthViaSession

func GetElbInstanceHealthViaSession(session *session.Session, elbName string, instanceIds []string) common.State

func GetElbState

func GetElbState(elbSvc *elbv2.ELBV2, elbName string) (state common.State)

func GetElbTargetGroupsArns

func GetElbTargetGroupsArns(elbSvc *elbv2.ELBV2, elbName string) (tgArns []string)

Returns the ARNs for the target groups of this load balancer.

func GetLoadBalancerArn

func GetLoadBalancerArn(elbSvc *elbv2.ELBV2, elbName string) (arn string)

Returns the ARN of the given load balancer.

func HandleAwsError added in v1.1.0

func HandleAwsError(error2 error, errorMsg string, fail bool) bool

Handles an AWS error somehow. Returns true if there was an error, otherwise false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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