package test
import "github.com/open-policy-agent/opa/v1/storage/inmem/test"
Index ¶
- func New() storage.Store
- func NewFromObject(x map[string]any) storage.Store
- func NewFromObjectWithASTRead(x map[string]any) storage.Store
Functions ¶
func New ¶
New returns an inmem store with some common options set: opt-out of write roundtripping.
func NewFromObject ¶
NewFromObject returns an inmem store from the passed object, with some common options set: opt-out of write roundtripping.
func NewFromObjectWithASTRead ¶
NewFromObjectWithASTRead returns an inmem store from the passed object, with round-trip on write disabled and AST values returned on read.
Source Files ¶
- Version
- v1.5.1 (latest)
- Published
- Jun 4, 2025
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 10 hours ago –
Tools for package owners.