mpawstgw

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do : Do plugin

Types

type AwsTgwPlugin

type AwsTgwPlugin struct {
	Prefix      string
	AccessKeyID string
	SecretKeyID string
	Region      string
	RoleArn     string
	Tgw         string
	CloudWatch  *cloudwatch.Client
}

AwsTgwPlugin struct

func (AwsTgwPlugin) FetchMetrics

func (p AwsTgwPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics : fetch metrics

func (AwsTgwPlugin) GraphDefinition

func (p AwsTgwPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition : return graph definition

func (AwsTgwPlugin) MetricKeyPrefix

func (p AwsTgwPlugin) MetricKeyPrefix() string

MetricKeyPrefix : interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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