imds

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetaData

func GetMetaData(key string) (string, error)

Types

type EC2Metadata

type EC2Metadata interface {
	GetMetadata(path string) (string, error)
	Region() (string, error)
}

EC2Metadata wraps the methods from the amazon-sdk-go's ec2metadata package

Jump to

Keyboard shortcuts

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