megaease / easemesh

A service mesh implementation for connecting, control, and observe services in spring-cloud.
https://megaease.com/easemesh
Apache License 2.0
505 stars 61 forks source link

shadow service install #106

Closed localvar closed 2 years ago

localvar commented 2 years ago

Because shadow service is an optional component, two new flags are added to emctl install command

Default emctl reset command uninstalls all installed add-ons, --only-add-on and --add-ons= could be specified to only uninstall add-ons.

we will need a new command like emctl install-add-on for better add-on management later.

codecov-commenter commented 2 years ago

Codecov Report

Merging #106 (86a2faa) into main (6335c01) will decrease coverage by 0.50%. The diff coverage is 64.58%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   77.50%   76.99%   -0.51%     
==========================================
  Files          64       68       +4     
  Lines        5308     5582     +274     
==========================================
+ Hits         4114     4298     +184     
- Misses        953     1040      +87     
- Partials      241      244       +3     
Impacted Files Coverage Δ
emctl/cmd/client/command/mesh_install.go 8.87% <0.00%> (-2.25%) :arrow_down:
emctl/cmd/client/command/mesh_reset.go 20.68% <0.00%> (-6.59%) :arrow_down:
...ommand/meshinstall/shadowservice/customresource.go 33.33% <33.33%> (ø)
...client/command/meshinstall/shadowservice/deploy.go 45.65% <45.65%> (ø)
emctl/cmd/client/resource/customresource.go 79.36% <88.88%> (+7.14%) :arrow_up:
...ent/command/meshinstall/shadowservice/rbac_spec.go 90.90% <90.90%> (ø)
...mmand/meshinstall/shadowservice/deployment_spec.go 95.89% <95.89%> (ø)
emctl/cmd/client/command/flags/flags.go 94.87% <100.00%> (+0.35%) :arrow_up:
...command/meshinstall/meshingress/deployment_spec.go 97.95% <100.00%> (+0.24%) :arrow_up:

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 6335c01...86a2faa. Read the comment docs.