util

package
v0.0.0-...-00b8dcf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstances

func GetInstances(profile, region, key, secret, token string) (instances []map[string]string, err error)

func GetProfileCredentials

func GetProfileCredentials(profiles *configparser.ConfigParser, profile string) (key string, secret string, token string, err error)

func ParseCredentials

func ParseCredentials(credsFile string) (profiles *configparser.ConfigParser, err error)

func StartSession

func StartSession(username string, key, secret, token, instanceId, profile, region, version string) error

func Verify

func Verify(awsDir, credsFile string) (err error)

Types

type Target

type Target struct {
	Target string `json:"Target"`
}

Jump to

Keyboard shortcuts

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