awsi

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceStatePending      = 0
	InstanceStateRunning      = 16
	InstanceStateShuttingDown = 32
	InstanceStateTerminated   = 48
	InstanceStateStopping     = 64
	InstanceStateStopped      = 80
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSi

type AWSi struct {
	// contains filtered or unexported fields
}

func New

func New(configs *configs.Configs) *AWSi

func (*AWSi) InstanceStart

func (t *AWSi) InstanceStart() error

func (*AWSi) InstanceState

func (t *AWSi) InstanceState() InstanceState

func (*AWSi) InstanceStatus

func (t *AWSi) InstanceStatus() error

func (*AWSi) InstanceStop

func (t *AWSi) InstanceStop() error

func (*AWSi) MyIPDel

func (t *AWSi) MyIPDel() error

func (*AWSi) MyIPSet

func (t *AWSi) MyIPSet() error

type InstanceState

type InstanceState struct {
	Name             string
	Description      string
	InstanceID       string
	InstanceType     string
	KeyName          string
	PrivateIpAddress string
	PublicIpAddress  string
	StateCode        int
	StateName        string
	StateJP          string
}

Jump to

Keyboard shortcuts

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