trimble.get_cached_data
Namespace Reference
Definition
Section titled “Definition”Provides cache functions.
trimble.http.get
Section titled “trimble.http.get”trimble.http.get_cached_data(key)Parameters
Section titled “Parameters”key string
The cache key to retrieve data.
Returns
Section titled “Returns”A Rego object of the cached data
Errors
Section titled “Errors”These built-ins exit immediately if any errors are encountered during policy evaluation and return a 500 status with error details from the appliance decision endpoint. These errors include:
- Invalid cache, redis cache not enabled