envoy 구조를 다시 확인한다.

istio에서 지원하는 WasmPlugin의 문서를 다시 확인했다.
WasmPlugins provides a mechanism to extend the functionality provided by the Istio proxy through
WebAssembly filters.
즉 wasmPlugin은 wasm filter를 더 쉽게 적용하기 위한 용도다.
확장 가능한건 filter 파트뿐이다. (맨 위 envoy 구조 참고)
다만 envoyFilter는 filter외 다른 파트도 수정할 수 있다.
envoyFilter 문서
EnvoyFilter provides a mechanism to customize the Envoy configuration generated by Istio Pilot. Use EnvoyFilter to modify values for certain fields, add specific
filters, or even add entirely newlisteners,clusters, etc.
예시를 보면 listener/cluster에 대한 설정을 추가할 수 있다.
https://pkg.go.dev/github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm