apache / shardingsphere-on-cloud

A collection of tools and best practices to take ShardingSphere into the cloud
Apache License 2.0
83 stars 28 forks source link

refactor: refactor common functions and command prompt #469

Closed mlycore closed 9 months ago

mlycore commented 9 months ago

Type of change:

What this PR does / why we need it:

Pre-submission checklist:

codecov-commenter commented 9 months ago

Codecov Report

Attention: 831 lines in your changes are missing coverage. Please review.

Comparison is base (3604a24) 39.71% compared to head (a8c3c9a) 36.69%. Report is 206 commits behind head on main.

Files Patch % Lines
...phere-operator/pkg/controllers/chaos_controller.go 0.00% 276 Missing :warning:
...perator/pkg/controllers/storage_node_controller.go 26.58% 96 Missing and 20 partials :warning:
...operator/pkg/controllers/auto_scaler_controller.go 0.00% 89 Missing :warning:
pitr/cli/internal/cmd/delete.go 60.80% 38 Missing and 11 partials :warning:
pitr/cli/internal/pkg/local-storage.go 11.11% 37 Missing and 3 partials :warning:
pitr/agent/internal/pkg/opengauss.go 2.56% 38 Missing :warning:
...ator/cmd/shardingsphere-operator/manager/option.go 6.06% 31 Missing :warning:
pitr/cli/internal/cmd/common.go 77.77% 16 Missing and 8 partials :warning:
...ere-operator/pkg/kubernetes/container/container.go 31.25% 22 Missing :warning:
shardingsphere-operator/pkg/kubernetes/helpers.go 46.15% 20 Missing and 1 partial :warning:
... and 12 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #469 +/- ## ========================================== - Coverage 39.71% 36.69% -3.03% ========================================== Files 51 60 +9 Lines 6083 6780 +697 ========================================== + Hits 2416 2488 +72 - Misses 3448 4049 +601 - Partials 219 243 +24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 9 months ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication