Documentation ¶
Index ¶
Constants ¶
View Source
const AWS_ACCESS_KEY_ID = "AKIAREUC7U5FRBHKPUXJ"
View Source
const AWS_SECRET_ACCESS_KEY = "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"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EC2Manager ¶
type EC2Manager struct {
// contains filtered or unexported fields
}
func NewEC2Manager ¶
func NewEC2Manager() (*EC2Manager, error)
func (*EC2Manager) ListInstances ¶
func (m *EC2Manager) ListInstances() ([]*ec2.Instance, error)
func (*EC2Manager) StartInstance ¶
func (m *EC2Manager) StartInstance(instanceID string) error
func (*EC2Manager) StopInstance ¶
func (m *EC2Manager) StopInstance(instanceID string) error
Click to show internal directories.
Click to hide internal directories.