This is an automated email from the ASF dual-hosted git repository. liujun pushed a commit to branch refactor-with-go-package in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git
commit d1b21a26f9b8f1af25845baa70a02e44a03ab00e Merge: 2947773a 6a802620 Author: chickenlj <[email protected]> AuthorDate: Thu May 11 13:47:03 2023 +0800 Merge branch 'refactor-with-go' of https://github.com/apache/dubbo-admin into refactor-with-go cmd/authority/app/authority.go | 9 +- deploy/charts/dubbo-admin/templates/_charts.tpl | 4 +- deploy/charts/dubbo-admin/templates/configmap.yaml | 104 +++ .../charts/dubbo-admin/templates/deployment.yaml | 4 +- deploy/charts/dubbo-admin/values.yaml | 256 ++++--- deploy/charts/nacos/templates/NOTES.txt | 0 deploy/charts/nacos/templates/_charts.tpl | 20 +- deploy/charts/nacos/templates/configmap.yaml | 2 - .../templates/extra-list.yaml} | 17 +- deploy/charts/nacos/templates/statefulset.yaml | 19 +- deploy/charts/nacos/templates/svc-headless.yaml | 2 - deploy/charts/nacos/templates/svc.yaml | 2 - deploy/charts/nacos/values.yaml | 44 +- go.mod | 18 +- go.sum | 41 +- pkg/dubboctl/cmd/manifest.go | 2 + pkg/dubboctl/cmd/manifest_test.go | 84 ++- .../dubboctl/cmd/testdata/diff/profileA.yaml | 21 +- .../dubboctl/cmd/testdata/diff/profileB.yaml | 21 +- .../apis/dubbo.apache.org/v1alpha1/types.go | 11 +- pkg/dubboctl/internal/cmd/manifest_diff.go | 174 +++++ .../cmd/{manifest.go => manifest_generate.go} | 3 +- .../cmd/{install.go => manifest_install.go} | 2 +- .../cmd/{install.go => manifest_uninstall.go} | 42 +- pkg/dubboctl/internal/kube/client.go | 80 ++ pkg/dubboctl/internal/kube/client_test.go | 179 ++++- pkg/dubboctl/internal/kube/object.go | 131 +++- pkg/dubboctl/internal/kube/object_test.go | 139 ++++ .../input/ctl_client-remove_manifest-before.yaml | 23 +- .../testdata/input/ctl_client-remove_manifest.yaml | 23 +- .../ctl_client-remove_object-delete-before.yaml | 14 +- .../input/ctl_client-remove_object-delete.yaml | 14 +- pkg/dubboctl/internal/operator/component.go | 34 + pkg/dubboctl/internal/operator/operator.go | 18 + .../admin_component-render_manifest.golden.yaml | 183 ++--- .../grafana_component-render_manifest.golden.yaml | 242 +++--- .../nacos_component-render_manifest.golden.yaml | 107 +-- ...rometheus_component-render_manifest.golden.yaml | 831 ++++++++++++--------- ...kywalking_component-render_manifest.golden.yaml | 459 ++++++------ .../zipkin_component-render_manifest.golden.yaml | 64 +- ...zookeeper_component-render_manifest.golden.yaml | 191 ++--- pkg/dubboctl/internal/util/filter_test.go | 23 + pkg/dubboctl/internal/util/yaml.go | 89 +++ pkg/dubboctl/internal/util/yaml_test.go | 197 +++++ pkg/logger/log.go | 21 +- pkg/logger/log_wrapper.go | 109 +++ 46 files changed, 2784 insertions(+), 1289 deletions(-)
