mpawswaf

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type WAFer added in v1.1.0

type WAFer interface {
	GetWebACL(*waf.GetWebACLInput) (*waf.GetWebACLOutput, error)
	GetRule(*waf.GetRuleInput) (*waf.GetRuleOutput, error)
}

WAFer provides GetWebACL and GetRule API operations.

type WafPlugin

type WafPlugin struct {
	AccessKeyID     string
	SecretAccessKey string
	Region          string
	WebACLID        string
	WebACL          string
	Rules           []string
	CloudWatch      *cloudwatch.CloudWatch
}

WafPlugin mackerel plugin for aws waf

func (WafPlugin) FetchMetrics

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

FetchMetrics interface for mackerelplugin

func (WafPlugin) GraphDefinition

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

GraphDefinition interface for mackerelplugin

Jump to

Keyboard shortcuts

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