common

package
v0.0.0-...-c2befbc Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmDeletion

func ConfirmDeletion() bool

ConfirmDeletion prompts user to confirm or not deletion

func ExitWithError

func ExitWithError(msg string, args ...interface{})

ExitWithError exits with an error status and print current error message

func ListProfilesFromAWSConfig

func ListProfilesFromAWSConfig() []string

ListProfilesFromAWSConfig parses default aws config file (~/.aws/config) and returns all profiles found in that file.

func SelectBucket

func SelectBucket(buckets []string) string

SelectBucket prompts to select one bucket from given bucket list.

func SelectProfile

func SelectProfile(profiles []string) string

SelectProfile prompts to select one AWS Profile from given profile list.

Types

This section is empty.

Jump to

Keyboard shortcuts

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