Skip to content
Snippets Groups Projects

Add Rego lang extension to work with the cache

Merged Valerii Kalashnikov requested to merge add_opa_get_cache_value_ext into main

Create CacheExt struct with the GetCacheFunc and SetCacheFunc method. These methods are universal and could be used either for use cases with the library or for extending the runtime as well.

Please find the working example of how to use the extension with the library inside of the unit tests

Edited by Valerii Kalashnikov

Merge request reports

Pipeline #50295 passed

Pipeline passed for ed961403 on add_opa_get_cache_value_ext

Test coverage 83.30% (-7.40%) from 1 job
Approval is optional
Ready to merge by members who can write to the target branch.

Merge details

  • 2 commits and 1 merge commit will be added to main.
  • Source branch will be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading