Module bundle

Source
Expand description

An Open Policy Agent bundle containing permissionables

Structsยง

Bundle
The contents of the Open Policy Agent bundle
Manifest ๐Ÿ”’
The manifest file, which contains data about the bundle and optional additonal metadata
NoMetadata
A placeholder to be used when no metadata is required
WasmModule ๐Ÿ”’
A compiled Web Assembly module

Enumsยง

BundleDataError
Combination of possible errors when fetching data to create bundle

Constantsยง

BUNDLE_PREFIX ๐Ÿ”’
The prefix applied to data files in the bundle. Open Policy Agent does not support loading bundles with overlapping prefixes

Traitsยง

FromByteSlice ๐Ÿ”’
An extension trait used to implement header creation from byte slices

Functionsยง

read_static_data ๐Ÿ”’
Read static data from files that should be included in the compiled bundle