cwmetric2

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchMetric2

type CloudWatchMetric2 struct {
	Region     string
	Namespace  string
	Metric     string
	Dimensions map[string]string
	Statistics string
	Period     int64
	Delay      int64
	FailIfZero bool
}

func ParseFlag

func ParseFlag() (cwm2 *CloudWatchMetric2, err error)

func (*CloudWatchMetric2) GetMetricStatistics

func (cwm2 *CloudWatchMetric2) GetMetricStatistics() (value float64, err error)

type Datapoints

type Datapoints []*cloudwatch.Datapoint

func (Datapoints) Len

func (dps Datapoints) Len() int

func (Datapoints) Less

func (dps Datapoints) Less(i, j int) bool

func (Datapoints) Swap

func (dps Datapoints) Swap(i, j int)

Jump to

Keyboard shortcuts

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