config

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UserName        string
	Region          string
	ConnectPublicIP bool
	Debug           bool
	SearchMode      SearchModeType
	ShowVersion     bool

	// SearchValue will either be an instance id or a tag. Check SearchMode to find out which
	SearchValue string
	ExtraArgs   []string

	InvalidRegionErr = errors.New("could not find your AWS region from either -r or environment variables AWS_REGION, AWS_DEFAULT_REGION")
	InvalidArgsErr   = errors.New("only specify an instance id or a tag, if a tag has a space, wrap in double quotes")
)

Functions

This section is empty.

Types

type SearchModeType

type SearchModeType int

SearchModeType is the type of instance search to perform

const (
	SearchModeMenu SearchModeType = 1 << iota
	SearchModeInst
	SearchModeTag
)

Jump to

Keyboard shortcuts

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