awsutil

package
v0.0.0-...-0474cba Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugLogger = log.New(io.Discard, "DEBUG: ", log.Ldate|log.Ltime|log.Lshortfile)
View Source
var ErrEICETunnelURI = errors.New("cannot create EICE tunnel URI")
View Source
var ErrNoMatches = fmt.Errorf("no matches")

Functions

func CreateEICETunnelURI

func CreateEICETunnelURI(instance types.Instance, portStr string, eiceID string) (string, error)

func EnableDebug

func EnableDebug()

func GetInstanceByFilter

func GetInstanceByFilter(filterName, filterValue string) (types.Instance, error)

func GetInstanceByID

func GetInstanceByID(instanceID string) (types.Instance, error)

func Init

func Init(region string, profile string) error

func ListInstances

func ListInstances() ([]types.Instance, error)

func SendSSHPublicKey

func SendSSHPublicKey(instance types.Instance, instanceOSUser string, sshPublicKey string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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