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 an ServiceCallout object.
Types ¶
type ServiceCallout ¶
type ServiceCallout struct { XMLName string `xml:"ServiceCallout" hcl:"-"` policy.Policy `hcl:",squash"` DisplayName string `xml:",omitempty" hcl:"display_name"` Request *scRequest `hcl:"request"` HTTPTargetConnection *endpoints.HTTPTargetConnection `hcl:"http_target_connection"` LocalTargetConnection *endpoints.LocalTargetConnection `hcl:"local_target_connection"` Response string `xml:",omitempty" hcl:"response"` Timeout int `xml:",omitempty" hcl:"timeout"` }
ServiceCallout represents an <ServiceCallout/> element.
Documentation: http://docs.apigee.com/api-services/reference/service-callout-policy
Click to show internal directories.
Click to hide internal directories.