ec2metadata

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EC2Metadata

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

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

func NewEC2Metadata

func NewEC2Metadata() EC2Metadata

NewEC2Metadata creates a new EC2Metadata object

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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