Documentation
¶
Overview ¶
Package plugins embeds the prebuilt WASM plugins of benchmark 4 (angelia-dev/angelia#59) and their draft manifests. The Rust sources sit next to them; build.sh rebuilds the .wasm files reproducibly and `build.sh --check` verifies the committed ones.
Only tests and benchmarks import this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CratesManifest ¶
func CratesManifest() []byte
CratesManifest returns the crates plugin's draft manifest.
func CratesWasm ¶
func CratesWasm() []byte
CratesWasm returns the crates.io source plugin (crates/src/lib.rs).
func HostileManifest ¶
func HostileManifest() []byte
HostileManifest returns the hostile plugin's draft manifest.
func HostileWasm ¶
func HostileWasm() []byte
HostileWasm returns a misbehaving plugin for the host's deny-path tests (hostile/src/lib.rs).
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package goplugin is the hashicorp/go-plugin prototype of the third-party plugin spike (angelia-dev/angelia#60, ADR 0013): the core side (Source, a source.Source backed by a plugin subprocess, and the Host service through which the plugin sends HTTP) and the plugin side (Serve).
|
Package goplugin is the hashicorp/go-plugin prototype of the third-party plugin spike (angelia-dev/angelia#60, ADR 0013): the core side (Source, a source.Source backed by a plugin subprocess, and the Host service through which the plugin sends HTTP) and the plugin side (Serve). |
|
cmd/angelia-plugin-crates
command
Command angelia-plugin-crates is the crates.io source as a go-plugin plugin binary (prototype, angelia-dev/angelia#60).
|
Command angelia-plugin-crates is the crates.io source as a go-plugin plugin binary (prototype, angelia-dev/angelia#60). |
|
crates
Package crates is the crates.io source of bench/plugins/crates/src/lib.rs ported to Go, line for line, as a go-plugin plugin (angelia-dev/angelia#60).
|
Package crates is the crates.io source of bench/plugins/crates/src/lib.rs ported to Go, line for line, as a go-plugin plugin (angelia-dev/angelia#60). |
|
goplugintest
Package goplugintest starts go-plugin plugins from a test binary: the test binary re-executes itself as the plugin, so tests need no separate build step.
|
Package goplugintest starts go-plugin plugins from a test binary: the test binary re-executes itself as the plugin, so tests need no separate build step. |