[READ ONLY MIRROR] Envoy REST/proto API definitions and documentation. (grpc依赖)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.3 KiB

licenses(["notice"]) # Apache 2
py_binary(
name = "tap2pcap",
srcs = ["tap2pcap.py"],
licenses = ["notice"], # Apache 2
python_version = "PY2",
visibility = ["//visibility:public"],
deps = ["//envoy/data/tap/v2alpha:pkg_py_proto"],
)
py_test(
name = "tap2pcap_test",
srcs = ["tap2pcap_test.py"],
data = [
"data/tap2pcap_h2_ipv4.pb_text",
"data/tap2pcap_h2_ipv4.txt",
],
python_version = "PY2",
# Don't run this by default, since we don't want to force local dependency on Wireshark/tshark,
# will explicitly invoke in CI.
tags = ["manual"],
visibility = ["//visibility:public"],
deps = [":tap2pcap"],
)
py_binary(
name = "generate_listeners",
srcs = ["generate_listeners.py"],
licenses = ["notice"], # Apache 2
visibility = ["//visibility:public"],
deps = [
"//envoy/api/v2:pkg_py_proto",
"//envoy/config/filter/network/http_connection_manager/v2:pkg_py_proto",
],
)
py_test(
name = "generate_listeners_test",
srcs = ["generate_listeners_test.py"],
data = [
"//examples/service_envoy:http_connection_manager.pb",
"//examples/service_envoy:listeners.pb",
],
visibility = ["//visibility:public"],
deps = [":generate_listeners"],
)