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 0788679d [dubboctl] Replacement of part of the project structure
0788679d is described below

commit 0788679d12db360fe8f181100432aa84cef9b3ab
Author: mfordjody <[email protected]>
AuthorDate: Tue Oct 29 21:08:45 2024 +0800

    [dubboctl] Replacement of part of the project structure
---
 dubboctl/{cmd => pkg/deploy}/build.go           | 2 +-
 dubboctl/{cmd => pkg/deploy}/client.go          | 2 +-
 dubboctl/{cmd => pkg/deploy}/common.go          | 2 +-
 dubboctl/{cmd => pkg/deploy}/completion_util.go | 2 +-
 dubboctl/{cmd => pkg/deploy}/create.go          | 2 +-
 dubboctl/{cmd => pkg/deploy}/deploy.go          | 2 +-
 dubboctl/{cmd => pkg/deploy}/repository.go      | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dubboctl/cmd/build.go b/dubboctl/pkg/deploy/build.go
similarity index 99%
rename from dubboctl/cmd/build.go
rename to dubboctl/pkg/deploy/build.go
index 9d6278d5..ac3e82b1 100644
--- a/dubboctl/cmd/build.go
+++ b/dubboctl/pkg/deploy/build.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package deploy
 
 import (
        "fmt"
diff --git a/dubboctl/cmd/client.go b/dubboctl/pkg/deploy/client.go
similarity index 99%
rename from dubboctl/cmd/client.go
rename to dubboctl/pkg/deploy/client.go
index 71894a8c..327706e3 100644
--- a/dubboctl/cmd/client.go
+++ b/dubboctl/pkg/deploy/client.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package deploy
 
 import (
        "net/http"
diff --git a/dubboctl/cmd/common.go b/dubboctl/pkg/deploy/common.go
similarity index 98%
rename from dubboctl/cmd/common.go
rename to dubboctl/pkg/deploy/common.go
index 5fa60c67..1e89b3d9 100644
--- a/dubboctl/cmd/common.go
+++ b/dubboctl/pkg/deploy/common.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package deploy
 
 import (
        "sigs.k8s.io/controller-runtime/pkg/client"
diff --git a/dubboctl/cmd/completion_util.go 
b/dubboctl/pkg/deploy/completion_util.go
similarity index 99%
rename from dubboctl/cmd/completion_util.go
rename to dubboctl/pkg/deploy/completion_util.go
index 96f4d8c6..c29d67e1 100644
--- a/dubboctl/cmd/completion_util.go
+++ b/dubboctl/pkg/deploy/completion_util.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package deploy
 
 import (
        "fmt"
diff --git a/dubboctl/cmd/create.go b/dubboctl/pkg/deploy/create.go
similarity index 99%
rename from dubboctl/cmd/create.go
rename to dubboctl/pkg/deploy/create.go
index b3ff7387..1fc0cc92 100644
--- a/dubboctl/cmd/create.go
+++ b/dubboctl/pkg/deploy/create.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package deploy
 
 import (
        "errors"
diff --git a/dubboctl/cmd/deploy.go b/dubboctl/pkg/deploy/deploy.go
similarity index 99%
rename from dubboctl/cmd/deploy.go
rename to dubboctl/pkg/deploy/deploy.go
index 2d27385b..f7de1561 100644
--- a/dubboctl/cmd/deploy.go
+++ b/dubboctl/pkg/deploy/deploy.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package deploy
 
 import (
        "errors"
diff --git a/dubboctl/cmd/repository.go b/dubboctl/pkg/deploy/repository.go
similarity index 99%
rename from dubboctl/cmd/repository.go
rename to dubboctl/pkg/deploy/repository.go
index 2714d5f2..3d39c0ef 100644
--- a/dubboctl/cmd/repository.go
+++ b/dubboctl/pkg/deploy/repository.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package deploy
 
 import (
        "errors"

Reply via email to