plugin

package
v0.0.0-...-f638f06 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsGroupController

type AsGroupController struct {
	Session *session.Session
	AsgSvc  *autoscaling.AutoScaling
	Ec2Svc  *ec2.EC2
}

func (*AsGroupController) DetachInstance

func (a *AsGroupController) DetachInstance(eventData map[string]string) error

Detaches the instance from its auto scaling group and decreases the desired size

func (*AsGroupController) DetachInstanceAndTerminate

func (a *AsGroupController) DetachInstanceAndTerminate(eventData map[string]string) error

type EventRouter

type EventRouter struct {
	Session        *session.Session
	RecommenderURL string
}

func (*EventRouter) RouteEvent

func (d *EventRouter) RouteEvent(event *as.AlertEvent) error

type InstanceInfo

type InstanceInfo struct {
	Id                 string
	Asg                string
	Az                 string
	Type               string
	Subnet             string
	InstanceProfileArn string
}

Jump to

Keyboard shortcuts

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