This is an automated email from the ASF dual-hosted git repository.

zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git


The following commit(s) were added to refs/heads/master by this push:
     new 55ba1042 [operator] Supplemental uninstallation logic
55ba1042 is described below

commit 55ba1042b82941c33bde40c95658302e5d041a9a
Author: mfordjody <[email protected]>
AuthorDate: Thu Dec 5 12:45:52 2024 +0800

    [operator] Supplemental uninstallation logic
---
 operator/cmd/cluster/uninstall.go | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/operator/cmd/cluster/uninstall.go 
b/operator/cmd/cluster/uninstall.go
index ef0115ae..8696e2a5 100644
--- a/operator/cmd/cluster/uninstall.go
+++ b/operator/cmd/cluster/uninstall.go
@@ -13,5 +13,26 @@ func addUninstallFlags() {
 }
 
 func UninstallCmd(ctx cli.Context) *cobra.Command {
-       return nil
+       rootArgs := &RootArgs{}
+       uiArgs := &uninstallArgs{}
+       uicmd := &cobra.Command{
+               Use:     "uninstall",
+               Short:   "Applies an Dubbo manifest, installing or 
reconfiguring Dubbo on a cluster",
+               Long:    "",
+               Example: ``,
+               RunE: func(cmd *cobra.Command, args []string) error {
+                       return uninstall(cmd, ctx, rootArgs, uiArgs)
+               },
+       }
+       AddFlags(uicmd, rootArgs)
+       addUninstallFlags()
+       return uicmd
 }
+
+func uninstall(
+       cmd *cobra.Command,
+       ctx cli.Context,
+       rootArgs *RootArgs,
+       uiArgs *uninstallArgs) error {
+       return nil
+}
\ No newline at end of file

Reply via email to