Skip to content

Isito WebAssembly for Proxies (Rust SDK) template

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

labring-actions/istio-wasm-template

Repository files navigation

istio-wasm-template

About

This template is designed for compiling Rust libraries into Istio Wasm and publishing the resulting package to OCI registry.

WasmPlugins provides a mechanism to extend the functionality provided by the Istio proxy through WebAssembly filters.

Be sure to using WasmPlugins for istio 1.11 or later.

Tutorials: https://istio.io/latest/docs/reference/config/proxy_extensions/wasm-plugin/

Rust-SDK: https://github.com/proxy-wasm/proxy-wasm-rust-sdk

🚴 Usage

🐑 Use cargo generate to Clone this Template

Learn more about cargo generate here.

cargo generate --git https://github.com/labring-actions/istio-wasm-template.git --name my-project
cd my-project

🛠️ Build with cargo build

make build

🔭 Upload vendor

make vendor

🎁 Build to OCI with docker

REPO=sealos.hub:5000 IMG=wasm/wasm-auth:latest make docker-build

🎁 Build to OCI with sealos

REPO=sealos.hub:5000 IMG=wasm/wasm-auth:latest make oci-build

🎁 Push sealos image

REPO=sealos.hub:5000 IMG=wasm/wasm-auth:latest make sealos-push

🔋 Batteries Included

  • proxy-wasm-rust-sdk WebAssembly for Proxies (Rust SDK).
  • LICENSE-APACHE and LICENSE-MIT: most Rust projects are licensed this way, so these are included for you

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Isito WebAssembly for Proxies (Rust SDK) template

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks