Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InstanceOwner string = createInstanceOwnerTag()
)
Functions ¶
func GetCurrentUser ¶
func GetCurrentUser() string
func GetInstanceIp ¶
GetInstanceIp returns the public IP address of the ec2 instance
func GetInstanceStatus ¶
GetInstanceStatus returns the reachability status of the ec2 instance
func GetPrivateSSHKey ¶
func GetPrivateSSHKey() []byte
GetPrivateSSHKey returns the private ssh key at ~/.ssh/id_rsa
func GetPublicSSHKey ¶
func GetPublicSSHKey() []byte
GetPublicSSHKey returns the public ssh key at ~/.ssh/id_rsa.pub
func LocalIP ¶
func LocalIP() []byte
LocalIP returns the IP address of the machine that executed the program
func SetupEC2Client ¶
SetupEC2Client configures a client to make EC2 API calls
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.