raisefault

package
v0.0.0-...-8be9c10 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

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 RaiseFault.

Types

type RaiseFault

type RaiseFault struct {
	XMLName                   string `xml:"RaiseFault" hcl:"-"`
	policy.Policy             `hcl:",squash"`
	DisplayName               string         `xml:",omitempty" hcl:"display_name"`
	FaultResponse             *faultResponse `xml:"FaultResponse" hcl:"fault_response"`
	IgnoreUnresolvedVariables bool           `xml:"IgnoreUnresolvedVariables" hcl:"ignore_unresolved_variables"`
}

RaiseFault represents a <RaiseFault/> element.

Documentation: http://docs.apigee.com/api-services/reference/raise-fault-policy

Jump to

Keyboard shortcuts

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