Back to / dsl / policies / statisticscollector

Package statisticscollector

Latest Go to latest

The highest tagged major version is .

Published: Sep 6, 2016 | License: Apache-2.0 | Module:


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.


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