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.50.1
Published
Mar 16, 2023
Platform
darwin/amd64
Imports
2 packages
Last checked
2 minutes ago

Tools for package owners.