elbv2

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2017 License: MIT Imports: 4 Imported by: 0

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
}

Client represents a wrapper of ALB API

func New

func New(api elbv2iface.ELBV2API) *Client

New creates and returns new Client object

func (*Client) DetachInstance

func (c *Client) DetachInstance(targetGroupARN, instanceID string) error

DetachInstance detaches the given instance from the given target group

func (*Client) ListTargetInstances

func (c *Client) ListTargetInstances(targetGroupARN string) ([]string, error)

ListTargetInstances lists instance IDs attached to the given target group

Jump to

Keyboard shortcuts

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