aws

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CostCommand added in v0.0.3

type CostCommand struct {
	Services []string
}

func (CostCommand) Exec added in v0.0.3

func (a CostCommand) Exec(d command.CommandData)

func (CostCommand) GetHelp added in v0.0.3

func (CostCommand) GetHelp() string

func (CostCommand) GetMentionCommand added in v0.0.3

func (CostCommand) GetMentionCommand() string

func (CostCommand) GetRegexp added in v0.0.3

func (CostCommand) GetRegexp() *regexp.Regexp

func (CostCommand) HasHelp added in v0.0.3

func (CostCommand) HasHelp() bool

type Costs

type Costs struct {
	Total    float64
	Other    float64
	Services map[string]float64
}

type Datapoint added in v0.0.3

type Datapoint struct {
	MetricName string
	Value      float64
	Time       time.Time
}

type Datapoints added in v0.0.3

type Datapoints []Datapoint

func NewDatapoints added in v0.0.3

func NewDatapoints(input cloudwatch.MetricStatisticsInput, list []cloudwatch.Datapoint) Datapoints

func (Datapoints) GetFirstValue added in v0.0.3

func (p Datapoints) GetFirstValue() float64

type DynamoDBCommand added in v0.0.4

type DynamoDBCommand struct {
	Metrics       []string
	MaxBorder     int
	ChartEndpoint string
}

func (DynamoDBCommand) Exec added in v0.0.4

func (DynamoDBCommand) GetHelp added in v0.0.4

func (DynamoDBCommand) GetHelp() string

func (DynamoDBCommand) GetMentionCommand added in v0.0.4

func (DynamoDBCommand) GetMentionCommand() string

func (DynamoDBCommand) GetRegexp added in v0.0.4

func (DynamoDBCommand) GetRegexp() *regexp.Regexp

func (DynamoDBCommand) HasHelp added in v0.0.4

func (DynamoDBCommand) HasHelp() bool

type KV

type KV struct {
	Key   string
	Value float64
}

type KVList

type KVList []KV

func (KVList) Len

func (l KVList) Len() int

func (KVList) Less

func (l KVList) Less(i, j int) bool

func (KVList) Swap

func (l KVList) Swap(i, j int)

type SQSCommand added in v0.0.3

type SQSCommand struct {
	Metrics       []string
	MaxBorder     int
	ChartEndpoint string
}

func (SQSCommand) Exec added in v0.0.3

func (s SQSCommand) Exec(d command.CommandData)

func (SQSCommand) GetHelp added in v0.0.3

func (SQSCommand) GetHelp() string

func (SQSCommand) GetMentionCommand added in v0.0.3

func (SQSCommand) GetMentionCommand() string

func (SQSCommand) GetRegexp added in v0.0.3

func (SQSCommand) GetRegexp() *regexp.Regexp

func (SQSCommand) HasHelp added in v0.0.3

func (SQSCommand) HasHelp() bool

Jump to

Keyboard shortcuts

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