apache / dubbo-admin

The ops and reference implementation for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
3.99k stars 2.17k forks source link

dubboctl initial phase #1073

Closed DMwangnima closed 1 year ago

DMwangnima commented 1 year ago

What is the purpose of the change

dubboctl initial phase based on istioctl design.

Brief changelog

  1. code entrance: /pkg/dubboctl/cmd/manifest.go
  2. main code packages: /pkg/dubboctl/internal/apis, /pkg/dubboctl/internal/controlplane, /pkg/dubboctl/internal/manifest, /pkg/dubboctl/internal/util, deploy/profiles

Verifying this change

See /pkg/dubboctl/cmd/manifest_test.go, it shows a simple performing link of manifest generate cmd.

github-advanced-security[bot] commented 1 year ago

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

codecov-commenter commented 1 year ago

Codecov Report

Merging #1073 (7e1a305) into refactor-with-go (45038c6) will decrease coverage by 4.49%. The diff coverage is 42.70%.

@@                 Coverage Diff                  @@
##           refactor-with-go    #1073      +/-   ##
====================================================
- Coverage             63.63%   59.15%   -4.49%     
====================================================
  Files                    33       47      +14     
  Lines                  2651     3932    +1281     
====================================================
+ Hits                   1687     2326     +639     
- Misses                  844     1382     +538     
- Partials                120      224     +104     
Impacted Files Coverage Δ
pkg/dubboctl/internal/operator/operator.go 0.00% <0.00%> (ø)
pkg/dubboctl/internal/util/path.go 0.00% <0.00%> (ø)
pkg/dubboctl/internal/util/reflect.go 0.00% <0.00%> (ø)
pkg/dubboctl/internal/util/yaml.go 0.00% <0.00%> (ø)
pkg/dubboctl/internal/manifest/tree.go 13.77% <13.77%> (ø)
pkg/dubboctl/internal/manifest/common.go 15.90% <15.90%> (ø)
pkg/dubboctl/internal/manifest/util.go 33.33% <33.33%> (ø)
pkg/dubboctl/internal/kube/common.go 44.44% <44.44%> (ø)
pkg/dubboctl/internal/kube/client.go 49.42% <49.42%> (ø)
pkg/dubboctl/internal/operator/component.go 63.88% <63.88%> (ø)
... and 6 more

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

sonarcloud[bot] commented 1 year 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 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information