Back to godoc.org
github.com/kevinswiber/apigee-hcl / dsl / policies / statisticscollector

Package statisticscollector

v0.0.0-...-8be9c10
Latest Go to latest

The highest tagged major version is .

Published: Sep 6, 2016 | License: Apache-2.0 | Module: github.com/kevinswiber/apigee-hcl

Index

func DecodeHCL

func DecodeHCL(item *ast.ObjectItem) (interface{}, error)

DecodeHCL converts an HCL ast.ObjectItem into an StatisticsCollector object.

type StatisticsCollector

type StatisticsCollector struct {
	XMLName       string `xml:"StatisticsCollector" hcl:"-"`
	policy.Policy `hcl:",squash"`
	DisplayName   string         `xml:",omitempty" hcl:"display_name"`
	Statistics    []*scStatistic `xml:"Statistics>Statistic" hcl:"statistic"`
}

StatisticsCollector represents an <StatisticsCollector/> element.

Documentation: http://docs.apigee.com/api-services/reference/statistics-collector-policy

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier