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 ResponseCache
Types ¶
type ResponseCache ¶
type ResponseCache struct { XMLName string `xml:"ResponseCache" hcl:"-"` policy.Policy `hcl:",squash"` Type string `xml:"type,attr,omitempty" hcl:"type"` DisplayName string `xml:",omitempty" hcl:"display_name"` CacheKey *cacheKey `xml:"CacheKey" hcl:"cache_key"` Scope string `xml:",omitempty" hcl:"scope"` ExpirySettings *expirySettings `xml:"ExpirySettings" hcl:"expiry_settings"` CacheResource string `xml:",omitempty" hcl:"cache_resource"` CacheLookupTimeoutInSeconds int `xml:",omitempty" hcl:"lookup_timeout"` ExcludeErrorResponse bool `xml:",omitempty" hcl:"exclude_error_response"` SkipCacheLookup string `xml:",omitempty" hcl:"skip_cache_lookup"` SkipCachePopulation string `xml:",omitempty" hcl:"skip_cache_population"` UseAcceptHeader bool `xml:",omitempty" hcl:"use_accept_header"` UseResponseCacheHeaders bool `xml:",omitempty" hcl:"use_response_cache_headers"` }
ResponseCache represents a <ResponseCache/> element.
Documentation: http://docs.apigee.com/api-services/reference/response-cache-policy
Click to show internal directories.
Click to hide internal directories.