awsconfig

package
v0.0.0-...-ed79881 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWSHomeDir = func() string {
	var home string
	if runtime.GOOS == "windows" {
		home = os.Getenv("USERPROFILE")
	} else {
		home = os.Getenv("HOME")
	}
	return filepath.Join(home, ".aws")
}

Functions

func AllProfiles

func AllProfiles() (profiles []string)

func IsValidProfile

func IsValidProfile(given string) bool

func IsValidRegion

func IsValidRegion(given string) bool

func ParseInstanceType

func ParseInstanceType(i string) (interface{}, error)

func ParseRegion

func ParseRegion(i string) (interface{}, error)

func StdinInstanceTypeSelector

func StdinInstanceTypeSelector() string

func StdinRegionSelector

func StdinRegionSelector() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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