aws

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildInstanceTypes

func BuildInstanceTypes(s []string) []types.InstanceType

func CopyTemplate

func CopyTemplate(fromRegion string, toRegion string, launchTemplateId string, launchTemplateName string, logger *zerolog.Logger) (*string, error)

func GetInstanceStatus

func GetInstanceStatus(ctx context.Context, c *ec2.Client, logger *zerolog.Logger, sc chan string)

GetInstanceStatus should be run as a goroutine. It routinely checks for termination events or statuses, and fires a message into the appropriate channel.

func MakeClient

func MakeClient(region *string) (*ec2.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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