rebalancerecommendation

package
v0.35.8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detail

type Detail struct {
	InstanceID string `json:"instance-id"`
}

type Message

type Message struct {
	messages.Metadata

	Detail Detail `json:"detail"`
}

Message contains the properties defined by https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/rebalance-recommendations.html#monitor-rebalance-recommendations

func (Message) EC2InstanceIDs

func (m Message) EC2InstanceIDs() []string

func (Message) Kind

func (Message) Kind() messages.Kind

type Parser

type Parser struct{}

func (Parser) DetailType

func (p Parser) DetailType() string

func (Parser) Parse

func (p Parser) Parse(raw string) (messages.Message, error)

func (Parser) Source

func (p Parser) Source() string

func (Parser) Version

func (p Parser) Version() string

Jump to

Keyboard shortcuts

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