From 176c559a97821d8aad81c29e065860b2c51e3b7f Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sun, 10 Dec 2023 15:48:19 +0800 Subject: [PATCH] refactor(main): delete v1.19 => v1.21 Signed-off-by: cuisongliu --- .../controllers/db/bytebase/.dockerignore | 0 .../controllers/db/bytebase/.gitignore | 0 .../controllers/db/bytebase/Dockerfile | 0 .../controllers/db/bytebase/Makefile | 0 .../controllers/db/bytebase/PROJECT | 0 .../controllers/db/bytebase/README.md | 0 .../apis/bytebase/v1/bytebase_types.go | 0 .../apis/bytebase/v1/groupversion_info.go | 0 .../apis/bytebase/v1/zz_generated.deepcopy.go | 0 .../v1/bytebasecontrollerconfig_types.go | 0 .../apis/config/v1/groupversion_info.go | 0 .../apis/config/v1/zz_generated.deepcopy.go | 0 .../db/bytebase/client/api/auth.go | 0 .../db/bytebase/client/api/client.go | 0 .../db/bytebase/client/api/common.go | 0 .../db/bytebase/client/api/data_source.go | 0 .../db/bytebase/client/api/database_role.go | 0 .../db/bytebase/client/api/environment.go | 0 .../db/bytebase/client/api/instance.go | 0 .../controllers/db/bytebase/client/auth.go | 0 .../controllers/db/bytebase/client/client.go | 0 .../db/bytebase/client/environment.go | 0 .../db/bytebase/client/instance.go | 0 .../bytebase.db.sealos.io_bytebases.yaml | 0 .../db/bytebase/config/crd/kustomization.yaml | 0 .../bytebase/config/crd/kustomizeconfig.yaml | 0 .../config/default/kustomization.yaml | 0 .../default/manager_auth_proxy_patch.yaml | 0 .../config/default/manager_config_patch.yaml | 0 .../manager/controller_manager_config.yaml | 0 .../config/manager/kustomization.yaml | 0 .../db/bytebase/config/manager/manager.yaml | 0 .../config/prometheus/kustomization.yaml | 0 .../bytebase/config/prometheus/monitor.yaml | 0 .../rbac/auth_proxy_client_clusterrole.yaml | 0 .../bytebase/config/rbac/auth_proxy_role.yaml | 0 .../config/rbac/auth_proxy_role_binding.yaml | 0 .../config/rbac/auth_proxy_service.yaml | 0 .../config/rbac/bytebase_editor_role.yaml | 0 .../config/rbac/bytebase_viewer_role.yaml | 0 .../bytebase/config/rbac/kustomization.yaml | 0 .../config/rbac/leader_election_role.yaml | 0 .../rbac/leader_election_role_binding.yaml | 0 .../db/bytebase/config/rbac/role.yaml | 0 .../db/bytebase/config/rbac/role_binding.yaml | 0 .../bytebase/config/rbac/service_account.yaml | 0 .../config/samples/bytebase_v1_bytebase.yaml | 0 .../config_v1_bytebasecontrollerconfig.yaml | 0 .../bytebase/bytebase_controller.go | 0 .../bytebase/controllers/bytebase/ingress.go | 0 .../bytebase/controllers/bytebase/instance.go | 0 .../controllers/bytebase/suite_test.go | 3 --- .../db/bytebase/controllers/bytebase/sync.go | 1 - .../db/bytebase/controllers/bytebase/util.go | 0 .../controllers/db/bytebase/deploy/Kubefile | 0 .../controllers/db/bytebase/deploy/README.md | 0 .../deploy/manifests/deploy.yaml.tmpl | 0 .../controllers/db/bytebase/go.mod | 0 .../controllers/db/bytebase/go.sum | 0 .../db/bytebase/hack/boilerplate.go.txt | 0 .../controllers/db/bytebase/main.go | 0 .../controllers/imagehub/.dockerignore | 0 .../controllers/imagehub/.gitignore | 0 .../controllers/imagehub/Dockerfile | 0 .../controllers/imagehub/Makefile | 0 .../controllers/imagehub/PROJECT | 0 .../controllers/imagehub/README.md | 0 .../controllers/imagehub/README_CN.md | 0 .../imagehub/api/v1/common_types.go | 0 .../imagehub/api/v1/datapack_types.go | 0 .../imagehub/api/v1/groupversion_info.go | 0 .../imagehub/api/v1/image_types.go | 0 .../imagehub/api/v1/image_webhook.go | 0 .../imagehub/api/v1/organization_types.go | 0 .../imagehub/api/v1/organization_webhook.go | 0 .../imagehub/api/v1/repository_types.go | 0 .../imagehub/api/v1/repository_webhook.go | 0 .../imagehub/api/v1/webhook_suite_test.go | 3 --- .../imagehub/api/v1/zz_generated.deepcopy.go | 0 .../config/certmanager/certificate.yaml | 0 .../config/certmanager/kustomization.yaml | 0 .../config/certmanager/kustomizeconfig.yaml | 0 .../bases/imagehub.sealos.io_datapacks.yaml | 0 .../crd/bases/imagehub.sealos.io_images.yaml | 0 .../imagehub.sealos.io_organizations.yaml | 0 .../imagehub.sealos.io_repositories.yaml | 0 .../imagehub/config/crd/kustomization.yaml | 0 .../imagehub/config/crd/kustomizeconfig.yaml | 0 .../crd/patches/cainjection_in_datapacks.yaml | 0 .../crd/patches/cainjection_in_images.yaml | 0 .../patches/cainjection_in_organizations.yaml | 0 .../patches/cainjection_in_repositories.yaml | 0 .../crd/patches/webhook_in_datapacks.yaml | 0 .../config/crd/patches/webhook_in_images.yaml | 0 .../crd/patches/webhook_in_organizations.yaml | 0 .../crd/patches/webhook_in_repositories.yaml | 0 .../config/default/kustomization.yaml | 0 .../default/manager_auth_proxy_patch.yaml | 0 .../config/default/manager_config_patch.yaml | 0 .../config/default/manager_webhook_patch.yaml | 0 .../default/webhookcainjection_patch.yaml | 0 .../config/manager/kustomization.yaml | 0 .../imagehub/config/manager/manager.yaml | 0 .../config/prometheus/kustomization.yaml | 0 .../imagehub/config/prometheus/monitor.yaml | 0 .../rbac/auth_proxy_client_clusterrole.yaml | 0 .../imagehub/config/rbac/auth_proxy_role.yaml | 0 .../config/rbac/auth_proxy_role_binding.yaml | 0 .../config/rbac/auth_proxy_service.yaml | 0 .../config/rbac/datapack_editor_role.yaml | 0 .../config/rbac/datapack_viewer_role.yaml | 0 .../config/rbac/image_editor_role.yaml | 0 .../config/rbac/image_viewer_role.yaml | 0 .../imagehub/config/rbac/kustomization.yaml | 0 .../config/rbac/leader_election_role.yaml | 0 .../rbac/leader_election_role_binding.yaml | 0 .../config/rbac/organization_editor_role.yaml | 0 .../config/rbac/organization_viewer_role.yaml | 0 .../config/rbac/repository_editor_role.yaml | 0 .../config/rbac/repository_viewer_role.yaml | 0 .../imagehub/config/rbac/role.yaml | 0 .../imagehub/config/rbac/role_binding.yaml | 0 .../imagehub/config/rbac/service_account.yaml | 0 .../config/samples/imagehub_v1_all.yaml | 0 .../samples/imagehub_v1_cluster_role.yaml | 0 .../config/samples/imagehub_v1_datapack.yaml | 0 .../config/samples/imagehub_v1_image.yaml | 0 .../samples/imagehub_v1_organization.yaml | 0 .../samples/imagehub_v1_repository.yaml | 0 .../webhook_test_sample/labring.image.yaml | 0 .../webhook_test_sample/lingdie.image.yaml | 0 .../webhook_test_sample/orgwithsa.yaml | 0 .../config/webhook/kustomization.yaml | 0 .../config/webhook/kustomizeconfig.yaml | 0 .../imagehub/config/webhook/manifests.yaml | 0 .../imagehub/config/webhook/service.yaml | 0 .../imagehub/controllers/data_helper.go | 0 .../controllers/datapack_controller.go | 0 .../imagehub/controllers/image_controller.go | 0 .../controllers/organization_controller.go | 0 .../controllers/repository_controller.go | 0 .../imagehub/controllers/suite_test.go | 3 --- .../controllers/imagehub/deploy/Kubefile | 0 .../controllers/imagehub/deploy/README.md | 0 .../imagehub/deploy/manifests/deploy.yaml | 0 .../imagehub/deploy/rbac/rbac.yaml | 0 .../controllers/imagehub/go.mod | 0 .../controllers/imagehub/go.sum | 0 .../imagehub/hack/boilerplate.go.txt | 0 .../controllers/imagehub/main.go | 0 .../providers/bytebase/.eslintrc.json | 0 .../frontend/providers/bytebase/.gitignore | 0 .../frontend/providers/bytebase/Dockerfile | 0 .../frontend/providers/bytebase/Makefile | 0 .../frontend/providers/bytebase/README.md | 0 .../providers/bytebase/deploy/Kubefile | 0 .../bytebase/deploy/manifests/deploy.yaml | 0 .../deploy/manifests/ingress.yaml.tmpl | 0 .../providers/bytebase/next.config.js | 0 .../frontend/providers/bytebase/package.json | 0 .../providers/bytebase/public/favicon.ico | Bin .../providers/bytebase/public/logo.svg | 3 ++- .../providers/bytebase/src/interfaces/api.ts | 0 .../bytebase/src/interfaces/bytebase.ts | 0 .../bytebase/src/interfaces/session.ts | 0 .../providers/bytebase/src/pages/_app.tsx | 4 +-- .../bytebase/src/pages/_document.tsx | 2 +- .../providers/bytebase/src/pages/api/apply.ts | 10 ++++---- .../bytebase/src/pages/index.module.scss | 0 .../providers/bytebase/src/pages/index.tsx | 6 ++--- .../providers/bytebase/src/service/auth.ts | 2 +- .../bytebase/src/service/kubernetes.ts | 0 .../providers/bytebase/src/service/request.ts | 4 +-- .../bytebase/src/service/response.ts | 4 +-- .../providers/bytebase/src/stores/session.ts | 10 ++++---- .../bytebase/src/styles/globals.scss | 0 .../frontend/providers/bytebase/tsconfig.json | 2 +- .../frontend/providers/imagehub/.env | 0 .../providers/imagehub/.eslintrc.json | 0 .../frontend/providers/imagehub/.gitignore | 0 .../providers/imagehub/.prettierrc.js | 0 .../frontend/providers/imagehub/Dockerfile | 0 .../frontend/providers/imagehub/Makefile | 0 .../frontend/providers/imagehub/README.md | 0 .../providers/imagehub/deploy/Kubefile | 0 .../imagehub/deploy/manifests/deploy.yaml | 0 .../deploy/manifests/ingress.yaml.tmpl | 0 .../imagehub/deploy/manifests/rbac.yaml | 0 .../providers/imagehub/next.config.js | 0 .../frontend/providers/imagehub/package.json | 0 .../providers/imagehub/postcss.config.js | 0 .../providers/imagehub/public/favicon.ico | Bin .../imagehub/public/iconfont/iconfont.js | 0 .../imagehub/public/images/background.png | Bin .../imagehub/public/images/error.svg | 0 .../imagehub/public/images/error_timeout.svg | 0 .../imagehub/public/images/image_empty.svg | 0 .../providers/imagehub/public/logo.svg | 2 ++ .../src/components/button/index.module.scss | 0 .../imagehub/src/components/button/index.tsx | 0 .../imagehub/src/components/error/index.tsx | 0 .../src/components/iconfont/index.tsx | 0 .../src/components/labels/index.module.scss | 0 .../imagehub/src/components/labels/index.tsx | 0 .../src/components/markdown/index.module.scss | 0 .../src/components/markdown/index.tsx | 3 ++- .../components/pgination/index.module.scss | 0 .../src/components/pgination/index.tsx | 2 +- .../providers/imagehub/src/interfaces/api.ts | 0 .../imagehub/src/interfaces/imagehub.ts | 0 .../imagehub/src/interfaces/session.ts | 0 .../imagehub/src/layout/index.module.scss | 0 .../providers/imagehub/src/layout/index.tsx | 7 +++--- .../providers/imagehub/src/mock/imagehub.ts | 2 +- .../providers/imagehub/src/pages/_app.tsx | 4 +-- .../imagehub/src/pages/_document.tsx | 2 +- .../imagehub/src/pages/api/get_detail.ts | 19 +++++---------- .../imagehub/src/pages/api/get_list.ts | 23 +++++------------- .../imagehub/src/pages/detail.module.scss | 0 .../providers/imagehub/src/pages/detail.tsx | 10 ++++---- .../imagehub/src/pages/index.module.scss | 0 .../providers/imagehub/src/pages/index.tsx | 0 .../imagehub/src/pages/store.module.scss | 0 .../providers/imagehub/src/pages/store.tsx | 20 +++++++-------- .../imagehub/src/services/kubernetes.ts | 0 .../imagehub/src/services/request.ts | 6 ++--- .../imagehub/src/services/response.ts | 4 +-- .../imagehub/src/services/wrapper.ts | 2 +- .../providers/imagehub/src/stores/session.ts | 11 +++++---- .../imagehub/src/styles/globals.scss | 0 .../providers/imagehub/src/utils/strings.ts | 2 +- .../providers/imagehub/tailwind.config.js | 0 .../frontend/providers/imagehub/tsconfig.json | 2 +- go.work | 2 ++ scripts/resolve-modules.sh | 2 +- .../providers/imagehub/public/logo.svg | 1 - .../suites/checkers/cluster_single_taints.go | 2 +- test/e2e/suites/image/imageServiceClient.go | 1 + 238 files changed, 83 insertions(+), 103 deletions(-) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/.dockerignore (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/.gitignore (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/Dockerfile (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/Makefile (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/PROJECT (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/README.md (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/apis/bytebase/v1/bytebase_types.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/apis/bytebase/v1/groupversion_info.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/apis/bytebase/v1/zz_generated.deepcopy.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/apis/config/v1/bytebasecontrollerconfig_types.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/apis/config/v1/groupversion_info.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/apis/config/v1/zz_generated.deepcopy.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/api/auth.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/api/client.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/api/common.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/api/data_source.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/api/database_role.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/api/environment.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/api/instance.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/auth.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/client.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/environment.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/client/instance.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/crd/bases/bytebase.db.sealos.io_bytebases.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/crd/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/crd/kustomizeconfig.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/default/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/default/manager_auth_proxy_patch.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/default/manager_config_patch.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/manager/controller_manager_config.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/manager/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/manager/manager.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/prometheus/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/prometheus/monitor.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/auth_proxy_client_clusterrole.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/auth_proxy_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/auth_proxy_role_binding.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/auth_proxy_service.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/bytebase_editor_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/bytebase_viewer_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/leader_election_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/leader_election_role_binding.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/role_binding.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/rbac/service_account.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/samples/bytebase_v1_bytebase.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/config/samples/config_v1_bytebasecontrollerconfig.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/controllers/bytebase/bytebase_controller.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/controllers/bytebase/ingress.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/controllers/bytebase/instance.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/controllers/bytebase/suite_test.go (97%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/controllers/bytebase/sync.go (99%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/controllers/bytebase/util.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/deploy/Kubefile (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/deploy/README.md (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/deploy/manifests/deploy.yaml.tmpl (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/go.mod (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/go.sum (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/hack/boilerplate.go.txt (100%) rename {staging/src/github.com/labring => deprecated}/controllers/db/bytebase/main.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/.dockerignore (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/.gitignore (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/Dockerfile (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/Makefile (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/PROJECT (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/README.md (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/README_CN.md (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/common_types.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/datapack_types.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/groupversion_info.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/image_types.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/image_webhook.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/organization_types.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/organization_webhook.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/repository_types.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/repository_webhook.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/webhook_suite_test.go (98%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/api/v1/zz_generated.deepcopy.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/certmanager/certificate.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/certmanager/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/certmanager/kustomizeconfig.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/bases/imagehub.sealos.io_datapacks.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/bases/imagehub.sealos.io_images.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/bases/imagehub.sealos.io_organizations.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/bases/imagehub.sealos.io_repositories.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/kustomizeconfig.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/cainjection_in_datapacks.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/cainjection_in_images.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/cainjection_in_organizations.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/cainjection_in_repositories.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/webhook_in_datapacks.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/webhook_in_images.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/webhook_in_organizations.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/crd/patches/webhook_in_repositories.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/default/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/default/manager_auth_proxy_patch.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/default/manager_config_patch.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/default/manager_webhook_patch.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/default/webhookcainjection_patch.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/manager/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/manager/manager.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/prometheus/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/prometheus/monitor.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/auth_proxy_client_clusterrole.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/auth_proxy_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/auth_proxy_role_binding.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/auth_proxy_service.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/datapack_editor_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/datapack_viewer_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/image_editor_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/image_viewer_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/leader_election_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/leader_election_role_binding.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/organization_editor_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/organization_viewer_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/repository_editor_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/repository_viewer_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/role_binding.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/rbac/service_account.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/imagehub_v1_all.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/imagehub_v1_cluster_role.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/imagehub_v1_datapack.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/imagehub_v1_image.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/imagehub_v1_organization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/imagehub_v1_repository.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/webhook_test_sample/labring.image.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/webhook_test_sample/lingdie.image.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/samples/webhook_test_sample/orgwithsa.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/webhook/kustomization.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/webhook/kustomizeconfig.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/webhook/manifests.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/config/webhook/service.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/controllers/data_helper.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/controllers/datapack_controller.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/controllers/image_controller.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/controllers/organization_controller.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/controllers/repository_controller.go (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/controllers/suite_test.go (97%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/deploy/Kubefile (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/deploy/README.md (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/deploy/manifests/deploy.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/deploy/rbac/rbac.yaml (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/go.mod (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/go.sum (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/hack/boilerplate.go.txt (100%) rename {staging/src/github.com/labring => deprecated}/controllers/imagehub/main.go (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/.eslintrc.json (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/.gitignore (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/Dockerfile (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/Makefile (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/README.md (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/deploy/Kubefile (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/deploy/manifests/deploy.yaml (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/deploy/manifests/ingress.yaml.tmpl (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/next.config.js (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/package.json (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/public/favicon.ico (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/public/logo.svg (98%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/interfaces/api.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/interfaces/bytebase.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/interfaces/session.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/pages/_app.tsx (76%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/pages/_document.tsx (73%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/pages/api/apply.ts (82%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/pages/index.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/pages/index.tsx (91%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/service/auth.ts (88%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/service/kubernetes.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/service/request.ts (92%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/service/response.ts (93%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/stores/session.ts (81%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/src/styles/globals.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/bytebase/tsconfig.json (91%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/.env (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/.eslintrc.json (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/.gitignore (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/.prettierrc.js (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/Dockerfile (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/Makefile (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/README.md (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/deploy/Kubefile (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/deploy/manifests/deploy.yaml (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/deploy/manifests/ingress.yaml.tmpl (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/deploy/manifests/rbac.yaml (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/next.config.js (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/package.json (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/postcss.config.js (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/public/favicon.ico (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/public/iconfont/iconfont.js (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/public/images/background.png (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/public/images/error.svg (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/public/images/error_timeout.svg (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/public/images/image_empty.svg (100%) create mode 100644 deprecated/frontend/providers/imagehub/public/logo.svg rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/button/index.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/button/index.tsx (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/error/index.tsx (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/iconfont/index.tsx (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/labels/index.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/labels/index.tsx (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/markdown/index.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/markdown/index.tsx (99%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/pgination/index.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/components/pgination/index.tsx (99%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/interfaces/api.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/interfaces/imagehub.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/interfaces/session.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/layout/index.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/layout/index.tsx (85%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/mock/imagehub.ts (93%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/_app.tsx (79%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/_document.tsx (79%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/api/get_detail.ts (72%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/api/get_list.ts (82%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/detail.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/detail.tsx (96%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/index.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/index.tsx (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/store.module.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/pages/store.tsx (96%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/services/kubernetes.ts (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/services/request.ts (93%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/services/response.ts (94%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/services/wrapper.ts (83%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/stores/session.ts (81%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/styles/globals.scss (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/src/utils/strings.ts (81%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/tailwind.config.js (100%) rename {staging/src/github.com/labring => deprecated}/frontend/providers/imagehub/tsconfig.json (91%) delete mode 100644 staging/src/github.com/labring/frontend/providers/imagehub/public/logo.svg diff --git a/staging/src/github.com/labring/controllers/db/bytebase/.dockerignore b/deprecated/controllers/db/bytebase/.dockerignore similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/.dockerignore rename to deprecated/controllers/db/bytebase/.dockerignore diff --git a/staging/src/github.com/labring/controllers/db/bytebase/.gitignore b/deprecated/controllers/db/bytebase/.gitignore similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/.gitignore rename to deprecated/controllers/db/bytebase/.gitignore diff --git a/staging/src/github.com/labring/controllers/db/bytebase/Dockerfile b/deprecated/controllers/db/bytebase/Dockerfile similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/Dockerfile rename to deprecated/controllers/db/bytebase/Dockerfile diff --git a/staging/src/github.com/labring/controllers/db/bytebase/Makefile b/deprecated/controllers/db/bytebase/Makefile similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/Makefile rename to deprecated/controllers/db/bytebase/Makefile diff --git a/staging/src/github.com/labring/controllers/db/bytebase/PROJECT b/deprecated/controllers/db/bytebase/PROJECT similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/PROJECT rename to deprecated/controllers/db/bytebase/PROJECT diff --git a/staging/src/github.com/labring/controllers/db/bytebase/README.md b/deprecated/controllers/db/bytebase/README.md similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/README.md rename to deprecated/controllers/db/bytebase/README.md diff --git a/staging/src/github.com/labring/controllers/db/bytebase/apis/bytebase/v1/bytebase_types.go b/deprecated/controllers/db/bytebase/apis/bytebase/v1/bytebase_types.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/apis/bytebase/v1/bytebase_types.go rename to deprecated/controllers/db/bytebase/apis/bytebase/v1/bytebase_types.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/apis/bytebase/v1/groupversion_info.go b/deprecated/controllers/db/bytebase/apis/bytebase/v1/groupversion_info.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/apis/bytebase/v1/groupversion_info.go rename to deprecated/controllers/db/bytebase/apis/bytebase/v1/groupversion_info.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/apis/bytebase/v1/zz_generated.deepcopy.go b/deprecated/controllers/db/bytebase/apis/bytebase/v1/zz_generated.deepcopy.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/apis/bytebase/v1/zz_generated.deepcopy.go rename to deprecated/controllers/db/bytebase/apis/bytebase/v1/zz_generated.deepcopy.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/apis/config/v1/bytebasecontrollerconfig_types.go b/deprecated/controllers/db/bytebase/apis/config/v1/bytebasecontrollerconfig_types.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/apis/config/v1/bytebasecontrollerconfig_types.go rename to deprecated/controllers/db/bytebase/apis/config/v1/bytebasecontrollerconfig_types.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/apis/config/v1/groupversion_info.go b/deprecated/controllers/db/bytebase/apis/config/v1/groupversion_info.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/apis/config/v1/groupversion_info.go rename to deprecated/controllers/db/bytebase/apis/config/v1/groupversion_info.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/apis/config/v1/zz_generated.deepcopy.go b/deprecated/controllers/db/bytebase/apis/config/v1/zz_generated.deepcopy.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/apis/config/v1/zz_generated.deepcopy.go rename to deprecated/controllers/db/bytebase/apis/config/v1/zz_generated.deepcopy.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/api/auth.go b/deprecated/controllers/db/bytebase/client/api/auth.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/api/auth.go rename to deprecated/controllers/db/bytebase/client/api/auth.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/api/client.go b/deprecated/controllers/db/bytebase/client/api/client.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/api/client.go rename to deprecated/controllers/db/bytebase/client/api/client.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/api/common.go b/deprecated/controllers/db/bytebase/client/api/common.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/api/common.go rename to deprecated/controllers/db/bytebase/client/api/common.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/api/data_source.go b/deprecated/controllers/db/bytebase/client/api/data_source.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/api/data_source.go rename to deprecated/controllers/db/bytebase/client/api/data_source.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/api/database_role.go b/deprecated/controllers/db/bytebase/client/api/database_role.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/api/database_role.go rename to deprecated/controllers/db/bytebase/client/api/database_role.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/api/environment.go b/deprecated/controllers/db/bytebase/client/api/environment.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/api/environment.go rename to deprecated/controllers/db/bytebase/client/api/environment.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/api/instance.go b/deprecated/controllers/db/bytebase/client/api/instance.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/api/instance.go rename to deprecated/controllers/db/bytebase/client/api/instance.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/auth.go b/deprecated/controllers/db/bytebase/client/auth.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/auth.go rename to deprecated/controllers/db/bytebase/client/auth.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/client.go b/deprecated/controllers/db/bytebase/client/client.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/client.go rename to deprecated/controllers/db/bytebase/client/client.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/environment.go b/deprecated/controllers/db/bytebase/client/environment.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/environment.go rename to deprecated/controllers/db/bytebase/client/environment.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/client/instance.go b/deprecated/controllers/db/bytebase/client/instance.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/client/instance.go rename to deprecated/controllers/db/bytebase/client/instance.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/crd/bases/bytebase.db.sealos.io_bytebases.yaml b/deprecated/controllers/db/bytebase/config/crd/bases/bytebase.db.sealos.io_bytebases.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/crd/bases/bytebase.db.sealos.io_bytebases.yaml rename to deprecated/controllers/db/bytebase/config/crd/bases/bytebase.db.sealos.io_bytebases.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/crd/kustomization.yaml b/deprecated/controllers/db/bytebase/config/crd/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/crd/kustomization.yaml rename to deprecated/controllers/db/bytebase/config/crd/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/crd/kustomizeconfig.yaml b/deprecated/controllers/db/bytebase/config/crd/kustomizeconfig.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/crd/kustomizeconfig.yaml rename to deprecated/controllers/db/bytebase/config/crd/kustomizeconfig.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/default/kustomization.yaml b/deprecated/controllers/db/bytebase/config/default/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/default/kustomization.yaml rename to deprecated/controllers/db/bytebase/config/default/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/default/manager_auth_proxy_patch.yaml b/deprecated/controllers/db/bytebase/config/default/manager_auth_proxy_patch.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/default/manager_auth_proxy_patch.yaml rename to deprecated/controllers/db/bytebase/config/default/manager_auth_proxy_patch.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/default/manager_config_patch.yaml b/deprecated/controllers/db/bytebase/config/default/manager_config_patch.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/default/manager_config_patch.yaml rename to deprecated/controllers/db/bytebase/config/default/manager_config_patch.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/manager/controller_manager_config.yaml b/deprecated/controllers/db/bytebase/config/manager/controller_manager_config.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/manager/controller_manager_config.yaml rename to deprecated/controllers/db/bytebase/config/manager/controller_manager_config.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/manager/kustomization.yaml b/deprecated/controllers/db/bytebase/config/manager/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/manager/kustomization.yaml rename to deprecated/controllers/db/bytebase/config/manager/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/manager/manager.yaml b/deprecated/controllers/db/bytebase/config/manager/manager.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/manager/manager.yaml rename to deprecated/controllers/db/bytebase/config/manager/manager.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/prometheus/kustomization.yaml b/deprecated/controllers/db/bytebase/config/prometheus/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/prometheus/kustomization.yaml rename to deprecated/controllers/db/bytebase/config/prometheus/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/prometheus/monitor.yaml b/deprecated/controllers/db/bytebase/config/prometheus/monitor.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/prometheus/monitor.yaml rename to deprecated/controllers/db/bytebase/config/prometheus/monitor.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_client_clusterrole.yaml b/deprecated/controllers/db/bytebase/config/rbac/auth_proxy_client_clusterrole.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_client_clusterrole.yaml rename to deprecated/controllers/db/bytebase/config/rbac/auth_proxy_client_clusterrole.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_role.yaml b/deprecated/controllers/db/bytebase/config/rbac/auth_proxy_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_role.yaml rename to deprecated/controllers/db/bytebase/config/rbac/auth_proxy_role.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_role_binding.yaml b/deprecated/controllers/db/bytebase/config/rbac/auth_proxy_role_binding.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_role_binding.yaml rename to deprecated/controllers/db/bytebase/config/rbac/auth_proxy_role_binding.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_service.yaml b/deprecated/controllers/db/bytebase/config/rbac/auth_proxy_service.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/auth_proxy_service.yaml rename to deprecated/controllers/db/bytebase/config/rbac/auth_proxy_service.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/bytebase_editor_role.yaml b/deprecated/controllers/db/bytebase/config/rbac/bytebase_editor_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/bytebase_editor_role.yaml rename to deprecated/controllers/db/bytebase/config/rbac/bytebase_editor_role.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/bytebase_viewer_role.yaml b/deprecated/controllers/db/bytebase/config/rbac/bytebase_viewer_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/bytebase_viewer_role.yaml rename to deprecated/controllers/db/bytebase/config/rbac/bytebase_viewer_role.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/kustomization.yaml b/deprecated/controllers/db/bytebase/config/rbac/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/kustomization.yaml rename to deprecated/controllers/db/bytebase/config/rbac/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/leader_election_role.yaml b/deprecated/controllers/db/bytebase/config/rbac/leader_election_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/leader_election_role.yaml rename to deprecated/controllers/db/bytebase/config/rbac/leader_election_role.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/leader_election_role_binding.yaml b/deprecated/controllers/db/bytebase/config/rbac/leader_election_role_binding.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/leader_election_role_binding.yaml rename to deprecated/controllers/db/bytebase/config/rbac/leader_election_role_binding.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/role.yaml b/deprecated/controllers/db/bytebase/config/rbac/role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/role.yaml rename to deprecated/controllers/db/bytebase/config/rbac/role.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/role_binding.yaml b/deprecated/controllers/db/bytebase/config/rbac/role_binding.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/role_binding.yaml rename to deprecated/controllers/db/bytebase/config/rbac/role_binding.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/rbac/service_account.yaml b/deprecated/controllers/db/bytebase/config/rbac/service_account.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/rbac/service_account.yaml rename to deprecated/controllers/db/bytebase/config/rbac/service_account.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/samples/bytebase_v1_bytebase.yaml b/deprecated/controllers/db/bytebase/config/samples/bytebase_v1_bytebase.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/samples/bytebase_v1_bytebase.yaml rename to deprecated/controllers/db/bytebase/config/samples/bytebase_v1_bytebase.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/config/samples/config_v1_bytebasecontrollerconfig.yaml b/deprecated/controllers/db/bytebase/config/samples/config_v1_bytebasecontrollerconfig.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/config/samples/config_v1_bytebasecontrollerconfig.yaml rename to deprecated/controllers/db/bytebase/config/samples/config_v1_bytebasecontrollerconfig.yaml diff --git a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/bytebase_controller.go b/deprecated/controllers/db/bytebase/controllers/bytebase/bytebase_controller.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/bytebase_controller.go rename to deprecated/controllers/db/bytebase/controllers/bytebase/bytebase_controller.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/ingress.go b/deprecated/controllers/db/bytebase/controllers/bytebase/ingress.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/ingress.go rename to deprecated/controllers/db/bytebase/controllers/bytebase/ingress.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/instance.go b/deprecated/controllers/db/bytebase/controllers/bytebase/instance.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/instance.go rename to deprecated/controllers/db/bytebase/controllers/bytebase/instance.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/suite_test.go b/deprecated/controllers/db/bytebase/controllers/bytebase/suite_test.go similarity index 97% rename from staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/suite_test.go rename to deprecated/controllers/db/bytebase/controllers/bytebase/suite_test.go index 2ba9fad9469e..5eeaa2aea23f 100644 --- a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/suite_test.go +++ b/deprecated/controllers/db/bytebase/controllers/bytebase/suite_test.go @@ -20,9 +20,6 @@ import ( "path/filepath" "testing" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/sync.go b/deprecated/controllers/db/bytebase/controllers/bytebase/sync.go similarity index 99% rename from staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/sync.go rename to deprecated/controllers/db/bytebase/controllers/bytebase/sync.go index a7c66fa033b3..3eab562a2289 100644 --- a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/sync.go +++ b/deprecated/controllers/db/bytebase/controllers/bytebase/sync.go @@ -24,7 +24,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/jaevor/go-nanoid" "k8s.io/apimachinery/pkg/api/resource" bbv1 "github.com/labring/sealos/controllers/db/bytebase/apis/bytebase/v1" diff --git a/staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/util.go b/deprecated/controllers/db/bytebase/controllers/bytebase/util.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/controllers/bytebase/util.go rename to deprecated/controllers/db/bytebase/controllers/bytebase/util.go diff --git a/staging/src/github.com/labring/controllers/db/bytebase/deploy/Kubefile b/deprecated/controllers/db/bytebase/deploy/Kubefile similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/deploy/Kubefile rename to deprecated/controllers/db/bytebase/deploy/Kubefile diff --git a/staging/src/github.com/labring/controllers/db/bytebase/deploy/README.md b/deprecated/controllers/db/bytebase/deploy/README.md similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/deploy/README.md rename to deprecated/controllers/db/bytebase/deploy/README.md diff --git a/staging/src/github.com/labring/controllers/db/bytebase/deploy/manifests/deploy.yaml.tmpl b/deprecated/controllers/db/bytebase/deploy/manifests/deploy.yaml.tmpl similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/deploy/manifests/deploy.yaml.tmpl rename to deprecated/controllers/db/bytebase/deploy/manifests/deploy.yaml.tmpl diff --git a/staging/src/github.com/labring/controllers/db/bytebase/go.mod b/deprecated/controllers/db/bytebase/go.mod similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/go.mod rename to deprecated/controllers/db/bytebase/go.mod diff --git a/staging/src/github.com/labring/controllers/db/bytebase/go.sum b/deprecated/controllers/db/bytebase/go.sum similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/go.sum rename to deprecated/controllers/db/bytebase/go.sum diff --git a/staging/src/github.com/labring/controllers/db/bytebase/hack/boilerplate.go.txt b/deprecated/controllers/db/bytebase/hack/boilerplate.go.txt similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/hack/boilerplate.go.txt rename to deprecated/controllers/db/bytebase/hack/boilerplate.go.txt diff --git a/staging/src/github.com/labring/controllers/db/bytebase/main.go b/deprecated/controllers/db/bytebase/main.go similarity index 100% rename from staging/src/github.com/labring/controllers/db/bytebase/main.go rename to deprecated/controllers/db/bytebase/main.go diff --git a/staging/src/github.com/labring/controllers/imagehub/.dockerignore b/deprecated/controllers/imagehub/.dockerignore similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/.dockerignore rename to deprecated/controllers/imagehub/.dockerignore diff --git a/staging/src/github.com/labring/controllers/imagehub/.gitignore b/deprecated/controllers/imagehub/.gitignore similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/.gitignore rename to deprecated/controllers/imagehub/.gitignore diff --git a/staging/src/github.com/labring/controllers/imagehub/Dockerfile b/deprecated/controllers/imagehub/Dockerfile similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/Dockerfile rename to deprecated/controllers/imagehub/Dockerfile diff --git a/staging/src/github.com/labring/controllers/imagehub/Makefile b/deprecated/controllers/imagehub/Makefile similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/Makefile rename to deprecated/controllers/imagehub/Makefile diff --git a/staging/src/github.com/labring/controllers/imagehub/PROJECT b/deprecated/controllers/imagehub/PROJECT similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/PROJECT rename to deprecated/controllers/imagehub/PROJECT diff --git a/staging/src/github.com/labring/controllers/imagehub/README.md b/deprecated/controllers/imagehub/README.md similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/README.md rename to deprecated/controllers/imagehub/README.md diff --git a/staging/src/github.com/labring/controllers/imagehub/README_CN.md b/deprecated/controllers/imagehub/README_CN.md similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/README_CN.md rename to deprecated/controllers/imagehub/README_CN.md diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/common_types.go b/deprecated/controllers/imagehub/api/v1/common_types.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/common_types.go rename to deprecated/controllers/imagehub/api/v1/common_types.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/datapack_types.go b/deprecated/controllers/imagehub/api/v1/datapack_types.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/datapack_types.go rename to deprecated/controllers/imagehub/api/v1/datapack_types.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/groupversion_info.go b/deprecated/controllers/imagehub/api/v1/groupversion_info.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/groupversion_info.go rename to deprecated/controllers/imagehub/api/v1/groupversion_info.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/image_types.go b/deprecated/controllers/imagehub/api/v1/image_types.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/image_types.go rename to deprecated/controllers/imagehub/api/v1/image_types.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/image_webhook.go b/deprecated/controllers/imagehub/api/v1/image_webhook.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/image_webhook.go rename to deprecated/controllers/imagehub/api/v1/image_webhook.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/organization_types.go b/deprecated/controllers/imagehub/api/v1/organization_types.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/organization_types.go rename to deprecated/controllers/imagehub/api/v1/organization_types.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/organization_webhook.go b/deprecated/controllers/imagehub/api/v1/organization_webhook.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/organization_webhook.go rename to deprecated/controllers/imagehub/api/v1/organization_webhook.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/repository_types.go b/deprecated/controllers/imagehub/api/v1/repository_types.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/repository_types.go rename to deprecated/controllers/imagehub/api/v1/repository_types.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/repository_webhook.go b/deprecated/controllers/imagehub/api/v1/repository_webhook.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/repository_webhook.go rename to deprecated/controllers/imagehub/api/v1/repository_webhook.go diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/webhook_suite_test.go b/deprecated/controllers/imagehub/api/v1/webhook_suite_test.go similarity index 98% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/webhook_suite_test.go rename to deprecated/controllers/imagehub/api/v1/webhook_suite_test.go index 42a9858965b3..82782b114b43 100644 --- a/staging/src/github.com/labring/controllers/imagehub/api/v1/webhook_suite_test.go +++ b/deprecated/controllers/imagehub/api/v1/webhook_suite_test.go @@ -25,9 +25,6 @@ import ( "testing" "time" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - admissionv1beta1 "k8s.io/api/admission/v1beta1" //+kubebuilder:scaffold:imports "k8s.io/apimachinery/pkg/runtime" diff --git a/staging/src/github.com/labring/controllers/imagehub/api/v1/zz_generated.deepcopy.go b/deprecated/controllers/imagehub/api/v1/zz_generated.deepcopy.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/api/v1/zz_generated.deepcopy.go rename to deprecated/controllers/imagehub/api/v1/zz_generated.deepcopy.go diff --git a/staging/src/github.com/labring/controllers/imagehub/config/certmanager/certificate.yaml b/deprecated/controllers/imagehub/config/certmanager/certificate.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/certmanager/certificate.yaml rename to deprecated/controllers/imagehub/config/certmanager/certificate.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/certmanager/kustomization.yaml b/deprecated/controllers/imagehub/config/certmanager/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/certmanager/kustomization.yaml rename to deprecated/controllers/imagehub/config/certmanager/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/certmanager/kustomizeconfig.yaml b/deprecated/controllers/imagehub/config/certmanager/kustomizeconfig.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/certmanager/kustomizeconfig.yaml rename to deprecated/controllers/imagehub/config/certmanager/kustomizeconfig.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_datapacks.yaml b/deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_datapacks.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_datapacks.yaml rename to deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_datapacks.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_images.yaml b/deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_images.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_images.yaml rename to deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_images.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_organizations.yaml b/deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_organizations.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_organizations.yaml rename to deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_organizations.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_repositories.yaml b/deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_repositories.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/bases/imagehub.sealos.io_repositories.yaml rename to deprecated/controllers/imagehub/config/crd/bases/imagehub.sealos.io_repositories.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/kustomization.yaml b/deprecated/controllers/imagehub/config/crd/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/kustomization.yaml rename to deprecated/controllers/imagehub/config/crd/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/kustomizeconfig.yaml b/deprecated/controllers/imagehub/config/crd/kustomizeconfig.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/kustomizeconfig.yaml rename to deprecated/controllers/imagehub/config/crd/kustomizeconfig.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_datapacks.yaml b/deprecated/controllers/imagehub/config/crd/patches/cainjection_in_datapacks.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_datapacks.yaml rename to deprecated/controllers/imagehub/config/crd/patches/cainjection_in_datapacks.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_images.yaml b/deprecated/controllers/imagehub/config/crd/patches/cainjection_in_images.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_images.yaml rename to deprecated/controllers/imagehub/config/crd/patches/cainjection_in_images.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_organizations.yaml b/deprecated/controllers/imagehub/config/crd/patches/cainjection_in_organizations.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_organizations.yaml rename to deprecated/controllers/imagehub/config/crd/patches/cainjection_in_organizations.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_repositories.yaml b/deprecated/controllers/imagehub/config/crd/patches/cainjection_in_repositories.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/cainjection_in_repositories.yaml rename to deprecated/controllers/imagehub/config/crd/patches/cainjection_in_repositories.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_datapacks.yaml b/deprecated/controllers/imagehub/config/crd/patches/webhook_in_datapacks.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_datapacks.yaml rename to deprecated/controllers/imagehub/config/crd/patches/webhook_in_datapacks.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_images.yaml b/deprecated/controllers/imagehub/config/crd/patches/webhook_in_images.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_images.yaml rename to deprecated/controllers/imagehub/config/crd/patches/webhook_in_images.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_organizations.yaml b/deprecated/controllers/imagehub/config/crd/patches/webhook_in_organizations.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_organizations.yaml rename to deprecated/controllers/imagehub/config/crd/patches/webhook_in_organizations.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_repositories.yaml b/deprecated/controllers/imagehub/config/crd/patches/webhook_in_repositories.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/crd/patches/webhook_in_repositories.yaml rename to deprecated/controllers/imagehub/config/crd/patches/webhook_in_repositories.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/default/kustomization.yaml b/deprecated/controllers/imagehub/config/default/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/default/kustomization.yaml rename to deprecated/controllers/imagehub/config/default/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/default/manager_auth_proxy_patch.yaml b/deprecated/controllers/imagehub/config/default/manager_auth_proxy_patch.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/default/manager_auth_proxy_patch.yaml rename to deprecated/controllers/imagehub/config/default/manager_auth_proxy_patch.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/default/manager_config_patch.yaml b/deprecated/controllers/imagehub/config/default/manager_config_patch.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/default/manager_config_patch.yaml rename to deprecated/controllers/imagehub/config/default/manager_config_patch.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/default/manager_webhook_patch.yaml b/deprecated/controllers/imagehub/config/default/manager_webhook_patch.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/default/manager_webhook_patch.yaml rename to deprecated/controllers/imagehub/config/default/manager_webhook_patch.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/default/webhookcainjection_patch.yaml b/deprecated/controllers/imagehub/config/default/webhookcainjection_patch.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/default/webhookcainjection_patch.yaml rename to deprecated/controllers/imagehub/config/default/webhookcainjection_patch.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/manager/kustomization.yaml b/deprecated/controllers/imagehub/config/manager/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/manager/kustomization.yaml rename to deprecated/controllers/imagehub/config/manager/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/manager/manager.yaml b/deprecated/controllers/imagehub/config/manager/manager.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/manager/manager.yaml rename to deprecated/controllers/imagehub/config/manager/manager.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/prometheus/kustomization.yaml b/deprecated/controllers/imagehub/config/prometheus/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/prometheus/kustomization.yaml rename to deprecated/controllers/imagehub/config/prometheus/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/prometheus/monitor.yaml b/deprecated/controllers/imagehub/config/prometheus/monitor.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/prometheus/monitor.yaml rename to deprecated/controllers/imagehub/config/prometheus/monitor.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_client_clusterrole.yaml b/deprecated/controllers/imagehub/config/rbac/auth_proxy_client_clusterrole.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_client_clusterrole.yaml rename to deprecated/controllers/imagehub/config/rbac/auth_proxy_client_clusterrole.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_role.yaml b/deprecated/controllers/imagehub/config/rbac/auth_proxy_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_role.yaml rename to deprecated/controllers/imagehub/config/rbac/auth_proxy_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_role_binding.yaml b/deprecated/controllers/imagehub/config/rbac/auth_proxy_role_binding.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_role_binding.yaml rename to deprecated/controllers/imagehub/config/rbac/auth_proxy_role_binding.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_service.yaml b/deprecated/controllers/imagehub/config/rbac/auth_proxy_service.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/auth_proxy_service.yaml rename to deprecated/controllers/imagehub/config/rbac/auth_proxy_service.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/datapack_editor_role.yaml b/deprecated/controllers/imagehub/config/rbac/datapack_editor_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/datapack_editor_role.yaml rename to deprecated/controllers/imagehub/config/rbac/datapack_editor_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/datapack_viewer_role.yaml b/deprecated/controllers/imagehub/config/rbac/datapack_viewer_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/datapack_viewer_role.yaml rename to deprecated/controllers/imagehub/config/rbac/datapack_viewer_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/image_editor_role.yaml b/deprecated/controllers/imagehub/config/rbac/image_editor_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/image_editor_role.yaml rename to deprecated/controllers/imagehub/config/rbac/image_editor_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/image_viewer_role.yaml b/deprecated/controllers/imagehub/config/rbac/image_viewer_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/image_viewer_role.yaml rename to deprecated/controllers/imagehub/config/rbac/image_viewer_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/kustomization.yaml b/deprecated/controllers/imagehub/config/rbac/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/kustomization.yaml rename to deprecated/controllers/imagehub/config/rbac/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/leader_election_role.yaml b/deprecated/controllers/imagehub/config/rbac/leader_election_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/leader_election_role.yaml rename to deprecated/controllers/imagehub/config/rbac/leader_election_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/leader_election_role_binding.yaml b/deprecated/controllers/imagehub/config/rbac/leader_election_role_binding.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/leader_election_role_binding.yaml rename to deprecated/controllers/imagehub/config/rbac/leader_election_role_binding.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/organization_editor_role.yaml b/deprecated/controllers/imagehub/config/rbac/organization_editor_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/organization_editor_role.yaml rename to deprecated/controllers/imagehub/config/rbac/organization_editor_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/organization_viewer_role.yaml b/deprecated/controllers/imagehub/config/rbac/organization_viewer_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/organization_viewer_role.yaml rename to deprecated/controllers/imagehub/config/rbac/organization_viewer_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/repository_editor_role.yaml b/deprecated/controllers/imagehub/config/rbac/repository_editor_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/repository_editor_role.yaml rename to deprecated/controllers/imagehub/config/rbac/repository_editor_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/repository_viewer_role.yaml b/deprecated/controllers/imagehub/config/rbac/repository_viewer_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/repository_viewer_role.yaml rename to deprecated/controllers/imagehub/config/rbac/repository_viewer_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/role.yaml b/deprecated/controllers/imagehub/config/rbac/role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/role.yaml rename to deprecated/controllers/imagehub/config/rbac/role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/role_binding.yaml b/deprecated/controllers/imagehub/config/rbac/role_binding.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/role_binding.yaml rename to deprecated/controllers/imagehub/config/rbac/role_binding.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/rbac/service_account.yaml b/deprecated/controllers/imagehub/config/rbac/service_account.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/rbac/service_account.yaml rename to deprecated/controllers/imagehub/config/rbac/service_account.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_all.yaml b/deprecated/controllers/imagehub/config/samples/imagehub_v1_all.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_all.yaml rename to deprecated/controllers/imagehub/config/samples/imagehub_v1_all.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_cluster_role.yaml b/deprecated/controllers/imagehub/config/samples/imagehub_v1_cluster_role.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_cluster_role.yaml rename to deprecated/controllers/imagehub/config/samples/imagehub_v1_cluster_role.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_datapack.yaml b/deprecated/controllers/imagehub/config/samples/imagehub_v1_datapack.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_datapack.yaml rename to deprecated/controllers/imagehub/config/samples/imagehub_v1_datapack.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_image.yaml b/deprecated/controllers/imagehub/config/samples/imagehub_v1_image.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_image.yaml rename to deprecated/controllers/imagehub/config/samples/imagehub_v1_image.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_organization.yaml b/deprecated/controllers/imagehub/config/samples/imagehub_v1_organization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_organization.yaml rename to deprecated/controllers/imagehub/config/samples/imagehub_v1_organization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_repository.yaml b/deprecated/controllers/imagehub/config/samples/imagehub_v1_repository.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/imagehub_v1_repository.yaml rename to deprecated/controllers/imagehub/config/samples/imagehub_v1_repository.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/webhook_test_sample/labring.image.yaml b/deprecated/controllers/imagehub/config/samples/webhook_test_sample/labring.image.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/webhook_test_sample/labring.image.yaml rename to deprecated/controllers/imagehub/config/samples/webhook_test_sample/labring.image.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/webhook_test_sample/lingdie.image.yaml b/deprecated/controllers/imagehub/config/samples/webhook_test_sample/lingdie.image.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/webhook_test_sample/lingdie.image.yaml rename to deprecated/controllers/imagehub/config/samples/webhook_test_sample/lingdie.image.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/samples/webhook_test_sample/orgwithsa.yaml b/deprecated/controllers/imagehub/config/samples/webhook_test_sample/orgwithsa.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/samples/webhook_test_sample/orgwithsa.yaml rename to deprecated/controllers/imagehub/config/samples/webhook_test_sample/orgwithsa.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/webhook/kustomization.yaml b/deprecated/controllers/imagehub/config/webhook/kustomization.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/webhook/kustomization.yaml rename to deprecated/controllers/imagehub/config/webhook/kustomization.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/webhook/kustomizeconfig.yaml b/deprecated/controllers/imagehub/config/webhook/kustomizeconfig.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/webhook/kustomizeconfig.yaml rename to deprecated/controllers/imagehub/config/webhook/kustomizeconfig.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/webhook/manifests.yaml b/deprecated/controllers/imagehub/config/webhook/manifests.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/webhook/manifests.yaml rename to deprecated/controllers/imagehub/config/webhook/manifests.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/config/webhook/service.yaml b/deprecated/controllers/imagehub/config/webhook/service.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/config/webhook/service.yaml rename to deprecated/controllers/imagehub/config/webhook/service.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/controllers/data_helper.go b/deprecated/controllers/imagehub/controllers/data_helper.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/controllers/data_helper.go rename to deprecated/controllers/imagehub/controllers/data_helper.go diff --git a/staging/src/github.com/labring/controllers/imagehub/controllers/datapack_controller.go b/deprecated/controllers/imagehub/controllers/datapack_controller.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/controllers/datapack_controller.go rename to deprecated/controllers/imagehub/controllers/datapack_controller.go diff --git a/staging/src/github.com/labring/controllers/imagehub/controllers/image_controller.go b/deprecated/controllers/imagehub/controllers/image_controller.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/controllers/image_controller.go rename to deprecated/controllers/imagehub/controllers/image_controller.go diff --git a/staging/src/github.com/labring/controllers/imagehub/controllers/organization_controller.go b/deprecated/controllers/imagehub/controllers/organization_controller.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/controllers/organization_controller.go rename to deprecated/controllers/imagehub/controllers/organization_controller.go diff --git a/staging/src/github.com/labring/controllers/imagehub/controllers/repository_controller.go b/deprecated/controllers/imagehub/controllers/repository_controller.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/controllers/repository_controller.go rename to deprecated/controllers/imagehub/controllers/repository_controller.go diff --git a/staging/src/github.com/labring/controllers/imagehub/controllers/suite_test.go b/deprecated/controllers/imagehub/controllers/suite_test.go similarity index 97% rename from staging/src/github.com/labring/controllers/imagehub/controllers/suite_test.go rename to deprecated/controllers/imagehub/controllers/suite_test.go index 5e0552c24738..d48e86a476d7 100644 --- a/staging/src/github.com/labring/controllers/imagehub/controllers/suite_test.go +++ b/deprecated/controllers/imagehub/controllers/suite_test.go @@ -20,9 +20,6 @@ import ( "path/filepath" "testing" - . "github.com/onsi/ginkgo/v2" - . "github.com/onsi/gomega" - "k8s.io/client-go/kubernetes/scheme" "k8s.io/client-go/rest" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/staging/src/github.com/labring/controllers/imagehub/deploy/Kubefile b/deprecated/controllers/imagehub/deploy/Kubefile similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/deploy/Kubefile rename to deprecated/controllers/imagehub/deploy/Kubefile diff --git a/staging/src/github.com/labring/controllers/imagehub/deploy/README.md b/deprecated/controllers/imagehub/deploy/README.md similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/deploy/README.md rename to deprecated/controllers/imagehub/deploy/README.md diff --git a/staging/src/github.com/labring/controllers/imagehub/deploy/manifests/deploy.yaml b/deprecated/controllers/imagehub/deploy/manifests/deploy.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/deploy/manifests/deploy.yaml rename to deprecated/controllers/imagehub/deploy/manifests/deploy.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/deploy/rbac/rbac.yaml b/deprecated/controllers/imagehub/deploy/rbac/rbac.yaml similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/deploy/rbac/rbac.yaml rename to deprecated/controllers/imagehub/deploy/rbac/rbac.yaml diff --git a/staging/src/github.com/labring/controllers/imagehub/go.mod b/deprecated/controllers/imagehub/go.mod similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/go.mod rename to deprecated/controllers/imagehub/go.mod diff --git a/staging/src/github.com/labring/controllers/imagehub/go.sum b/deprecated/controllers/imagehub/go.sum similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/go.sum rename to deprecated/controllers/imagehub/go.sum diff --git a/staging/src/github.com/labring/controllers/imagehub/hack/boilerplate.go.txt b/deprecated/controllers/imagehub/hack/boilerplate.go.txt similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/hack/boilerplate.go.txt rename to deprecated/controllers/imagehub/hack/boilerplate.go.txt diff --git a/staging/src/github.com/labring/controllers/imagehub/main.go b/deprecated/controllers/imagehub/main.go similarity index 100% rename from staging/src/github.com/labring/controllers/imagehub/main.go rename to deprecated/controllers/imagehub/main.go diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/.eslintrc.json b/deprecated/frontend/providers/bytebase/.eslintrc.json similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/.eslintrc.json rename to deprecated/frontend/providers/bytebase/.eslintrc.json diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/.gitignore b/deprecated/frontend/providers/bytebase/.gitignore similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/.gitignore rename to deprecated/frontend/providers/bytebase/.gitignore diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/Dockerfile b/deprecated/frontend/providers/bytebase/Dockerfile similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/Dockerfile rename to deprecated/frontend/providers/bytebase/Dockerfile diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/Makefile b/deprecated/frontend/providers/bytebase/Makefile similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/Makefile rename to deprecated/frontend/providers/bytebase/Makefile diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/README.md b/deprecated/frontend/providers/bytebase/README.md similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/README.md rename to deprecated/frontend/providers/bytebase/README.md diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/deploy/Kubefile b/deprecated/frontend/providers/bytebase/deploy/Kubefile similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/deploy/Kubefile rename to deprecated/frontend/providers/bytebase/deploy/Kubefile diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/deploy/manifests/deploy.yaml b/deprecated/frontend/providers/bytebase/deploy/manifests/deploy.yaml similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/deploy/manifests/deploy.yaml rename to deprecated/frontend/providers/bytebase/deploy/manifests/deploy.yaml diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/deploy/manifests/ingress.yaml.tmpl b/deprecated/frontend/providers/bytebase/deploy/manifests/ingress.yaml.tmpl similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/deploy/manifests/ingress.yaml.tmpl rename to deprecated/frontend/providers/bytebase/deploy/manifests/ingress.yaml.tmpl diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/next.config.js b/deprecated/frontend/providers/bytebase/next.config.js similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/next.config.js rename to deprecated/frontend/providers/bytebase/next.config.js diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/package.json b/deprecated/frontend/providers/bytebase/package.json similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/package.json rename to deprecated/frontend/providers/bytebase/package.json diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/public/favicon.ico b/deprecated/frontend/providers/bytebase/public/favicon.ico similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/public/favicon.ico rename to deprecated/frontend/providers/bytebase/public/favicon.ico diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/public/logo.svg b/deprecated/frontend/providers/bytebase/public/logo.svg similarity index 98% rename from staging/src/github.com/labring/frontend/providers/bytebase/public/logo.svg rename to deprecated/frontend/providers/bytebase/public/logo.svg index aee5a4a854cc..cdd9c8af9ea1 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/public/logo.svg +++ b/deprecated/frontend/providers/bytebase/public/logo.svg @@ -1 +1,2 @@ - \ No newline at end of file + diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/interfaces/api.ts b/deprecated/frontend/providers/bytebase/src/interfaces/api.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/interfaces/api.ts rename to deprecated/frontend/providers/bytebase/src/interfaces/api.ts diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/interfaces/bytebase.ts b/deprecated/frontend/providers/bytebase/src/interfaces/bytebase.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/interfaces/bytebase.ts rename to deprecated/frontend/providers/bytebase/src/interfaces/bytebase.ts diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/interfaces/session.ts b/deprecated/frontend/providers/bytebase/src/interfaces/session.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/interfaces/session.ts rename to deprecated/frontend/providers/bytebase/src/interfaces/session.ts diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/_app.tsx b/deprecated/frontend/providers/bytebase/src/pages/_app.tsx similarity index 76% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/pages/_app.tsx rename to deprecated/frontend/providers/bytebase/src/pages/_app.tsx index 00a649d6480f..0aa98a139c80 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/_app.tsx +++ b/deprecated/frontend/providers/bytebase/src/pages/_app.tsx @@ -1,6 +1,6 @@ import '@/styles/globals.scss'; -import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import type { AppProps } from 'next/app'; +import {QueryClient, QueryClientProvider} from '@tanstack/react-query'; +import type {AppProps} from 'next/app'; const queryClient = new QueryClient({ defaultOptions: { diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/_document.tsx b/deprecated/frontend/providers/bytebase/src/pages/_document.tsx similarity index 73% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/pages/_document.tsx rename to deprecated/frontend/providers/bytebase/src/pages/_document.tsx index e1e9cbbb75aa..94ebab0e0ac0 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/_document.tsx +++ b/deprecated/frontend/providers/bytebase/src/pages/_document.tsx @@ -1,4 +1,4 @@ -import { Html, Head, Main, NextScript } from 'next/document'; +import {Head, Html, Main, NextScript} from 'next/document'; export default function Document() { return ( diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/api/apply.ts b/deprecated/frontend/providers/bytebase/src/pages/api/apply.ts similarity index 82% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/pages/api/apply.ts rename to deprecated/frontend/providers/bytebase/src/pages/api/apply.ts index 18901c2b5194..9b1240c5fd76 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/api/apply.ts +++ b/deprecated/frontend/providers/bytebase/src/pages/api/apply.ts @@ -1,8 +1,8 @@ -import { generateByteBaseTemplate, ByteBaseStatus } from '@/interfaces/bytebase'; -import { authSession } from '@/service/auth'; -import { ApplyYaml, CRDMeta, GetCRD, GetUserDefaultNameSpace, K8sApi } from '@/service/kubernetes'; -import { jsonRes } from '@/service/response'; -import type { NextApiRequest, NextApiResponse } from 'next'; +import {ByteBaseStatus, generateByteBaseTemplate} from '@/interfaces/bytebase'; +import {authSession} from '@/service/auth'; +import {ApplyYaml, CRDMeta, GetCRD, GetUserDefaultNameSpace, K8sApi} from '@/service/kubernetes'; +import {jsonRes} from '@/service/response'; +import type {NextApiRequest, NextApiResponse} from 'next'; export const ByteBaseMeta: CRDMeta = { group: 'bytebase.db.sealos.io', diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/index.module.scss b/deprecated/frontend/providers/bytebase/src/pages/index.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/pages/index.module.scss rename to deprecated/frontend/providers/bytebase/src/pages/index.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/index.tsx b/deprecated/frontend/providers/bytebase/src/pages/index.tsx similarity index 91% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/pages/index.tsx rename to deprecated/frontend/providers/bytebase/src/pages/index.tsx index 24d969580f36..c612f9b75375 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/pages/index.tsx +++ b/deprecated/frontend/providers/bytebase/src/pages/index.tsx @@ -1,9 +1,9 @@ import request from '@/service/request'; import useSessionStore from '@/stores/session'; -import { useQuery } from '@tanstack/react-query'; +import {useQuery} from '@tanstack/react-query'; import clsx from 'clsx'; -import { useEffect, useState } from 'react'; -import { createSealosApp, sealosApp } from 'sealos-desktop-sdk/app'; +import {useEffect, useState} from 'react'; +import {createSealosApp, sealosApp} from 'sealos-desktop-sdk/app'; import styles from './index.module.scss'; export default function Index() { diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/service/auth.ts b/deprecated/frontend/providers/bytebase/src/service/auth.ts similarity index 88% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/service/auth.ts rename to deprecated/frontend/providers/bytebase/src/service/auth.ts index 49b6463c9730..f08e949af036 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/service/auth.ts +++ b/deprecated/frontend/providers/bytebase/src/service/auth.ts @@ -1,4 +1,4 @@ -import { IncomingHttpHeaders } from 'http'; +import {IncomingHttpHeaders} from 'http'; export const authSession = async (header: IncomingHttpHeaders) => { try { diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/service/kubernetes.ts b/deprecated/frontend/providers/bytebase/src/service/kubernetes.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/service/kubernetes.ts rename to deprecated/frontend/providers/bytebase/src/service/kubernetes.ts diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/service/request.ts b/deprecated/frontend/providers/bytebase/src/service/request.ts similarity index 92% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/service/request.ts rename to deprecated/frontend/providers/bytebase/src/service/request.ts index 3d8e26c91090..36fd523dbec3 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/service/request.ts +++ b/deprecated/frontend/providers/bytebase/src/service/request.ts @@ -1,7 +1,7 @@ // http.ts -import { ApiResp } from '@/interfaces/api'; +import {ApiResp} from '@/interfaces/api'; import useSessionStore from '@/stores/session'; -import axios, { AxiosRequestConfig, AxiosResponse, RawAxiosRequestHeaders } from 'axios'; +import axios, {AxiosRequestConfig, AxiosResponse, RawAxiosRequestHeaders} from 'axios'; const request = axios.create({ baseURL: '/', diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/service/response.ts b/deprecated/frontend/providers/bytebase/src/service/response.ts similarity index 93% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/service/response.ts rename to deprecated/frontend/providers/bytebase/src/service/response.ts index 50d636ee4151..7fde6d924f5a 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/service/response.ts +++ b/deprecated/frontend/providers/bytebase/src/service/response.ts @@ -1,5 +1,5 @@ -import { NextApiResponse } from 'next'; -import { ApiResp } from '@/interfaces/api'; +import {NextApiResponse} from 'next'; +import {ApiResp} from '@/interfaces/api'; const showStatus = (status: number) => { let message = ''; diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/stores/session.ts b/deprecated/frontend/providers/bytebase/src/stores/session.ts similarity index 81% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/stores/session.ts rename to deprecated/frontend/providers/bytebase/src/stores/session.ts index 839abd5efbf4..807228a934e5 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/src/stores/session.ts +++ b/deprecated/frontend/providers/bytebase/src/stores/session.ts @@ -1,8 +1,8 @@ -import type { Session } from '@/interfaces/session'; -import { sessionKey } from '@/interfaces/session'; -import { create } from 'zustand'; -import { devtools, persist } from 'zustand/middleware'; -import { immer } from 'zustand/middleware/immer'; +import type {Session} from '@/interfaces/session'; +import {sessionKey} from '@/interfaces/session'; +import {create} from 'zustand'; +import {devtools} from 'zustand/middleware'; +import {immer} from 'zustand/middleware/immer'; import * as yaml from 'js-yaml'; type SessionState = { diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/src/styles/globals.scss b/deprecated/frontend/providers/bytebase/src/styles/globals.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/bytebase/src/styles/globals.scss rename to deprecated/frontend/providers/bytebase/src/styles/globals.scss diff --git a/staging/src/github.com/labring/frontend/providers/bytebase/tsconfig.json b/deprecated/frontend/providers/bytebase/tsconfig.json similarity index 91% rename from staging/src/github.com/labring/frontend/providers/bytebase/tsconfig.json rename to deprecated/frontend/providers/bytebase/tsconfig.json index f2bc03096f40..bbca5ee63091 100644 --- a/staging/src/github.com/labring/frontend/providers/bytebase/tsconfig.json +++ b/deprecated/frontend/providers/bytebase/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], - "baseUrl": ".", + "baseUrl": "./", "paths": { "@/*": ["./src/*"] } diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/.env b/deprecated/frontend/providers/imagehub/.env similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/.env rename to deprecated/frontend/providers/imagehub/.env diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/.eslintrc.json b/deprecated/frontend/providers/imagehub/.eslintrc.json similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/.eslintrc.json rename to deprecated/frontend/providers/imagehub/.eslintrc.json diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/.gitignore b/deprecated/frontend/providers/imagehub/.gitignore similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/.gitignore rename to deprecated/frontend/providers/imagehub/.gitignore diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/.prettierrc.js b/deprecated/frontend/providers/imagehub/.prettierrc.js similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/.prettierrc.js rename to deprecated/frontend/providers/imagehub/.prettierrc.js diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/Dockerfile b/deprecated/frontend/providers/imagehub/Dockerfile similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/Dockerfile rename to deprecated/frontend/providers/imagehub/Dockerfile diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/Makefile b/deprecated/frontend/providers/imagehub/Makefile similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/Makefile rename to deprecated/frontend/providers/imagehub/Makefile diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/README.md b/deprecated/frontend/providers/imagehub/README.md similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/README.md rename to deprecated/frontend/providers/imagehub/README.md diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/deploy/Kubefile b/deprecated/frontend/providers/imagehub/deploy/Kubefile similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/deploy/Kubefile rename to deprecated/frontend/providers/imagehub/deploy/Kubefile diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/deploy/manifests/deploy.yaml b/deprecated/frontend/providers/imagehub/deploy/manifests/deploy.yaml similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/deploy/manifests/deploy.yaml rename to deprecated/frontend/providers/imagehub/deploy/manifests/deploy.yaml diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/deploy/manifests/ingress.yaml.tmpl b/deprecated/frontend/providers/imagehub/deploy/manifests/ingress.yaml.tmpl similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/deploy/manifests/ingress.yaml.tmpl rename to deprecated/frontend/providers/imagehub/deploy/manifests/ingress.yaml.tmpl diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/deploy/manifests/rbac.yaml b/deprecated/frontend/providers/imagehub/deploy/manifests/rbac.yaml similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/deploy/manifests/rbac.yaml rename to deprecated/frontend/providers/imagehub/deploy/manifests/rbac.yaml diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/next.config.js b/deprecated/frontend/providers/imagehub/next.config.js similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/next.config.js rename to deprecated/frontend/providers/imagehub/next.config.js diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/package.json b/deprecated/frontend/providers/imagehub/package.json similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/package.json rename to deprecated/frontend/providers/imagehub/package.json diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/postcss.config.js b/deprecated/frontend/providers/imagehub/postcss.config.js similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/postcss.config.js rename to deprecated/frontend/providers/imagehub/postcss.config.js diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/public/favicon.ico b/deprecated/frontend/providers/imagehub/public/favicon.ico similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/public/favicon.ico rename to deprecated/frontend/providers/imagehub/public/favicon.ico diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/public/iconfont/iconfont.js b/deprecated/frontend/providers/imagehub/public/iconfont/iconfont.js similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/public/iconfont/iconfont.js rename to deprecated/frontend/providers/imagehub/public/iconfont/iconfont.js diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/public/images/background.png b/deprecated/frontend/providers/imagehub/public/images/background.png similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/public/images/background.png rename to deprecated/frontend/providers/imagehub/public/images/background.png diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/public/images/error.svg b/deprecated/frontend/providers/imagehub/public/images/error.svg similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/public/images/error.svg rename to deprecated/frontend/providers/imagehub/public/images/error.svg diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/public/images/error_timeout.svg b/deprecated/frontend/providers/imagehub/public/images/error_timeout.svg similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/public/images/error_timeout.svg rename to deprecated/frontend/providers/imagehub/public/images/error_timeout.svg diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/public/images/image_empty.svg b/deprecated/frontend/providers/imagehub/public/images/image_empty.svg similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/public/images/image_empty.svg rename to deprecated/frontend/providers/imagehub/public/images/image_empty.svg diff --git a/deprecated/frontend/providers/imagehub/public/logo.svg b/deprecated/frontend/providers/imagehub/public/logo.svg new file mode 100644 index 000000000000..065dc4405429 --- /dev/null +++ b/deprecated/frontend/providers/imagehub/public/logo.svg @@ -0,0 +1,2 @@ + diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/button/index.module.scss b/deprecated/frontend/providers/imagehub/src/components/button/index.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/button/index.module.scss rename to deprecated/frontend/providers/imagehub/src/components/button/index.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/button/index.tsx b/deprecated/frontend/providers/imagehub/src/components/button/index.tsx similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/button/index.tsx rename to deprecated/frontend/providers/imagehub/src/components/button/index.tsx diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/error/index.tsx b/deprecated/frontend/providers/imagehub/src/components/error/index.tsx similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/error/index.tsx rename to deprecated/frontend/providers/imagehub/src/components/error/index.tsx diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/iconfont/index.tsx b/deprecated/frontend/providers/imagehub/src/components/iconfont/index.tsx similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/iconfont/index.tsx rename to deprecated/frontend/providers/imagehub/src/components/iconfont/index.tsx diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/labels/index.module.scss b/deprecated/frontend/providers/imagehub/src/components/labels/index.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/labels/index.module.scss rename to deprecated/frontend/providers/imagehub/src/components/labels/index.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/labels/index.tsx b/deprecated/frontend/providers/imagehub/src/components/labels/index.tsx similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/labels/index.tsx rename to deprecated/frontend/providers/imagehub/src/components/labels/index.tsx diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/markdown/index.module.scss b/deprecated/frontend/providers/imagehub/src/components/markdown/index.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/markdown/index.module.scss rename to deprecated/frontend/providers/imagehub/src/components/markdown/index.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/markdown/index.tsx b/deprecated/frontend/providers/imagehub/src/components/markdown/index.tsx similarity index 99% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/markdown/index.tsx rename to deprecated/frontend/providers/imagehub/src/components/markdown/index.tsx index 2f536e23f2ed..7eefdead75dd 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/markdown/index.tsx +++ b/deprecated/frontend/providers/imagehub/src/components/markdown/index.tsx @@ -3,9 +3,10 @@ import clsx from 'clsx'; import 'github-markdown-css/github-markdown-light.css'; import ReactMarkdown from 'react-markdown'; import SyntaxHighlighter from 'react-syntax-highlighter'; -const { stackoverflowLight } = require('react-syntax-highlighter/dist/cjs/styles/hljs'); import styles from './index.module.scss'; +const { stackoverflowLight } = require('react-syntax-highlighter/dist/cjs/styles/hljs'); + type TMarkDown = { text: string; themeDark?: boolean; diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/pgination/index.module.scss b/deprecated/frontend/providers/imagehub/src/components/pgination/index.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/pgination/index.module.scss rename to deprecated/frontend/providers/imagehub/src/components/pgination/index.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/pgination/index.tsx b/deprecated/frontend/providers/imagehub/src/components/pgination/index.tsx similarity index 99% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/components/pgination/index.tsx rename to deprecated/frontend/providers/imagehub/src/components/pgination/index.tsx index 36857f44df99..493b2cdc789f 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/components/pgination/index.tsx +++ b/deprecated/frontend/providers/imagehub/src/components/pgination/index.tsx @@ -1,5 +1,5 @@ import clsx from 'clsx'; -import { useState } from 'react'; +import {useState} from 'react'; import styles from './index.module.scss'; import Iconfont from '@/components/iconfont'; diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/interfaces/api.ts b/deprecated/frontend/providers/imagehub/src/interfaces/api.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/interfaces/api.ts rename to deprecated/frontend/providers/imagehub/src/interfaces/api.ts diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/interfaces/imagehub.ts b/deprecated/frontend/providers/imagehub/src/interfaces/imagehub.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/interfaces/imagehub.ts rename to deprecated/frontend/providers/imagehub/src/interfaces/imagehub.ts diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/interfaces/session.ts b/deprecated/frontend/providers/imagehub/src/interfaces/session.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/interfaces/session.ts rename to deprecated/frontend/providers/imagehub/src/interfaces/session.ts diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/layout/index.module.scss b/deprecated/frontend/providers/imagehub/src/layout/index.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/layout/index.module.scss rename to deprecated/frontend/providers/imagehub/src/layout/index.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/layout/index.tsx b/deprecated/frontend/providers/imagehub/src/layout/index.tsx similarity index 85% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/layout/index.tsx rename to deprecated/frontend/providers/imagehub/src/layout/index.tsx index dd83f3f4441e..4c3c7b58c63a 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/layout/index.tsx +++ b/deprecated/frontend/providers/imagehub/src/layout/index.tsx @@ -1,9 +1,10 @@ import useSessionStore from '@/stores/session'; -import { Nunito } from '@next/font/google'; +import {Nunito} from '@next/font/google'; import clsx from 'clsx'; -import { useEffect, useState } from 'react'; -import { createSealosApp, sealosApp } from 'sealos-desktop-sdk/app'; +import {useEffect, useState} from 'react'; +import {createSealosApp, sealosApp} from 'sealos-desktop-sdk/app'; import styles from './index.module.scss'; + const nunito = Nunito({ subsets: ['latin'] }); export default function Layout({ children }: any) { diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/mock/imagehub.ts b/deprecated/frontend/providers/imagehub/src/mock/imagehub.ts similarity index 93% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/mock/imagehub.ts rename to deprecated/frontend/providers/imagehub/src/mock/imagehub.ts index 87978a0bd642..36880dd447bf 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/mock/imagehub.ts +++ b/deprecated/frontend/providers/imagehub/src/mock/imagehub.ts @@ -1,4 +1,4 @@ -import { CRDMeta } from '@/services/kubernetes'; +import {CRDMeta} from '@/services/kubernetes'; const RepositoryMeta: CRDMeta = { group: 'imagehub.sealos.io', diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/_app.tsx b/deprecated/frontend/providers/imagehub/src/pages/_app.tsx similarity index 79% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/_app.tsx rename to deprecated/frontend/providers/imagehub/src/pages/_app.tsx index f0d574ca62bc..2bd8fe67a217 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/_app.tsx +++ b/deprecated/frontend/providers/imagehub/src/pages/_app.tsx @@ -1,6 +1,6 @@ import Layout from '@/layout'; -import type { AppProps } from 'next/app'; -import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import type {AppProps} from 'next/app'; +import {QueryClient, QueryClientProvider} from '@tanstack/react-query'; import '../styles/globals.scss'; const queryClient = new QueryClient({ diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/_document.tsx b/deprecated/frontend/providers/imagehub/src/pages/_document.tsx similarity index 79% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/_document.tsx rename to deprecated/frontend/providers/imagehub/src/pages/_document.tsx index bd579f202959..64128cf27131 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/_document.tsx +++ b/deprecated/frontend/providers/imagehub/src/pages/_document.tsx @@ -1,4 +1,4 @@ -import { Html, Head, Main, NextScript } from 'next/document'; +import {Head, Html, Main, NextScript} from 'next/document'; export default function Document() { return ( diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/api/get_detail.ts b/deprecated/frontend/providers/imagehub/src/pages/api/get_detail.ts similarity index 72% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/api/get_detail.ts rename to deprecated/frontend/providers/imagehub/src/pages/api/get_detail.ts index 94d731fce4d0..6c73ea68fed7 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/api/get_detail.ts +++ b/deprecated/frontend/providers/imagehub/src/pages/api/get_detail.ts @@ -1,16 +1,9 @@ -import * as k8s from '@kubernetes/client-node'; -import { DataPackType, ImageHubDataPackCRDTemplate, ImageHubDataPackMeta } from '@/mock/imagehub'; -import type { NextApiRequest, NextApiResponse } from 'next'; -import { ApplyYaml, GetClusterObject, K8sApi } from '@/services/kubernetes'; -import { CRDTemplateBuilder } from '@/services/wrapper'; -import { hashAny } from '@/utils/strings'; -import { - BadRequestResp, - InternalErrorResp, - JsonResp, - UnprocessableResp, - CreatedJsonResp -} from '@/services/response'; +import {DataPackType, ImageHubDataPackCRDTemplate, ImageHubDataPackMeta} from '@/mock/imagehub'; +import type {NextApiRequest, NextApiResponse} from 'next'; +import {ApplyYaml, GetClusterObject, K8sApi} from '@/services/kubernetes'; +import {CRDTemplateBuilder} from '@/services/wrapper'; +import {hashAny} from '@/utils/strings'; +import {BadRequestResp, CreatedJsonResp, InternalErrorResp, JsonResp, UnprocessableResp} from '@/services/response'; type DataPackDesc = { codes: number; diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/api/get_list.ts b/deprecated/frontend/providers/imagehub/src/pages/api/get_list.ts similarity index 82% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/api/get_list.ts rename to deprecated/frontend/providers/imagehub/src/pages/api/get_list.ts index 6fe5478cbb75..d28dd0e5bbc0 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/api/get_list.ts +++ b/deprecated/frontend/providers/imagehub/src/pages/api/get_list.ts @@ -1,21 +1,10 @@ import * as k8s from '@kubernetes/client-node'; -import { - DataPackType, - ImageHubDataPackCRDTemplate, - ImageHubDataPackMeta, - RepositoryMeta -} from '@/mock/imagehub'; -import type { NextApiRequest, NextApiResponse } from 'next'; -import { ApplyYaml, GetClusterObject, K8sApi, ListClusterObject } from '@/services/kubernetes'; -import { CRDTemplateBuilder } from '@/services/wrapper'; -import { hashAny } from '@/utils/strings'; -import { - BadRequestResp, - InternalErrorResp, - JsonResp, - UnprocessableResp, - CreatedJsonResp -} from '@/services/response'; +import {DataPackType, ImageHubDataPackCRDTemplate, ImageHubDataPackMeta, RepositoryMeta} from '@/mock/imagehub'; +import type {NextApiRequest, NextApiResponse} from 'next'; +import {ApplyYaml, GetClusterObject, K8sApi, ListClusterObject} from '@/services/kubernetes'; +import {CRDTemplateBuilder} from '@/services/wrapper'; +import {hashAny} from '@/utils/strings'; +import {BadRequestResp, CreatedJsonResp, InternalErrorResp, JsonResp, UnprocessableResp} from '@/services/response'; type repositoryStatus = { items: { diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/detail.module.scss b/deprecated/frontend/providers/imagehub/src/pages/detail.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/detail.module.scss rename to deprecated/frontend/providers/imagehub/src/pages/detail.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/detail.tsx b/deprecated/frontend/providers/imagehub/src/pages/detail.tsx similarity index 96% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/detail.tsx rename to deprecated/frontend/providers/imagehub/src/pages/detail.tsx index a324dc1c66bd..513d20aaa3bd 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/detail.tsx +++ b/deprecated/frontend/providers/imagehub/src/pages/detail.tsx @@ -1,15 +1,15 @@ /* eslint-disable @next/next/no-img-element */ import Iconfont from '@/components/iconfont'; import MarkDown from '@/components/markdown'; -import { formattedSize, handleImageName, TAppDetail } from '@/interfaces/imagehub'; +import {formattedSize, handleImageName, TAppDetail} from '@/interfaces/imagehub'; import request from '@/services/request'; import useSessionStore from '@/stores/session'; -import { useQuery, useQueryClient } from '@tanstack/react-query'; +import {useQuery, useQueryClient} from '@tanstack/react-query'; import clsx from 'clsx'; -import { useEffect, useRef, useState } from 'react'; +import {useEffect, useRef, useState} from 'react'; // import Button from '@/components/button'; -import { throttle } from 'lodash'; -import { useRouter } from 'next/router'; +import {throttle} from 'lodash'; +import {useRouter} from 'next/router'; import styles from './detail.module.scss'; export default function DetailPage() { diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/index.module.scss b/deprecated/frontend/providers/imagehub/src/pages/index.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/index.module.scss rename to deprecated/frontend/providers/imagehub/src/pages/index.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/index.tsx b/deprecated/frontend/providers/imagehub/src/pages/index.tsx similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/index.tsx rename to deprecated/frontend/providers/imagehub/src/pages/index.tsx diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/store.module.scss b/deprecated/frontend/providers/imagehub/src/pages/store.module.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/store.module.scss rename to deprecated/frontend/providers/imagehub/src/pages/store.module.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/store.tsx b/deprecated/frontend/providers/imagehub/src/pages/store.tsx similarity index 96% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/pages/store.tsx rename to deprecated/frontend/providers/imagehub/src/pages/store.tsx index 06666fd2ac52..cac28a13c9d4 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/pages/store.tsx +++ b/deprecated/frontend/providers/imagehub/src/pages/store.tsx @@ -1,24 +1,24 @@ /* eslint-disable @next/next/no-img-element */ import { - formattedSize, - getSelectLabels, - handleImageName, - ImagehubLabels, - TAppInfo, - TImageLabels + formattedSize, + getSelectLabels, + handleImageName, + ImagehubLabels, + TAppInfo, + TImageLabels } from '@/interfaces/imagehub'; import request from '@/services/request'; import useSessionStore from '@/stores/session'; -import { useQuery, useQueryClient } from '@tanstack/react-query'; +import {useQuery, useQueryClient} from '@tanstack/react-query'; import clsx from 'clsx'; import produce from 'immer'; -import { useState } from 'react'; +import {useState} from 'react'; import Error from '@/components/error'; import Labels from '@/components/labels'; import styles from './store.module.scss'; import Pagination from '@/components/pgination'; -import { sortBy } from 'lodash'; -import { useRouter } from 'next/router'; +import {sortBy} from 'lodash'; +import {useRouter} from 'next/router'; export default function StorePage() { const router = useRouter(); diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/services/kubernetes.ts b/deprecated/frontend/providers/imagehub/src/services/kubernetes.ts similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/services/kubernetes.ts rename to deprecated/frontend/providers/imagehub/src/services/kubernetes.ts diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/services/request.ts b/deprecated/frontend/providers/imagehub/src/services/request.ts similarity index 93% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/services/request.ts rename to deprecated/frontend/providers/imagehub/src/services/request.ts index 2423125f56df..d8395e9f05eb 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/services/request.ts +++ b/deprecated/frontend/providers/imagehub/src/services/request.ts @@ -1,8 +1,8 @@ // http.ts -import axios, { AxiosRequestConfig, AxiosRequestHeaders, AxiosResponse } from 'axios'; +import axios, {AxiosRequestConfig, AxiosRequestHeaders, AxiosResponse} from 'axios'; import useSessionStore from '@/stores/session'; -import type { ApiResp } from '@/interfaces/api'; -import { isApiResp } from '@/interfaces/api'; +import type {ApiResp} from '@/interfaces/api'; +import {isApiResp} from '@/interfaces/api'; // display status information const showStatus = (status: number) => { diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/services/response.ts b/deprecated/frontend/providers/imagehub/src/services/response.ts similarity index 94% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/services/response.ts rename to deprecated/frontend/providers/imagehub/src/services/response.ts index cdd1e80e7129..c32ab0e38c03 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/services/response.ts +++ b/deprecated/frontend/providers/imagehub/src/services/response.ts @@ -1,5 +1,5 @@ -import type { NextApiResponse } from 'next'; -import type { ApiResp } from '@/interfaces/api'; +import type {NextApiResponse} from 'next'; +import type {ApiResp} from '@/interfaces/api'; const CommonResp = ({ code, message, data }: ApiResp, resp?: NextApiResponse): Response | void => { const resp_status = code; diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/services/wrapper.ts b/deprecated/frontend/providers/imagehub/src/services/wrapper.ts similarity index 83% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/services/wrapper.ts rename to deprecated/frontend/providers/imagehub/src/services/wrapper.ts index 19201a74af7a..10008707a936 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/services/wrapper.ts +++ b/deprecated/frontend/providers/imagehub/src/services/wrapper.ts @@ -1,6 +1,6 @@ // Application controller relative -import { parse } from '@ctrl/golang-template'; +import {parse} from '@ctrl/golang-template'; // This is a wrapper for golang's application controller's apply:start command export const CRDTemplateBuilder = (template: string, params: any): string => { diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/stores/session.ts b/deprecated/frontend/providers/imagehub/src/stores/session.ts similarity index 81% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/stores/session.ts rename to deprecated/frontend/providers/imagehub/src/stores/session.ts index 99ca43a4cdd6..c63b061371fc 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/stores/session.ts +++ b/deprecated/frontend/providers/imagehub/src/stores/session.ts @@ -1,8 +1,9 @@ -import { create } from 'zustand'; -import { devtools, persist } from 'zustand/middleware'; -import { immer } from 'zustand/middleware/immer'; -import type { Session } from '@/interfaces/session'; -import { sessionKey } from '@/interfaces/session'; +import {create} from 'zustand'; +import {devtools} from 'zustand/middleware'; +import {immer} from 'zustand/middleware/immer'; +import type {Session} from '@/interfaces/session'; +import {sessionKey} from '@/interfaces/session'; + const yaml = require('js-yaml'); type SessionState = { diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/styles/globals.scss b/deprecated/frontend/providers/imagehub/src/styles/globals.scss similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/styles/globals.scss rename to deprecated/frontend/providers/imagehub/src/styles/globals.scss diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/src/utils/strings.ts b/deprecated/frontend/providers/imagehub/src/utils/strings.ts similarity index 81% rename from staging/src/github.com/labring/frontend/providers/imagehub/src/utils/strings.ts rename to deprecated/frontend/providers/imagehub/src/utils/strings.ts index 3cc1d182fa9c..7ea5778f81ad 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/src/utils/strings.ts +++ b/deprecated/frontend/providers/imagehub/src/utils/strings.ts @@ -1,4 +1,4 @@ -import { Md5 } from 'ts-md5'; +import {Md5} from 'ts-md5'; export const hashAny = (...data: any[]): string => { const json_str = JSON.stringify(data); diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/tailwind.config.js b/deprecated/frontend/providers/imagehub/tailwind.config.js similarity index 100% rename from staging/src/github.com/labring/frontend/providers/imagehub/tailwind.config.js rename to deprecated/frontend/providers/imagehub/tailwind.config.js diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/tsconfig.json b/deprecated/frontend/providers/imagehub/tsconfig.json similarity index 91% rename from staging/src/github.com/labring/frontend/providers/imagehub/tsconfig.json rename to deprecated/frontend/providers/imagehub/tsconfig.json index f2bc03096f40..bbca5ee63091 100644 --- a/staging/src/github.com/labring/frontend/providers/imagehub/tsconfig.json +++ b/deprecated/frontend/providers/imagehub/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], - "baseUrl": ".", + "baseUrl": "./", "paths": { "@/*": ["./src/*"] } diff --git a/go.work b/go.work index e2309f1b8f15..7c490b2eb23b 100644 --- a/go.work +++ b/go.work @@ -6,4 +6,6 @@ use ( ./staging/src/github.com/labring/lvscare ./webhooks/whitelist ./test/e2e + ./deprecated/controllers/db/bytebase + ./deprecated/controllers/imagehub ) diff --git a/scripts/resolve-modules.sh b/scripts/resolve-modules.sh index 5e2d3e6a483c..a72975239f3d 100755 --- a/scripts/resolve-modules.sh +++ b/scripts/resolve-modules.sh @@ -8,7 +8,7 @@ echo "Resolving modules in $(pwd)" PATHS=$(find $FIND_VAR -type f -name go.mod -printf '{"workdir":"%h"},') if [[ $FIND_VAR == "." ]]; then - PATHS=$(find $FIND_VAR ! -path './controllers/*' ! -path './webhooks/*' ! -path './service/*' -type f -name go.mod -printf '{"workdir":"%h"},') + PATHS=$(find $FIND_VAR ! -path './controllers/*' ! -path './deprecated/*' ! -path './webhooks/*' ! -path './service/*' -type f -name go.mod -printf '{"workdir":"%h"},') fi set -ex echo matrix="{\"include\":[${PATHS%?}]}" >> $GITHUB_OUTPUT diff --git a/staging/src/github.com/labring/frontend/providers/imagehub/public/logo.svg b/staging/src/github.com/labring/frontend/providers/imagehub/public/logo.svg deleted file mode 100644 index 6acf284074fc..000000000000 --- a/staging/src/github.com/labring/frontend/providers/imagehub/public/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/test/e2e/suites/checkers/cluster_single_taints.go b/test/e2e/suites/checkers/cluster_single_taints.go index b30a63f3eb3e..a88eadfaaf50 100644 --- a/test/e2e/suites/checkers/cluster_single_taints.go +++ b/test/e2e/suites/checkers/cluster_single_taints.go @@ -44,7 +44,7 @@ func (f *fakeSingleTaintsClient) Verify() error { } for _, node := range nodes.Items { for _, taint := range node.Spec.Taints { - if taint.Key == constants.LabelNodeRoleOldControlPlane { + if taint.Key == "node-role.kubernetes.io/master" { return fmt.Errorf("expect node role is master, but got %s", taint.Key) } if taint.Key == constants.LabelNodeRoleControlPlane { diff --git a/test/e2e/suites/image/imageServiceClient.go b/test/e2e/suites/image/imageServiceClient.go index d085ede65f81..81353bd74347 100644 --- a/test/e2e/suites/image/imageServiceClient.go +++ b/test/e2e/suites/image/imageServiceClient.go @@ -17,6 +17,7 @@ package image import ( "context" "fmt" + v1api "k8s.io/cri-api/pkg/apis/runtime/v1" "github.com/labring/sealos/pkg/utils/logger"