ec2

package module
v0.0.0-...-f3214e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

aws-ec2-handler

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL