Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHCL ¶
func DecodeHCL(item *ast.ObjectItem) (interface{}, error)
DecodeHCL converts an HCL ast.ObjectItem into a SpikeArrest object.
Types ¶
type SpikeArrest ¶
type SpikeArrest struct { XMLName string `xml:"SpikeArrest" hcl:"-"` policy.Policy `hcl:",squash"` DisplayName string `xml:",omitempty" hcl:"display_name"` Identifier *spikeIdentifier `hcl:"identifier"` MessageWeight *spikeMessageWeight `hcl:"message_weight"` Rate *spikeRate `hcl:"rate"` }
SpikeArrest represents a <SpikeArrest/> element.
Documentation: http://docs.apigee.com/api-services/reference/spike-arrest-policy
Click to show internal directories.
Click to hide internal directories.