autoscaling

package
v0.0.0-...-47f0617 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Autoscaling

type Autoscaling struct {
	AutoScalingGroupName string
	PolicyName           string
	Region               string
}

Autoscaling represents the structure of a series of AWS autoscaling group parameters to trigger a dimension change

func New

func New(asgName, policyName, region string) (*Autoscaling, error)

New is the Package constructor that initialises the Autoscaling config

func (*Autoscaling) NewClient

func (asg *Autoscaling) NewClient() (*Client, error)

NewClient creates an Autoscaling client

type Client

type Client struct {
	*autoscaling.AutoScaling
}

Client type is an Autoscaling group client

func (*Client) TriggerPolicy

func (client *Client) TriggerPolicy(asg *Autoscaling) error

TriggerPolicy is a method called by the Autoscaling Client

Jump to

Keyboard shortcuts

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