package ptr
import "github.com/open-policy-agent/opa/storage/internal/ptr"
Package ptr provides utilities for pointer operations using storage layer paths.
Index ¶
- func Ptr(data interface{}, path storage.Path) (interface{}, error)
- func ValidateArrayIndex(arr []interface{}, s string, path storage.Path) (int, error)
Functions ¶
func Ptr ¶
func ValidateArrayIndex ¶
Source Files ¶
- Version
- v0.35.0
- Published
- Dec 1, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 27 minutes ago –
Tools for package owners.