package test

import "github.com/open-policy-agent/opa/storage/inmem/test"

Index

Functions

func New

func New() storage.Store

New returns an inmem store with some common options set: opt-out of write roundtripping.

func NewFromObject

func NewFromObject(x map[string]interface{}) storage.Store

NewFromObject returns an inmem store from the passed object, with some common options set: opt-out of write roundtripping.

Source Files

testutil.go

Version
v0.57.1
Published
Oct 18, 2023
Platform
js/wasm
Imports
2 packages
Last checked
19 minutes ago

Tools for package owners.