metadata

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvailabilityZone

func AvailabilityZone() (string, error)

func IAMRoles

func IAMRoles() ([]string, error)

func InstanceID

func InstanceID() (string, error)

Types

type Credentials

type Credentials struct {
	AccessKeyId     string
	SecretAccessKey string
	Token           string
	Expiration      time.Time
	LastUpdated     time.Time
	Type            string
	Code            string
}

func IAMCredentials

func IAMCredentials(role string) (c *Credentials, err error)

Jump to

Keyboard shortcuts

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