ec2metadata

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 3 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)
	Region() (string, error)
}

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

func New

func New() EC2Metadata

NewEC2Metadata creates a new EC2Metadata object

Directories

Path Synopsis
Package mock_ec2metadata is a generated GoMock package.
Package mock_ec2metadata is a generated GoMock package.

Jump to

Keyboard shortcuts

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