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.
47 lines
1.3 KiB
47 lines
1.3 KiB
licenses(["notice"]) # Apache 2 |
|
|
|
py_binary( |
|
name = "capture2pcap", |
|
srcs = ["capture2pcap.py"], |
|
licenses = ["notice"], # Apache 2 |
|
visibility = ["//visibility:public"], |
|
deps = [ |
|
"//envoy/data/tap/v2alpha:capture_py", |
|
], |
|
) |
|
|
|
py_test( |
|
name = "capture2pcap_test", |
|
srcs = ["capture2pcap_test.py"], |
|
data = [ |
|
"data/capture2pcap_h2_ipv4.pb_text", |
|
"data/capture2pcap_h2_ipv4.txt", |
|
], |
|
# 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 = [":capture2pcap"], |
|
) |
|
|
|
py_binary( |
|
name = "generate_listeners", |
|
srcs = ["generate_listeners.py"], |
|
licenses = ["notice"], # Apache 2 |
|
visibility = ["//visibility:public"], |
|
deps = [ |
|
"//envoy/api/v2:lds_py", |
|
"//envoy/config/filter/network/http_connection_manager/v2:http_connection_manager_py", |
|
], |
|
) |
|
|
|
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"], |
|
)
|
|
|