package wasm
import "github.com/open-policy-agent/opa/internal/compiler/wasm"
Package wasm contains an IR->WASM compiler backend.
Index ¶
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
Compiler implements an IR->WASM compiler backend.
func New ¶
func New() *Compiler
New returns a new compiler object.
func (*Compiler) Compile ¶
Compile returns a compiled WASM module.
func (*Compiler) WithPolicy ¶
WithPolicy sets the policy to compile.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal/compiler/wasm/opa | Package opa contains bytecode for the OPA-WASM library. |
- Version
- v0.18.0
- Published
- Mar 17, 2020
- Platform
- windows/amd64
- Imports
- 9 packages
- Last checked
- 38 minutes ago –
Tools for package owners.