autoscaling

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 Auto Scaling API

func New

New creates and returns new Client object

func (*Client) DetachInstance

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

DetachInstance detaches instance from the given ASG

func (*Client) IncreaseInstances

func (c *Client) IncreaseInstances(groupName string, delta int) (int, error)

IncreaseInstances increases the number of instance

func (*Client) RetrieveTargetGroup

func (c *Client) RetrieveTargetGroup(groupName string) (string, error)

RetrieveTargetGroup retrieves target group ARN attached to the given ASG

Jump to

Keyboard shortcuts

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