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 XMLToJSON object.
Types ¶
type XMLToJSON ¶
type XMLToJSON struct { XMLName string `xml:"XMLToJSON" hcl:"-"` policy.Policy `hcl:",squash"` DisplayName string `xml:",omitempty" hcl:"display_name"` Source string `xml:",omitempty" hcl:"source"` OutputVariable string `xml:",omitempty" hcl:"output_variable"` Options *xmlJSONOptions `xml:",omitempty" hcl:"options"` Format string `xml:",omitempty" hcl:"format"` }
XMLToJSON represents an <XMLToJSON/> element.
Documentation: http://docs.apigee.com/api-services/reference/xml-json-policy
Click to show internal directories.
Click to hide internal directories.