elbv2

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateListenerInput

type CreateListenerInput struct {
	Port                  int64
	Protocol              string
	CertificateArns       []string
	LoadBalancerArn       string
	DefaultTargetGroupArn string
}

func (*CreateListenerInput) SetCertificateArns

func (input *CreateListenerInput) SetCertificateArns(arns []string)

type CreateLoadBalancerInput

type CreateLoadBalancerInput struct {
	Name             string
	SubnetIds        []string
	Type             string
	SecurityGroupIds []string
}

type CreateTargetGroupInput

type CreateTargetGroupInput struct {
	Name     string
	Protocol string
	Port     int64
	VpcId    string
}

type DescribeLoadBalancersInput

type DescribeLoadBalancersInput struct {
	Names []string
	Arns  []string
}

type ELBV2

type ELBV2 struct {
	// contains filtered or unexported fields
}

func New

func New(sess *session.Session) ELBV2

func (*ELBV2) AddRule

func (elbv2 *ELBV2) AddRule(lbArn, targetGroupArn string, rule Rule)

func (*ELBV2) AddRuleToListener added in v0.2.1

func (elbv2 *ELBV2) AddRuleToListener(listenerArn, targetGroupArn string, rule Rule)

func (*ELBV2) CreateListener

func (elbv2 *ELBV2) CreateListener(i *CreateListenerInput) string

func (*ELBV2) CreateLoadBalancer

func (elbv2 *ELBV2) CreateLoadBalancer(i *CreateLoadBalancerInput) string

func (*ELBV2) CreateTargetGroup

func (elbv2 *ELBV2) CreateTargetGroup(input *CreateTargetGroupInput) string

func (*ELBV2) DeleteLoadBalancer

func (elbv2 *ELBV2) DeleteLoadBalancer(lbName string)

func (*ELBV2) DeleteRule added in v0.2.1

func (elbv2 *ELBV2) DeleteRule(ruleArn string)

func (*ELBV2) DeleteTargetGroup

func (elbv2 *ELBV2) DeleteTargetGroup(targetGroupName string)

func (*ELBV2) DeleteTargetGroupByArn added in v0.2.1

func (elbv2 *ELBV2) DeleteTargetGroupByArn(targetGroupArn string)

func (*ELBV2) DescribeLoadBalancer

func (elbv2 *ELBV2) DescribeLoadBalancer(lbName string) LoadBalancer

func (*ELBV2) DescribeLoadBalancerByArn

func (elbv2 *ELBV2) DescribeLoadBalancerByArn(lbArn string) LoadBalancer

func (*ELBV2) DescribeLoadBalancers

func (elbv2 *ELBV2) DescribeLoadBalancers(i DescribeLoadBalancersInput) []LoadBalancer

func (*ELBV2) DescribeRules

func (elbv2 *ELBV2) DescribeRules(listenerArn string) []Rule

func (*ELBV2) DescribeTargetGroups

func (elbv2 *ELBV2) DescribeTargetGroups(targetGroupArns []string) []TargetGroup

func (*ELBV2) GetHighestPriorityFromListener

func (elbv2 *ELBV2) GetHighestPriorityFromListener(listenerArn string) int64

func (*ELBV2) GetListeners

func (elbv2 *ELBV2) GetListeners(lbArn string) []Listener

func (*ELBV2) GetTargetGroupArn added in v0.2.1

func (elbv2 *ELBV2) GetTargetGroupArn(targetGroupName string) string

func (*ELBV2) GetTargetGroupLoadBalancerArn

func (elbv2 *ELBV2) GetTargetGroupLoadBalancerArn(targetGroupArn string) string

func (*ELBV2) ModifyListenerDefaultAction added in v0.2.1

func (elbv2 *ELBV2) ModifyListenerDefaultAction(listenerArn, targetGroupArn string)

func (*ELBV2) ModifyLoadBalancerDefaultAction

func (elbv2 *ELBV2) ModifyLoadBalancerDefaultAction(lbArn, targetGroupArn string)

type Listener

type Listener struct {
	Arn             string
	Port            int64
	Protocol        string
	CertificateArns []string
	Rules           []Rule
}

func (*Listener) String

func (l *Listener) String() string

type LoadBalancer

type LoadBalancer struct {
	DNSName          string
	Name             string
	State            string
	StateReason      string
	Arn              string
	Type             string
	HostedZoneId     string
	SecurityGroupIds []string
	SubnetIds        []string
	VpcId            string
}

type Rule

type Rule struct {
	Type           string
	Value          string
	TargetGroupArn string
	Priority       int
	Arn            string
	IsDefault      bool
}

func (*Rule) String

func (r *Rule) String() string

type TargetGroup

type TargetGroup struct {
	Name            string
	Arn             string
	LoadBalancerArn string
}

Jump to

Keyboard shortcuts

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