mirror of https://github.com/istio/proxy.git
* remove opencensus tracer Change-Id: I130f6e902d00805568e2d4206069f9e98c70853b Signed-off-by: Kuat Yessenov <kuat@google.com> * fix Change-Id: I16f9d81ce2acc5cf2725f5e718d10055043a6ac3 Signed-off-by: Kuat Yessenov <kuat@google.com> --------- Signed-off-by: Kuat Yessenov <kuat@google.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| main.go | ||
| wellknown-extensions | ||
README.md
Extension check
This is a simple tool to check all core extensions from envoy are enabled in istio/proxy.
Usage
go run tools/extension-check/main.go \
--ignore-extensions "<WELLKNOWN_IGNORE_EXTENSIONS>" \
--envoy-extensions-build-config "<ENVOY_EXTENSIONS_BUILD_CONFIG>" \
--proxy-extensions-build-config "<PROXY_EXTENSIONS_BUILD_CONFIG>"
Example
Envoy source code can be found at ~/Codes/istio.io/envoy.
Proxy source code can be found at ~/Codes/istio.io/proxy.
First you need delete the first line of proxy extensions build config file, which is load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive").
sed -i '1d' ~/Codes/istio.io/proxy/bazel/extension_config/extensions_build_config.bzl
Then you can run the following command to check all core extensions are enabled in proxy.
cd ~/Codes/istio.io/proxy
go run tools/extension-check/main.go \
--ignore-extensions tools/extension-check/wellknown-extensions \
--envoy-extensions-build-config "../envoy/source/extensions/extensions_build_config.bzl" \
--proxy-extensions-build-config "./bazel/extension_config/extensions_build_config.bzl"