aws

package
v0.0.0-...-f0d86f2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: AGPL-3.0 Imports: 13 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
}

AWS is an implementation of CloudProvider for Amazon Web Services

func NewAWS

func NewAWS() (*AWS, error)

NewAWS instanciates an AWS CloudProvider and creates an EC2 session.

func (AWS) CreateNode

func (aw AWS) CreateNode(ctx context.Context, node model.Node, callback func(string, string), onError func(error))

CreateNode created an EC2 instance and setups geth

func (AWS) DeleteNode

func (aw AWS) DeleteNode(ctx context.Context, node model.Node, onSuccess func(), onError func(error))

DeleteNode will delete the AWS node

Jump to

Keyboard shortcuts

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