From 5b5b40a4d48adfd77b91a3540e8cd9bd9416f201 Mon Sep 17 00:00:00 2001 From: FingerLeader Date: Fri, 30 Aug 2024 14:34:44 +0800 Subject: [PATCH] update Signed-off-by: FingerLeader --- internal/cli/project/list.go | 2 +- internal/cli/project/list_test.go | 2 +- internal/cli/serverless/sqluser/create.go | 2 +- internal/cli/serverless/sqluser/create_test.go | 2 +- internal/cli/serverless/sqluser/delete_test.go | 2 +- internal/cli/serverless/sqluser/list.go | 2 +- internal/cli/serverless/sqluser/list_test.go | 2 +- internal/cli/serverless/sqluser/update.go | 2 +- internal/cli/serverless/sqluser/update_test.go | 2 +- internal/mock/api_client.go | 2 +- internal/service/cloud/api_client.go | 2 +- internal/service/cloud/logic.go | 2 +- pkg/tidbcloud/v1beta1/{serverless => }/iam/.gitignore | 0 .../v1beta1/{serverless => }/iam/.openapi-generator-ignore | 0 .../v1beta1/{serverless => }/iam/.openapi-generator/FILES | 0 .../v1beta1/{serverless => }/iam/.openapi-generator/VERSION | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/.travis.yml | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/README.md | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/api/openapi.yaml | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/api_account.go | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/client.go | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/configuration.go | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/git_push.sh | 0 .../v1beta1/{serverless => }/iam/model_api_basic_resp.go | 0 .../{serverless => }/iam/model_api_create_sql_user_req.go | 0 .../v1beta1/{serverless => }/iam/model_api_get_dbuser_rsp.go | 0 .../v1beta1/{serverless => }/iam/model_api_list_projects_rsp.go | 0 .../{serverless => }/iam/model_api_list_sql_users_rsp.go | 0 .../model_api_open_api_create_msp_customer_signup_url_req.go | 0 .../v1beta1/{serverless => }/iam/model_api_open_api_error.go | 0 .../iam/model_api_open_api_list_msp_customer_rsp.go | 0 .../{serverless => }/iam/model_api_open_api_msp_customer.go | 0 .../iam/model_api_open_api_msp_customer_signup_url.go | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_project.go | 0 .../v1beta1/{serverless => }/iam/model_api_sql_user.go | 0 .../{serverless => }/iam/model_api_update_sql_user_req.go | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/response.go | 0 pkg/tidbcloud/v1beta1/{serverless => }/iam/utils.go | 0 38 files changed, 12 insertions(+), 12 deletions(-) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/.gitignore (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/.openapi-generator-ignore (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/.openapi-generator/FILES (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/.openapi-generator/VERSION (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/.travis.yml (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/README.md (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/api/openapi.yaml (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/api_account.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/client.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/configuration.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/git_push.sh (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_basic_resp.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_create_sql_user_req.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_get_dbuser_rsp.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_list_projects_rsp.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_list_sql_users_rsp.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_open_api_create_msp_customer_signup_url_req.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_open_api_error.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_open_api_list_msp_customer_rsp.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_open_api_msp_customer.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_open_api_msp_customer_signup_url.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_project.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_sql_user.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/model_api_update_sql_user_req.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/response.go (100%) rename pkg/tidbcloud/v1beta1/{serverless => }/iam/utils.go (100%) diff --git a/internal/cli/project/list.go b/internal/cli/project/list.go index 1644c23f..60c5b508 100644 --- a/internal/cli/project/list.go +++ b/internal/cli/project/list.go @@ -24,7 +24,7 @@ import ( "tidbcloud-cli/internal/output" "tidbcloud-cli/internal/service/cloud" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "github.com/juju/errors" "github.com/spf13/cobra" diff --git a/internal/cli/project/list_test.go b/internal/cli/project/list_test.go index 9956658c..c47de1e6 100644 --- a/internal/cli/project/list_test.go +++ b/internal/cli/project/list_test.go @@ -26,7 +26,7 @@ import ( "tidbcloud-cli/internal/iostream" "tidbcloud-cli/internal/mock" "tidbcloud-cli/internal/service/cloud" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/internal/cli/serverless/sqluser/create.go b/internal/cli/serverless/sqluser/create.go index 8d8e6f2d..ec12394d 100644 --- a/internal/cli/serverless/sqluser/create.go +++ b/internal/cli/serverless/sqluser/create.go @@ -28,8 +28,8 @@ import ( "tidbcloud-cli/internal/ui" "tidbcloud-cli/internal/util" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" serverlessApi "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/client/serverless_service" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" diff --git a/internal/cli/serverless/sqluser/create_test.go b/internal/cli/serverless/sqluser/create_test.go index 8e8e37cf..858e314c 100644 --- a/internal/cli/serverless/sqluser/create_test.go +++ b/internal/cli/serverless/sqluser/create_test.go @@ -28,8 +28,8 @@ import ( "tidbcloud-cli/internal/mock" "tidbcloud-cli/internal/service/cloud" "tidbcloud-cli/internal/util" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" serverlessApi "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/client/serverless_service" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" serverlessModel "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/models" "github.com/juju/errors" diff --git a/internal/cli/serverless/sqluser/delete_test.go b/internal/cli/serverless/sqluser/delete_test.go index 550369e9..d34ec9bd 100644 --- a/internal/cli/serverless/sqluser/delete_test.go +++ b/internal/cli/serverless/sqluser/delete_test.go @@ -25,7 +25,7 @@ import ( "tidbcloud-cli/internal/iostream" "tidbcloud-cli/internal/mock" "tidbcloud-cli/internal/service/cloud" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/internal/cli/serverless/sqluser/list.go b/internal/cli/serverless/sqluser/list.go index 695c947f..19e4e424 100644 --- a/internal/cli/serverless/sqluser/list.go +++ b/internal/cli/serverless/sqluser/list.go @@ -25,7 +25,7 @@ import ( "tidbcloud-cli/internal/telemetry" "tidbcloud-cli/internal/util" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "github.com/juju/errors" "github.com/spf13/cobra" diff --git a/internal/cli/serverless/sqluser/list_test.go b/internal/cli/serverless/sqluser/list_test.go index 18b2e3fd..819390ef 100644 --- a/internal/cli/serverless/sqluser/list_test.go +++ b/internal/cli/serverless/sqluser/list_test.go @@ -25,7 +25,7 @@ import ( "tidbcloud-cli/internal/iostream" "tidbcloud-cli/internal/mock" "tidbcloud-cli/internal/service/cloud" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/internal/cli/serverless/sqluser/update.go b/internal/cli/serverless/sqluser/update.go index 481616a5..50a899eb 100644 --- a/internal/cli/serverless/sqluser/update.go +++ b/internal/cli/serverless/sqluser/update.go @@ -24,7 +24,7 @@ import ( "tidbcloud-cli/internal/service/cloud" "tidbcloud-cli/internal/ui" "tidbcloud-cli/internal/util" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" diff --git a/internal/cli/serverless/sqluser/update_test.go b/internal/cli/serverless/sqluser/update_test.go index c752739c..36466766 100644 --- a/internal/cli/serverless/sqluser/update_test.go +++ b/internal/cli/serverless/sqluser/update_test.go @@ -28,8 +28,8 @@ import ( "tidbcloud-cli/internal/mock" "tidbcloud-cli/internal/service/cloud" "tidbcloud-cli/internal/util" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" serverlessApi "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/client/serverless_service" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" serverlessModel "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/models" "github.com/juju/errors" diff --git a/internal/mock/api_client.go b/internal/mock/api_client.go index 764f113c..5e4d5086 100644 --- a/internal/mock/api_client.go +++ b/internal/mock/api_client.go @@ -10,7 +10,7 @@ import ( export "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/export" - iam "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" + iam "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" import_service "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless_import/client/import_service" diff --git a/internal/service/cloud/api_client.go b/internal/service/cloud/api_client.go index fe3c4dae..daf55fae 100644 --- a/internal/service/cloud/api_client.go +++ b/internal/service/cloud/api_client.go @@ -29,11 +29,11 @@ import ( "tidbcloud-cli/internal/version" pingchatClient "tidbcloud-cli/pkg/tidbcloud/pingchat/client" pingchatOp "tidbcloud-cli/pkg/tidbcloud/pingchat/client/operations" + "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/branch" serverlessClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/client" serverlessOp "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/client/serverless_service" "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/export" - "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" brClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless_br/client" brOp "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless_br/client/backup_restore_service" serverlessImportClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless_import/client" diff --git a/internal/service/cloud/logic.go b/internal/service/cloud/logic.go index 25845d7d..12f32864 100644 --- a/internal/service/cloud/logic.go +++ b/internal/service/cloud/logic.go @@ -21,10 +21,10 @@ import ( "tidbcloud-cli/internal/ui" "tidbcloud-cli/internal/util" + iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/iam" "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/branch" serverlessApi "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/client/serverless_service" "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/export" - iamClient "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/iam" serverlessModel "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless/models" brApi "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless_br/client/backup_restore_service" brModel "tidbcloud-cli/pkg/tidbcloud/v1beta1/serverless_br/models" diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/.gitignore b/pkg/tidbcloud/v1beta1/iam/.gitignore similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/.gitignore rename to pkg/tidbcloud/v1beta1/iam/.gitignore diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/.openapi-generator-ignore b/pkg/tidbcloud/v1beta1/iam/.openapi-generator-ignore similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/.openapi-generator-ignore rename to pkg/tidbcloud/v1beta1/iam/.openapi-generator-ignore diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/.openapi-generator/FILES b/pkg/tidbcloud/v1beta1/iam/.openapi-generator/FILES similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/.openapi-generator/FILES rename to pkg/tidbcloud/v1beta1/iam/.openapi-generator/FILES diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/.openapi-generator/VERSION b/pkg/tidbcloud/v1beta1/iam/.openapi-generator/VERSION similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/.openapi-generator/VERSION rename to pkg/tidbcloud/v1beta1/iam/.openapi-generator/VERSION diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/.travis.yml b/pkg/tidbcloud/v1beta1/iam/.travis.yml similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/.travis.yml rename to pkg/tidbcloud/v1beta1/iam/.travis.yml diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/README.md b/pkg/tidbcloud/v1beta1/iam/README.md similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/README.md rename to pkg/tidbcloud/v1beta1/iam/README.md diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/api/openapi.yaml b/pkg/tidbcloud/v1beta1/iam/api/openapi.yaml similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/api/openapi.yaml rename to pkg/tidbcloud/v1beta1/iam/api/openapi.yaml diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/api_account.go b/pkg/tidbcloud/v1beta1/iam/api_account.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/api_account.go rename to pkg/tidbcloud/v1beta1/iam/api_account.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/client.go b/pkg/tidbcloud/v1beta1/iam/client.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/client.go rename to pkg/tidbcloud/v1beta1/iam/client.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/configuration.go b/pkg/tidbcloud/v1beta1/iam/configuration.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/configuration.go rename to pkg/tidbcloud/v1beta1/iam/configuration.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/git_push.sh b/pkg/tidbcloud/v1beta1/iam/git_push.sh similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/git_push.sh rename to pkg/tidbcloud/v1beta1/iam/git_push.sh diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_basic_resp.go b/pkg/tidbcloud/v1beta1/iam/model_api_basic_resp.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_basic_resp.go rename to pkg/tidbcloud/v1beta1/iam/model_api_basic_resp.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_create_sql_user_req.go b/pkg/tidbcloud/v1beta1/iam/model_api_create_sql_user_req.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_create_sql_user_req.go rename to pkg/tidbcloud/v1beta1/iam/model_api_create_sql_user_req.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_get_dbuser_rsp.go b/pkg/tidbcloud/v1beta1/iam/model_api_get_dbuser_rsp.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_get_dbuser_rsp.go rename to pkg/tidbcloud/v1beta1/iam/model_api_get_dbuser_rsp.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_list_projects_rsp.go b/pkg/tidbcloud/v1beta1/iam/model_api_list_projects_rsp.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_list_projects_rsp.go rename to pkg/tidbcloud/v1beta1/iam/model_api_list_projects_rsp.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_list_sql_users_rsp.go b/pkg/tidbcloud/v1beta1/iam/model_api_list_sql_users_rsp.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_list_sql_users_rsp.go rename to pkg/tidbcloud/v1beta1/iam/model_api_list_sql_users_rsp.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_create_msp_customer_signup_url_req.go b/pkg/tidbcloud/v1beta1/iam/model_api_open_api_create_msp_customer_signup_url_req.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_create_msp_customer_signup_url_req.go rename to pkg/tidbcloud/v1beta1/iam/model_api_open_api_create_msp_customer_signup_url_req.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_error.go b/pkg/tidbcloud/v1beta1/iam/model_api_open_api_error.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_error.go rename to pkg/tidbcloud/v1beta1/iam/model_api_open_api_error.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_list_msp_customer_rsp.go b/pkg/tidbcloud/v1beta1/iam/model_api_open_api_list_msp_customer_rsp.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_list_msp_customer_rsp.go rename to pkg/tidbcloud/v1beta1/iam/model_api_open_api_list_msp_customer_rsp.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_msp_customer.go b/pkg/tidbcloud/v1beta1/iam/model_api_open_api_msp_customer.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_msp_customer.go rename to pkg/tidbcloud/v1beta1/iam/model_api_open_api_msp_customer.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_msp_customer_signup_url.go b/pkg/tidbcloud/v1beta1/iam/model_api_open_api_msp_customer_signup_url.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_open_api_msp_customer_signup_url.go rename to pkg/tidbcloud/v1beta1/iam/model_api_open_api_msp_customer_signup_url.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_project.go b/pkg/tidbcloud/v1beta1/iam/model_api_project.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_project.go rename to pkg/tidbcloud/v1beta1/iam/model_api_project.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_sql_user.go b/pkg/tidbcloud/v1beta1/iam/model_api_sql_user.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_sql_user.go rename to pkg/tidbcloud/v1beta1/iam/model_api_sql_user.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/model_api_update_sql_user_req.go b/pkg/tidbcloud/v1beta1/iam/model_api_update_sql_user_req.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/model_api_update_sql_user_req.go rename to pkg/tidbcloud/v1beta1/iam/model_api_update_sql_user_req.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/response.go b/pkg/tidbcloud/v1beta1/iam/response.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/response.go rename to pkg/tidbcloud/v1beta1/iam/response.go diff --git a/pkg/tidbcloud/v1beta1/serverless/iam/utils.go b/pkg/tidbcloud/v1beta1/iam/utils.go similarity index 100% rename from pkg/tidbcloud/v1beta1/serverless/iam/utils.go rename to pkg/tidbcloud/v1beta1/iam/utils.go