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 14366c85 [dubboctl] Reorganize the directory structure generate (#496)
14366c85 is described below

commit 14366c85aafcd154371b44ea7a5816cb7f222c07
Author: mfordjody <[email protected]>
AuthorDate: Tue Oct 29 12:48:06 2024 +0800

    [dubboctl] Reorganize the directory structure generate (#496)
---
 dubboctl/{cmd/generate_certificate.go => pkg/generate/certificate.go} | 2 +-
 dubboctl/{cmd => pkg/generate}/generate.go                            | 2 +-
 dubboctl/pkg/profile/{profile_diff.go => diff.go}                     | 0
 dubboctl/pkg/profile/{profile_list.go => list.go}                     | 0
 4 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dubboctl/cmd/generate_certificate.go 
b/dubboctl/pkg/generate/certificate.go
similarity index 99%
rename from dubboctl/cmd/generate_certificate.go
rename to dubboctl/pkg/generate/certificate.go
index b3fe333e..b55a4b65 100644
--- a/dubboctl/cmd/generate_certificate.go
+++ b/dubboctl/pkg/generate/certificate.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package generate
 
 import (
        "fmt"
diff --git a/dubboctl/cmd/generate.go b/dubboctl/pkg/generate/generate.go
similarity index 98%
rename from dubboctl/cmd/generate.go
rename to dubboctl/pkg/generate/generate.go
index 5c2bc6e2..005184d3 100644
--- a/dubboctl/cmd/generate.go
+++ b/dubboctl/pkg/generate/generate.go
@@ -13,7 +13,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-package cmd
+package generate
 
 import (
        "github.com/spf13/cobra"
diff --git a/dubboctl/pkg/profile/profile_diff.go b/dubboctl/pkg/profile/diff.go
similarity index 100%
rename from dubboctl/pkg/profile/profile_diff.go
rename to dubboctl/pkg/profile/diff.go
diff --git a/dubboctl/pkg/profile/profile_list.go b/dubboctl/pkg/profile/list.go
similarity index 100%
rename from dubboctl/pkg/profile/profile_list.go
rename to dubboctl/pkg/profile/list.go

Reply via email to