Documentation
¶
Index ¶
Constants ¶
View Source
const ( DirName = "aliased-profiles" StateFilename = "state.json" ConfigFilename = "config.tmpl" AWSConfigFilename = "config" DefaultProfileTemplate = `` /* 384-byte string literal not displayed */ AWSConfigDelimiter = "### ----- AWS Aliased Profiles -----" )
Variables ¶
This section is empty.
Functions ¶
func CheckContext ¶
func ExitWithError ¶
func ExitWithError(err error)
func GetAWSPath ¶
func WriteAccountList ¶
func WriteAccountList(al []*Account)
Types ¶
type Account ¶
type Account struct { // The unique identifier (ID) of the account. // // The regex pattern (http://wikipedia.org/wiki/regex) for an account ID string // requires exactly 12 digits. Id string // The date the account became a part of the organization. JoinedTimestamp time.Time // The status of the account in the organization. Status string // Alias associated with the account. Alias string Tags []*Tag }
func ReadAccountList ¶
func ReadAccountList() (al []*Account)
func (*Account) HasTagKeyValue ¶
Click to show internal directories.
Click to hide internal directories.