Documentation ¶
Index ¶
- func BuildSessions(regions []string) (map[string]*session.Session, error)
- func BuildSessionsWithCredentials(regions []string, creds *credentials.Credentials) (map[string]*session.Session, error)
- func GetAllChinaRegions() []string
- func GetAllDBInstances(sess *session.Session) ([]*rds.DBInstance, error)
- func GetAllInstances(sess *session.Session) ([]*ec2.Instance, error)
- func GetAllRegions() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSessions ¶
BuildSessions returns a map of sessions for each region using Environment Credentials
func BuildSessionsWithCredentials ¶
func BuildSessionsWithCredentials(regions []string, creds *credentials.Credentials) (map[string]*session.Session, error)
BuildSessionsWithCredentials returns a map of sessions for each region using supplied credentials
func GetAllChinaRegions ¶
func GetAllChinaRegions() []string
GetAllChinaRegions returns all regions for the AWS China Partition
func GetAllDBInstances ¶
func GetAllDBInstances(sess *session.Session) ([]*rds.DBInstance, error)
GetAllDBInstances resturns a complete list of DBInstances for a given session
func GetAllInstances ¶
GetAllInstances returns a complete list of instances for a given session
func GetAllRegions ¶
func GetAllRegions() []string
GetAllRegions returns all regions for AWS except US-Gov and China
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.