Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsInterface ¶
type AwsInterface interface { // ReadAllLoadBalancers gets the load balancer information for all regions ReadAllLoadBalancers() (map[string]string, error) // ReadAllInstances gets the instance information for all regions ReadAllInstances(templ *template.Template) (map[string]string, error) // ListAllProfiles lists all available aws credential profiles ListAllProfiles() ([]string, error) // SetProfile sets the aws credential profile to use SetProfile(string) }
AwsInterface defines a simple way to interact with AWS
type AwsUtil ¶
type AwsUtil struct {
// contains filtered or unexported fields
}
AwsUtil handles connecting to AWS and retrieving host data
func NewAwsUtil ¶
NewAwsUtil creates a new awsUtil with a given profileName
func (*AwsUtil) ListAllProfiles ¶
ListAllProfiles lists all available aws credential profiles
func (*AwsUtil) ReadAllInstances ¶
ReadAllInstances gets the instance information for all regions
func (*AwsUtil) ReadAllLoadBalancers ¶
ReadAllLoadBalancers gets the load balancer information for all regions
func (*AwsUtil) SetProfile ¶
SetProfile sets the aws credential profile to use
Click to show internal directories.
Click to hide internal directories.