ec2wrapper

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 15

Documentation

Overview

Package ec2wrapper is used to wrap around the ec2 service APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EC2Wrapper added in v1.5.0

type EC2Wrapper struct {
	// contains filtered or unexported fields
}

EC2Wrapper is used to wrap around EC2 service APIs to obtain ClusterID from the ec2 instance tags

func NewMetricsClient added in v1.5.0

func NewMetricsClient() (*EC2Wrapper, error)

NewMetricsClient returns an instance of the EC2 wrapper

func (*EC2Wrapper) GetClusterTag added in v1.5.0

func (e *EC2Wrapper) GetClusterTag(tagKey string) (string, error)

GetClusterTag is used to retrieve a tag from the ec2 instance

Directories

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

Jump to

Keyboard shortcuts

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