proxy-wasm-go-sdk
proxy-wasm-go-sdk copied to clipboard
WebAssembly for Proxies (Go SDK)
Hi there, I am trying to migrate our Lua-based EnvoyFilter to be proxy-wasm-based EnvoyFilter. I am now facing an issue related to the callback model for DispatchHttpCall, hence, wondering if...
## Describe the bug / error using the following function r, err := proxywasm.GetProperty([]string{"filter_state", "test-data"}) where test-data is filter_state stored as protobuf in streaminfo. whats the format in which this...
## Describe the bug / error I'm trying to query the route filter metadata, using the `GetProperty` function, based on the docs: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/attributes The problem is that I can't get...
Hello there, Currently, the `ProxyGetProperty` and `ProxySetProperty` methods are not implemented in `proxytest`. This prevents developers from writing more complete unit tests. Would you consider the implementation of those methods...
## Describe the bug / error OnVMStart method invokes the proxywasm. DispatchHttpCall method error ``` proxy_on_vm_start failed: Uncaught RuntimeError: unreachable Proxy-Wasm plugin in-VM backtrace: 0: 0x7ca4 - runtime.runtimePanic 1: 0x1fca...
I am doing unit tests for my filter with DispatchHttp, something like this: ``` _, err = proxywasm.DispatchHttpCall(ctx.clusterName, headers, body, nil, ctx.timeout, ctx.callback) if err != nil { proxywasm.LogCriticalf("big error:...
I'd like to be able to generate better coverage of my foreign functions, but right now, the code limits you to an implicit "Ok" result. This prevents me testing some...
just like c++ SDK https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/blob/7afb39d868a973caa6216a535c24e37fb666b6f3/proxy_wasm_api.h#L460-L462
e.g. executing `runtime.GC` in `OnTick`