aws

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aws

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

func NewAWS

func NewAWS(region string) (*Aws, error)

NewAWS creates an Aws and initialises an EC2 client

func (*Aws) CreateServer

func (a *Aws) CreateServer(args automation.ServerArgs) (*automation.ResourceResults, error)

CreateServer TODO: https://github.com/dirien/minectl/issues/298

func (*Aws) DeleteServer

func (a *Aws) DeleteServer(id string, args automation.ServerArgs) error

func (*Aws) GetServer

func (*Aws) ListServer

func (a *Aws) ListServer() ([]automation.ResourceResults, error)

func (*Aws) UpdateServer

func (a *Aws) UpdateServer(id string, args automation.ServerArgs) error

func (*Aws) UploadPlugin

func (a *Aws) UploadPlugin(id string, args automation.ServerArgs, plugin, destination string) error

Jump to

Keyboard shortcuts

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