Documentation ¶
Index ¶
- func BuildSessions(regions []string) (map[string]*session.Session, error)
- func BuildSessionsWithCredentials(regions []string, creds *credentials.Credentials) (map[string]*session.Session, error)
- func GetAllALBAndNLB(sess *session.Session) ([]*elbv2.LoadBalancer, error)
- func GetAllCLB(sess *session.Session) ([]*elb.LoadBalancerDescription, error)
- func GetAllChinaRegions() []string
- func GetAllDBInstances(sess *session.Session) ([]*rds.DBInstance, error)
- func GetAllHostedZones(sess *session.Session) ([]*route53.HostedZone, error)
- func GetAllInstances(sess *session.Session) ([]*ec2.Instance, error)
- func GetAllRegions() []string
- func GetHostedZoneRecords(sess *session.Session, hostedZoneId string) ([]*route53.ResourceRecordSet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSessions ¶
BuildSessions returns a map of sessions for each region using Default Credential Chain
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 GetAllALBAndNLB ¶ added in v0.2.0
func GetAllALBAndNLB(sess *session.Session) ([]*elbv2.LoadBalancer, error)
GetAllALBAndNLB resturns a complete list of Application & Network Load Balancers for a given session
func GetAllCLB ¶ added in v0.2.0
func GetAllCLB(sess *session.Session) ([]*elb.LoadBalancerDescription, error)
GetAllCLB resturns a complete list of Classic Load Balancers for a given session
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 GetAllHostedZones ¶ added in v0.1.2
func GetAllHostedZones(sess *session.Session) ([]*route53.HostedZone, error)
GetAllInstances returns a complete list of instances 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
func GetHostedZoneRecords ¶ added in v0.1.2
func GetHostedZoneRecords(sess *session.Session, hostedZoneId string) ([]*route53.ResourceRecordSet, error)
GetHostedZoneRecords returns the hostedzonesRecords for a particular hostedZoneId
Types ¶
This section is empty.