awsconfig

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 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 added in v0.1.7

func AllProfiles() (profiles []string)

func IsValidProfile added in v0.1.7

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