internal_aws

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAWSData

func GetAWSData() ([]byte, error)

func GetAWSInstanceTypes

func GetAWSInstanceTypes(region string) ([]string, error)

func GetAllAWSRegions

func GetAllAWSRegions() ([]string, error)

func GetUbuntuAMI

func GetUbuntuAMI(region string) (string, bool)

func IsValidAWSInstanceType

func IsValidAWSInstanceType(region, instanceType string) bool

func IsValidAWSRegion

func IsValidAWSRegion(region string) bool

Types

type AWSData

type AWSData struct {
	Locations  []string          `yaml:"locations"`
	UbuntuAMIs map[string]string `yaml:"ubuntu_amis"`
	VMSizes    map[string][]string
}

Jump to

Keyboard shortcuts

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