api7 / apisix-mesh-agent

Apache License 2.0
79 stars 10 forks source link

feat: traffic interception #30

Closed tokers closed 3 years ago

tokers commented 3 years ago

Implement two subcommands to set up and clean up iptables rules.

See https://github.com/api7/apisix-mesh-agent/blob/2782bf7b160ccdd60d3ac591e03d3346009b3495/docs/traffic-interception.md for details.

codecov[bot] commented 3 years ago

Codecov Report

Merging #30 (843150c) into main (0e492c7) will decrease coverage by 0.03%. The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   74.62%   74.59%   -0.04%     
==========================================
  Files          25       27       +2     
  Lines        1813     1893      +80     
==========================================
+ Hits         1353     1412      +59     
- Misses        355      371      +16     
- Partials      105      110       +5     
Impacted Files Coverage Δ
cmd/iptables/clenaup-iptables.go 47.36% <47.36%> (ø)
cmd/iptables/iptables.go 90.16% <90.16%> (ø)
pkg/provisioner/xds/v3/grpc/types.go 74.34% <0.00%> (-2.62%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0e492c7...804070c. Read the comment docs.

tokers commented 3 years ago

@membphis Please take a look when you have time.