Documentation
¶
Index ¶
- Constants
- type AWSClient
- func (c *AWSClient) CreateInstance(parameters interface{}) (string, error)
- func (c *AWSClient) DeleteInstance(instanceId string) error
- func (c *AWSClient) GetInstanceState(instanceId string) (string, error)
- func (c *AWSClient) InjectKeyPair(instanceId string) (string, string, string, error)
- func (c *AWSClient) RevokeKeyPair(instanceId string, privateKey string) error
- type Client
Constants ¶
View Source
const ( AMI_ID = "ami-dc5e75b4" //"ami-ecb68a84" SECURITY_GROUP_ID = "sg-b23aead6" SUBNET_ID = "subnet-0c75a427" KEYPAIR_NAME = "broker_keypair" INSTANCE_TYPE = "t2.micro" LINUX_USER = "ubuntu" KEYPAIR_DIR_NAME = ".gsb" PIRVATE_KEY_FILE_NAME = "broker_id_rsa" PUBLIC_KEY_FILE_NAME = "broker_id_rsa.pub" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶
func (*AWSClient) CreateInstance ¶
func (*AWSClient) DeleteInstance ¶
func (*AWSClient) GetInstanceState ¶
func (*AWSClient) InjectKeyPair ¶
Click to show internal directories.
Click to hide internal directories.