Skip to content
#

envoyproxy

Here are 118 public repositories matching this topic...

kuma
rodrigovc
rodrigovc commented Mar 2, 2022

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: %v", err)
		proxywasm.ResumeHttpRequest()
		return types.ActionContinue
	}

I don't know of a way to mock the DispatchHttpCall method in order to re

good first issue
codefromthecrypt
codefromthecrypt commented Nov 17, 2021

This part of the makefile could be changed to not write an intermediate file, instead temporarily setting variables like GOARCH and NFPM_VERSION

See https://github.com/goreleaser/nfpm/blob/main/www/docs/configuration.md

build/func-e_linux_%/nfpm.yaml: packaging/nfpm/nfpm.yaml build/func-e_linux_%/func-e
	@mkdir -p $(@D)
	@sed -e 's/amd64/$(*)/g' -e 's/v0.0.1/$(nfpm_version)/g' $< > 
enhancement good first issue
Swaagie
Swaagie commented Mar 17, 2022

This is more a discussion than an issue. Would it be valuable to move every example into it's own folder and include a matching envoy config + docker compose config? This should allow developers exploring the proxy-wasm SDK to run the example easily.

If this is considered valuable, I can contribute the changes.

enhancement good first issue

Improve this page

Add a description, image, and links to the envoyproxy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the envoyproxy topic, visit your repo's landing page and select "manage topics."

Learn more