elb

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2017 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(session *session.Session, config *_aws.Config) *Client

func (*Client) CreateListener

func (c *Client) CreateListener(loadBalancerARN, targetGroupARN string, port uint16, protocol, certificateARN string) error

func (*Client) CreateLoadBalancer

func (c *Client) CreateLoadBalancer(elbName string, internetFacing bool, securityGroupIDs, subnetIDs []string) (*_elb.LoadBalancer, error)

func (*Client) CreateTags

func (c *Client) CreateTags(resourceARN string, tags map[string]string) error

func (*Client) CreateTargetGroup

func (c *Client) CreateTargetGroup(name string, port uint16, protocol string, vpcID string, healthCheck *HealthCheckParams) (*_elb.TargetGroup, error)

func (*Client) DeleteLoadBalancer

func (c *Client) DeleteLoadBalancer(loadBalancerARN string) error

func (*Client) DeleteTargetGroup

func (c *Client) DeleteTargetGroup(targetGroupARN string) error

func (*Client) RetrieveLoadBalancer

func (c *Client) RetrieveLoadBalancer(elbARN string) (*_elb.LoadBalancer, error)

func (*Client) RetrieveLoadBalancerByName added in v1.3.1

func (c *Client) RetrieveLoadBalancerByName(elbName string) (*_elb.LoadBalancer, error)

func (*Client) RetrieveLoadBalancerListeners

func (c *Client) RetrieveLoadBalancerListeners(loadBalancerARN string) ([]*_elb.Listener, error)

func (*Client) RetrieveTags

func (c *Client) RetrieveTags(resourceARN string) (map[string]string, error)

func (*Client) RetrieveTargetGroup

func (c *Client) RetrieveTargetGroup(targetGroupARN string) (*_elb.TargetGroup, error)

func (*Client) RetrieveTargetGroupByName

func (c *Client) RetrieveTargetGroupByName(targetGroupName string) (*_elb.TargetGroup, error)

func (*Client) UpdateTargetGroupHealthCheck

func (c *Client) UpdateTargetGroupHealthCheck(targetGroupARN string, healthCheck *HealthCheckParams) error

type HealthCheckParams

type HealthCheckParams struct {
	CheckIntervalSeconds    uint16
	CheckPath               string
	CheckPort               *uint16
	Protocol                string
	ExpectedHTTPStatusCodes string
	CheckTimeoutSeconds     uint16
	HealthyThresholdCount   uint16
	UnhealthyThresholdCount uint16
}

Jump to

Keyboard shortcuts

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