Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHCL ¶
func DecodeHCL(item *ast.ObjectItem) (interface{}, error)
DecodeHCL converts HCL into an JavaScript object.
Types ¶
type JavaScript ¶
type JavaScript struct { XMLName string `xml:"Javascript" hcl:"-"` policy.Policy `hcl:",squash"` TimeLimit int `xml:"timeLimit,attr" hcl:"time_limit"` DisplayName string `xml:",omitempty" hcl:"display_name"` ResourceURL string `hcl:"resource_url"` IncludeURL []string `xml:",omitempty" hcl:"include_url"` Properties []*properties.Property `xml:"Properties>Property" hcl:"properties"` Content string `xml:"-" hcl:"content"` }
JavaScript represents a <Javascript/> element.
Documentation: http://docs.apigee.com/api-services/reference/javascript-policy
func (*JavaScript) Resource ¶
func (j *JavaScript) Resource() *policy.Resource
Resource represents an included file in a proxy bundle
Click to show internal directories.
Click to hide internal directories.