From b67fcacf87123878d1fa683c7e9def42d9c983ae Mon Sep 17 00:00:00 2001 From: Akshay Gaikwad Date: Wed, 8 Jun 2022 15:44:19 +0530 Subject: [PATCH] Rename go module name and its usage --- .github/workflows/release.yml | 8 ++-- Dockerfile | 4 +- Dockerfile.initialize | 6 +-- Makefile | 8 ++-- _kratos/development/session_main.go | 2 +- ...it_information_lookup_cluster_responses.go | 2 +- ...audit_information_lookup_user_responses.go | 2 +- ...strap_create_bootstrap_agent_parameters.go | 2 +- ...tstrap_create_bootstrap_agent_responses.go | 2 +- ...tstrap_delete_bootstrap_agent_responses.go | 2 +- ...ap_get_bootstrap_agent_config_responses.go | 2 +- ...bootstrap_get_bootstrap_agent_responses.go | 2 +- ..._get_bootstrap_agent_template_responses.go | 2 +- ...get_bootstrap_agent_templates_responses.go | 2 +- ...ootstrap_get_bootstrap_agents_responses.go | 2 +- ...bootstrap_get_bootstrap_infra_responses.go | 2 +- ...tch_bootstrap_agent_template_parameters.go | 2 +- ...atch_bootstrap_agent_template_responses.go | 2 +- ...tstrap_patch_bootstrap_infra_parameters.go | 2 +- ...otstrap_patch_bootstrap_infra_responses.go | 2 +- ...trap_register_bootstrap_agent_responses.go | 2 +- ...strap_update_bootstrap_agent_parameters.go | 2 +- ...tstrap_update_bootstrap_agent_responses.go | 2 +- ...zation_get_user_authorization_responses.go | 2 +- ..._get_kubectl_cluster_settings_responses.go | 2 +- ...ate_kubectl_cluster_settings_parameters.go | 2 +- ...date_kubectl_cluster_settings_responses.go | 2 +- .../client/sentry_bootstrap_service_client.go | 2 +- buf.gen.yaml | 4 +- buf.lock | 18 ++++---- buf.yaml | 4 +- docker-compose.yml | 12 +++--- go.mod | 2 +- internal/cluster/cluster.go | 12 +++--- internal/cluster/clusterproxy.go | 2 +- internal/cluster/conditions.go | 8 ++-- internal/cluster/constants/constants.go | 2 +- internal/cluster/dao/cluster.go | 8 ++-- .../cluster/dao/clusteroperatorbootstrap.go | 6 +-- internal/cluster/dao/clustertoken.go | 6 +-- internal/cluster/dao/projectcluster.go | 8 ++-- internal/cluster/util/labels.go | 2 +- internal/dao/bootstrap.go | 10 ++--- internal/dao/group.go | 4 +- internal/dao/kubeconfig.go | 4 +- internal/dao/lookup.go | 2 +- internal/dao/namespaces.go | 2 +- internal/dao/permission.go | 2 +- internal/dao/project.go | 4 +- internal/dao/role.go | 2 +- internal/dao/user.go | 4 +- internal/fixtures/load.go | 10 ++--- main.go | 42 +++++++++---------- master.rest | 8 ++-- pkg/audit/events.go | 4 +- pkg/auth/v3/auth.go | 6 +-- pkg/auth/v3/core.go | 8 ++-- pkg/auth/v3/interceptor.go | 8 ++-- pkg/auth/v3/middleware.go | 8 ++-- pkg/auth/v3/pool.go | 4 +- pkg/auth/v3/service.go | 2 +- pkg/controller/apply/apply.go | 8 ++-- pkg/controller/apply/apply_test.go | 4 +- pkg/controller/apply/patch.go | 4 +- pkg/controller/apply/util.go | 6 +-- pkg/controller/apply/util_test.go | 2 +- pkg/controller/client/client.go | 2 +- pkg/controller/runtime/object.go | 6 +-- pkg/controller/runtime/object_test.go | 2 +- pkg/controller/scheme/scheme.go | 2 +- pkg/controller/step/state.go | 2 +- pkg/controller/step/step.go | 12 +++--- pkg/controller/util/object.go | 2 +- pkg/controller/util/owner.go | 4 +- pkg/controller/util/patch.go | 4 +- pkg/controller/util/patch_test.go | 4 +- pkg/controller/util/step.go | 2 +- pkg/converter/import.go | 6 +-- pkg/converter/util.go | 2 +- pkg/event/queue.go | 2 +- pkg/gateway/httpbody.go | 2 +- pkg/gateway/json_test.go | 4 +- pkg/gateway/testdata/gateway_test.go | 4 +- pkg/gateway/yaml_test.go | 4 +- pkg/leaderelection/election.go | 2 +- pkg/match/match.go | 4 +- pkg/notify/notify.go | 12 +++--- pkg/patch/status.go | 6 +-- pkg/query/options.go | 4 +- pkg/query/selector.go | 2 +- .../cluster_conditions_reconciler.go | 6 +-- pkg/reconcile/cluster_handler.go | 10 ++--- pkg/reconcile/cluster_reconciler.go | 10 ++--- pkg/reconcile/utils.go | 2 +- pkg/sentry/authz/authz.go | 20 ++++----- pkg/sentry/kubeconfig/kubeconfig.go | 20 ++++----- pkg/sentry/peering/peering.go | 14 +++---- pkg/sentry/register/register.go | 16 +++---- pkg/service/account_permission.go | 6 +-- pkg/service/apikey.go | 8 ++-- pkg/service/audit_log_query.go | 2 +- pkg/service/audit_utils.go | 10 ++--- pkg/service/authz.go | 6 +-- pkg/service/bootstrap.go | 14 +++---- pkg/service/cluster.go | 30 ++++++------- pkg/service/cluster_test.go | 10 ++--- pkg/service/group.go | 16 +++---- pkg/service/group_permission.go | 6 +-- pkg/service/group_test.go | 8 ++-- pkg/service/idp.go | 8 ++-- pkg/service/kubeconfig_revocation.go | 8 ++-- pkg/service/kubeconfig_settings.go | 8 ++-- pkg/service/kubectl_cluster_setting.go | 8 ++-- pkg/service/metro.go | 8 ++-- pkg/service/metro_test.go | 4 +- pkg/service/mocks.go | 2 +- pkg/service/namespace.go | 4 +- pkg/service/oidc_provider.go | 8 ++-- pkg/service/organization.go | 8 ++-- pkg/service/organization_test.go | 4 +- pkg/service/partner.go | 8 ++-- pkg/service/partner_test.go | 4 +- pkg/service/project.go | 10 ++--- pkg/service/project_test.go | 4 +- pkg/service/relay_audit_query.go | 2 +- pkg/service/role.go | 12 +++--- pkg/service/role_test.go | 6 +-- pkg/service/rolepermission.go | 12 +++--- pkg/service/rolepermission_test.go | 6 +-- pkg/service/test_utils.go | 2 +- pkg/service/user.go | 20 ++++----- pkg/service/user_test.go | 10 ++--- pkg/service/utils.go | 6 +-- pkg/sso/saml/middleware.go | 4 +- proto/rpc/audit/auditlog.pb.go | 2 +- proto/rpc/audit/relayaudit.pb.go | 2 +- proto/rpc/role/role.pb.go | 2 +- proto/rpc/role/role.pb.gw.go | 2 +- proto/rpc/role/role_grpc.pb.go | 2 +- proto/rpc/role/rolepermission.pb.go | 4 +- proto/rpc/role/rolepermission.pb.gw.go | 2 +- proto/rpc/role/rolepermission_grpc.pb.go | 4 +- proto/rpc/scheduler/cluster.pb.go | 4 +- proto/rpc/scheduler/cluster.pb.gw.go | 4 +- proto/rpc/scheduler/cluster_grpc.pb.go | 4 +- proto/rpc/scheduler/internal.go | 2 +- proto/rpc/sentry/audit_info.pb.go | 4 +- proto/rpc/sentry/bootstrap.pb.go | 4 +- proto/rpc/sentry/bootstrap.pb.gw.go | 4 +- proto/rpc/sentry/bootstrap_grpc.pb.go | 4 +- proto/rpc/sentry/cluster_authz.pb.go | 6 +-- proto/rpc/sentry/internal.go | 4 +- proto/rpc/sentry/kubeconfig.pb.go | 4 +- proto/rpc/sentry/kubeconfig_grpc.pb.go | 2 +- proto/rpc/sentry/kubectl_cluster.pb.go | 4 +- proto/rpc/system/idp.pb.go | 2 +- proto/rpc/system/idp.pb.gw.go | 2 +- proto/rpc/system/idp_grpc.pb.go | 2 +- proto/rpc/system/internal.go | 2 +- proto/rpc/system/metro.pb.go | 2 +- proto/rpc/system/metro.pb.gw.go | 2 +- proto/rpc/system/metro_grpc.pb.go | 2 +- proto/rpc/system/oidc_provider.pb.go | 2 +- proto/rpc/system/oidc_provider.pb.gw.go | 2 +- proto/rpc/system/oidc_provider_grpc.pb.go | 2 +- proto/rpc/system/organization.pb.go | 2 +- proto/rpc/system/organization.pb.gw.go | 2 +- proto/rpc/system/organization_grpc.pb.go | 2 +- proto/rpc/system/partner.pb.go | 2 +- proto/rpc/system/partner.pb.gw.go | 2 +- proto/rpc/system/partner_grpc.pb.go | 2 +- proto/rpc/system/project.pb.go | 2 +- proto/rpc/system/project.pb.gw.go | 2 +- proto/rpc/system/project_grpc.pb.go | 2 +- proto/rpc/user/group.pb.go | 4 +- proto/rpc/user/group.pb.gw.go | 4 +- proto/rpc/user/group_grpc.pb.go | 4 +- proto/rpc/user/internal.go | 2 +- proto/rpc/user/user.pb.go | 4 +- proto/rpc/user/user.pb.gw.go | 4 +- proto/rpc/user/user_grpc.pb.go | 4 +- proto/rpc/v3/auth.pb.go | 2 +- proto/rpc/v3/auth_grpc.pb.go | 2 +- proto/types/infrapb/v3/cluster.pb.go | 2 +- proto/types/rolepb/v3/role.pb.go | 2 +- proto/types/rolepb/v3/rolepermission.pb.go | 2 +- proto/types/scheduler/namespace.pb.go | 4 +- proto/types/sentry/sentry.pb.go | 2 +- proto/types/systempb/v3/idp.pb.go | 2 +- proto/types/systempb/v3/oidc_provider.pb.go | 2 +- proto/types/systempb/v3/organization.pb.go | 2 +- proto/types/systempb/v3/partner.pb.go | 2 +- proto/types/systempb/v3/project.pb.go | 4 +- proto/types/userpb/v3/group.pb.go | 4 +- proto/types/userpb/v3/user.pb.go | 4 +- scripts/initialize/main.go | 22 +++++----- server/audit_info.go | 8 ++-- server/auditlog.go | 4 +- server/auth.go | 6 +-- server/bootstrap.go | 20 ++++----- server/cluster.go | 16 +++---- server/cluster_authz.go | 6 +-- server/group.go | 12 +++--- server/idp.go | 6 +-- server/kubeconfig.go | 18 ++++---- server/kubectl_cluster_settings.go | 10 ++--- server/metro.go | 6 +-- server/oidc_provider.go | 6 +-- server/organization.go | 8 ++-- server/partner.go | 8 ++-- server/project.go | 8 ++-- server/relayaudit.go | 6 +-- server/relaypeerclient.go | 2 +- server/relaypeerservice.go | 4 +- server/role.go | 8 ++-- server/rolepermission.go | 10 ++--- server/user.go | 10 ++--- server/utils.go | 2 +- 218 files changed, 594 insertions(+), 594 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 139c8ce..953c7c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,7 +62,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: Extract metadata (tags, labels) for Docker (rcloud-base-init) + - name: Extract metadata (tags, labels) for Docker (paralus-init) id: meta-init uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: @@ -73,7 +73,7 @@ jobs: type=ref,event=pr type=sha - - name: Build and push Docker image (rcloud-base-init) + - name: Build and push Docker image (paralus-init) uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . @@ -82,7 +82,7 @@ jobs: tags: ${{ steps.meta-init.outputs.tags }} labels: ${{ steps.meta-init.outputs.labels }} - - name: Extract metadata (tags, labels) for Docker (rcloud-base-sync) + - name: Extract metadata (tags, labels) for Docker (kratos-sync) id: meta-sync uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: @@ -93,7 +93,7 @@ jobs: type=ref,event=pr type=sha - - name: Build and push Docker image (rcloud-base-sync) + - name: Build and push Docker image (kratos-sync) uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . diff --git a/Dockerfile b/Dockerfile index 43b6159..4f87003 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,12 +8,12 @@ COPY go.sum . RUN go mod download COPY . . -RUN go build github.com/RafayLabs/rcloud-base +RUN go build github.com/paralus/paralus FROM alpine:latest as runtime LABEL description="Run container" -COPY --from=build /build/rcloud-base /usr/bin/rcloud-base +COPY --from=build /build/paralus /usr/bin/paralus WORKDIR /usr/bin # Copying data for running migrations # TODO: Support rcloud-base binary to run migrations diff --git a/Dockerfile.initialize b/Dockerfile.initialize index f366e16..49a10d1 100644 --- a/Dockerfile.initialize +++ b/Dockerfile.initialize @@ -4,12 +4,12 @@ LABEL description="Build container" ENV CGO_ENABLED 0 COPY . /build WORKDIR /build -RUN go build -o rcloud-init scripts/initialize/main.go +RUN go build -o paralus-init scripts/initialize/main.go FROM alpine:latest as runtime LABEL description="Run container" WORKDIR /usr/bin -COPY --from=build /build/rcloud-init /usr/bin/rcloud-init +COPY --from=build /build/paralus-init /usr/bin/paralus-init COPY --from=build /build/scripts/initialize/ /usr/bin/scripts/initialize/ -ENTRYPOINT ["./rcloud-init"] +ENTRYPOINT ["./paralus-init"] diff --git a/Makefile b/Makefile index a79dfcc..d3b8d2a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: tidy tidy: - GOPRIVATE=github.com/RafayLabs/* go mod tidy + GOPRIVATE=github.com/paralus/* go mod tidy .PHONY: vendor vendor: go mod vendor @@ -16,13 +16,13 @@ gen-proto: .PHONY: test test: go test ./... - + .PHONY: check check: go fmt ./... - + go vet ./... - + .PHONY: clean clean: rm -rf ./**/gen diff --git a/_kratos/development/session_main.go b/_kratos/development/session_main.go index 4a4c09a..b3ea2ed 100644 --- a/_kratos/development/session_main.go +++ b/_kratos/development/session_main.go @@ -3,7 +3,7 @@ package main import ( "time" - "github.com/RafayLabs/rcloud-base/_kratos/development/pkg" + "github.com/paralus/paralus/_kratos/development/pkg" ory "github.com/ory/kratos-client-go" ) diff --git a/api/def/clients/sentry/client/audit_information/audit_information_lookup_cluster_responses.go b/api/def/clients/sentry/client/audit_information/audit_information_lookup_cluster_responses.go index 3e1fe41..4e6b56e 100644 --- a/api/def/clients/sentry/client/audit_information/audit_information_lookup_cluster_responses.go +++ b/api/def/clients/sentry/client/audit_information/audit_information_lookup_cluster_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // AuditInformationLookupClusterReader is a Reader for the AuditInformationLookupCluster structure. diff --git a/api/def/clients/sentry/client/audit_information/audit_information_lookup_user_responses.go b/api/def/clients/sentry/client/audit_information/audit_information_lookup_user_responses.go index 1b13eab..1bee808 100644 --- a/api/def/clients/sentry/client/audit_information/audit_information_lookup_user_responses.go +++ b/api/def/clients/sentry/client/audit_information/audit_information_lookup_user_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // AuditInformationLookupUserReader is a Reader for the AuditInformationLookupUser structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_parameters.go b/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_parameters.go index 75cc859..ca96635 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_parameters.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // NewBootstrapCreateBootstrapAgentParams creates a new BootstrapCreateBootstrapAgentParams object, diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_responses.go index 4a357f3..aac055c 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_create_bootstrap_agent_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapCreateBootstrapAgentReader is a Reader for the BootstrapCreateBootstrapAgent structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_delete_bootstrap_agent_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_delete_bootstrap_agent_responses.go index 93e1136..a8482a4 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_delete_bootstrap_agent_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_delete_bootstrap_agent_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapDeleteBootstrapAgentReader is a Reader for the BootstrapDeleteBootstrapAgent structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_config_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_config_responses.go index 862e93a..72fd490 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_config_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_config_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapGetBootstrapAgentConfigReader is a Reader for the BootstrapGetBootstrapAgentConfig structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_responses.go index 6759acc..c94fa09 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapGetBootstrapAgentReader is a Reader for the BootstrapGetBootstrapAgent structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_template_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_template_responses.go index 048a0d2..7428b69 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_template_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_template_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapGetBootstrapAgentTemplateReader is a Reader for the BootstrapGetBootstrapAgentTemplate structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_templates_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_templates_responses.go index a47b1ba..a284cc2 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_templates_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agent_templates_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapGetBootstrapAgentTemplatesReader is a Reader for the BootstrapGetBootstrapAgentTemplates structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agents_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agents_responses.go index 3a20fab..5ffe018 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agents_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_agents_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapGetBootstrapAgentsReader is a Reader for the BootstrapGetBootstrapAgents structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_infra_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_infra_responses.go index 2fca3f6..086f7fd 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_infra_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_get_bootstrap_infra_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapGetBootstrapInfraReader is a Reader for the BootstrapGetBootstrapInfra structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_parameters.go b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_parameters.go index 6164f1e..e50b9ee 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_parameters.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // NewBootstrapPatchBootstrapAgentTemplateParams creates a new BootstrapPatchBootstrapAgentTemplateParams object, diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_responses.go index 7bb5955..1f1b024 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_agent_template_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapPatchBootstrapAgentTemplateReader is a Reader for the BootstrapPatchBootstrapAgentTemplate structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_parameters.go b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_parameters.go index d023797..c1a3684 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_parameters.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // NewBootstrapPatchBootstrapInfraParams creates a new BootstrapPatchBootstrapInfraParams object, diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_responses.go index a007505..cc10274 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_patch_bootstrap_infra_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapPatchBootstrapInfraReader is a Reader for the BootstrapPatchBootstrapInfra structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_register_bootstrap_agent_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_register_bootstrap_agent_responses.go index 3608c20..068da98 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_register_bootstrap_agent_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_register_bootstrap_agent_responses.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/strfmt" "github.com/go-openapi/swag" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapRegisterBootstrapAgentReader is a Reader for the BootstrapRegisterBootstrapAgent structure. diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_parameters.go b/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_parameters.go index 41e8f0a..897cd3f 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_parameters.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // NewBootstrapUpdateBootstrapAgentParams creates a new BootstrapUpdateBootstrapAgentParams object, diff --git a/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_responses.go b/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_responses.go index bbb991b..9c9b439 100644 --- a/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_responses.go +++ b/api/def/clients/sentry/client/bootstrap/bootstrap_update_bootstrap_agent_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // BootstrapUpdateBootstrapAgentReader is a Reader for the BootstrapUpdateBootstrapAgent structure. diff --git a/api/def/clients/sentry/client/cluster_authorization/cluster_authorization_get_user_authorization_responses.go b/api/def/clients/sentry/client/cluster_authorization/cluster_authorization_get_user_authorization_responses.go index c51ae10..30909ae 100644 --- a/api/def/clients/sentry/client/cluster_authorization/cluster_authorization_get_user_authorization_responses.go +++ b/api/def/clients/sentry/client/cluster_authorization/cluster_authorization_get_user_authorization_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // ClusterAuthorizationGetUserAuthorizationReader is a Reader for the ClusterAuthorizationGetUserAuthorization structure. diff --git a/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_get_kubectl_cluster_settings_responses.go b/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_get_kubectl_cluster_settings_responses.go index 6ebbaeb..2096504 100644 --- a/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_get_kubectl_cluster_settings_responses.go +++ b/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_get_kubectl_cluster_settings_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // KubectlClusterSettingsGetKubectlClusterSettingsReader is a Reader for the KubectlClusterSettingsGetKubectlClusterSettings structure. diff --git a/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_parameters.go b/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_parameters.go index ea45d94..e873a97 100644 --- a/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_parameters.go +++ b/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_parameters.go @@ -15,7 +15,7 @@ import ( cr "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // NewKubectlClusterSettingsUpdateKubectlClusterSettingsParams creates a new KubectlClusterSettingsUpdateKubectlClusterSettingsParams object, diff --git a/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_responses.go b/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_responses.go index 4258529..a3ad0b5 100644 --- a/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_responses.go +++ b/api/def/clients/sentry/client/kubectl_cluster_settings/kubectl_cluster_settings_update_kubectl_cluster_settings_responses.go @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/models" + "github.com/paralus/paralus/api/def/clients/sentry/models" ) // KubectlClusterSettingsUpdateKubectlClusterSettingsReader is a Reader for the KubectlClusterSettingsUpdateKubectlClusterSettings structure. diff --git a/api/def/clients/sentry/client/sentry_bootstrap_service_client.go b/api/def/clients/sentry/client/sentry_bootstrap_service_client.go index 3ad01ed..f443193 100644 --- a/api/def/clients/sentry/client/sentry_bootstrap_service_client.go +++ b/api/def/clients/sentry/client/sentry_bootstrap_service_client.go @@ -10,7 +10,7 @@ import ( httptransport "github.com/go-openapi/runtime/client" "github.com/go-openapi/strfmt" - "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/client/bootstrap" + "github.com/paralus/paralus/api/def/clients/sentry/client/bootstrap" ) // Default sentry bootstrap service HTTP client. diff --git a/buf.gen.yaml b/buf.gen.yaml index 359f9cc..09fa45b 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -2,12 +2,12 @@ version: v1 managed: enabled: true go_package_prefix: - default: github.com/RafayLabs/rcloud-base + default: github.com/paralus/paralus except: - buf.build/googleapis/googleapis - buf.build/grpc-ecosystem/grpc-gateway - buf.build/gogo/protobuf - - buf.build/rafay/k8s + - buf.build/paralus/k8s plugins: - name: go out: . diff --git a/buf.lock b/buf.lock index 439cdf1..f9d7b63 100644 --- a/buf.lock +++ b/buf.lock @@ -5,20 +5,20 @@ deps: owner: googleapis repository: googleapis branch: main - commit: bcdcd1dee95c4277b2edbae6c21332a2 - digest: b1-QAdxfRqCgCBZPaGaRiY8Ms_jKvwZrONQXfaOSvL2lB8= - create_time: 2022-02-26T15:04:31.725057Z + commit: c8fa45ea6c1248769dbbcb53e49d8ee4 + digest: b1-_uLy2wpZAWZAxd2_vn_b7Mnf6hg1G7ib5M1flA-oLs4= + create_time: 2022-06-07T15:06:56.944952Z - remote: buf.build owner: grpc-ecosystem repository: grpc-gateway branch: main - commit: ff83506eb9cc4cf8972f49ce87e6ed3e - digest: b1-iLPHgLaoeWWinMiXXqPnxqE4BThtY3eSbswVGh9GOGI= - create_time: 2021-10-23T16:26:52.283938Z + commit: 00116f302b12478b85deb33b734e026c + digest: b1-iUfkmqGjUB1hlbTkiPKUUeVcFd9pAJ_qRn2oJ4nYpls= + create_time: 2022-05-23T22:50:17.0393Z - remote: buf.build - owner: rafay + owner: paralus repository: k8s branch: main - commit: b96f66eb56bc4f279431f4b2187a2fee + commit: 6d45aa151ee44c47933787fb5fdebc71 digest: b1-U7KVig2Fgpf6eRczjqxrYFa3p6HLqgtEy5QJAOVB8BI= - create_time: 2022-02-09T08:44:35.431677Z + create_time: 2022-06-07T13:30:44.2613Z diff --git a/buf.yaml b/buf.yaml index f8b9d62..9e7e586 100644 --- a/buf.yaml +++ b/buf.yaml @@ -1,9 +1,9 @@ version: v1 -name: buf.build/rafay/common +name: buf.build/paralus/paralus deps: - buf.build/googleapis/googleapis - buf.build/grpc-ecosystem/grpc-gateway - - buf.build/rafay/k8s + - buf.build/paralus/k8s breaking: use: - FILE diff --git a/docker-compose.yml b/docker-compose.yml index c9467c5..f8d9670 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,11 +3,11 @@ version: '3.7' services: postgresd: image: postgres:13.4 - container_name: rcloud_postgres_13 + container_name: paralus_postgres_13 ports: - "$DB_PORT:$DB_PORT" volumes: - - rcloud_db_data:/var/lib/postgresql/data + - paralus_db_data:/var/lib/postgresql/data environment: POSTGRES_USER: $DB_USER POSTGRES_DB: $DB_NAME @@ -15,11 +15,11 @@ services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:8.0.0 - container_name: rcloud_elasticsearch_8 + container_name: paralus_elasticsearch_8 ports: - '${ES_PORT:-9200}:9200' volumes: - - rcloud_es_data:/usr/share/elasticsearch/data + - paralus_es_data:/usr/share/elasticsearch/data environment: - discovery.type=single-node - xpack.security.enabled=false # disable auth for local dev @@ -70,5 +70,5 @@ services: - '4437:4437' volumes: - rcloud_db_data: - rcloud_es_data: + paralus_db_data: + paralus_es_data: diff --git a/go.mod b/go.mod index ba51685..99d2f04 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/RafayLabs/rcloud-base +module github.com/paralus/paralus go 1.17 diff --git a/internal/cluster/cluster.go b/internal/cluster/cluster.go index 2aeac4b..6f1d602 100644 --- a/internal/cluster/cluster.go +++ b/internal/cluster/cluster.go @@ -8,12 +8,12 @@ import ( "regexp" "strings" - "github.com/RafayLabs/rcloud-base/internal/cluster/constants" - "github.com/RafayLabs/rcloud-base/internal/cluster/fixtures" - "github.com/RafayLabs/rcloud-base/internal/cluster/util" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/log" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/internal/cluster/constants" + "github.com/paralus/paralus/internal/cluster/fixtures" + "github.com/paralus/paralus/internal/cluster/util" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/log" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" ) var _log = log.GetLogger() diff --git a/internal/cluster/clusterproxy.go b/internal/cluster/clusterproxy.go index 3ff60bc..31f19e6 100644 --- a/internal/cluster/clusterproxy.go +++ b/internal/cluster/clusterproxy.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" ) const ( diff --git a/internal/cluster/conditions.go b/internal/cluster/conditions.go index fc18207..5162582 100644 --- a/internal/cluster/conditions.go +++ b/internal/cluster/conditions.go @@ -3,10 +3,10 @@ package cluster import ( "time" - "github.com/RafayLabs/rcloud-base/internal/cluster/constants" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/scheduler" + "github.com/paralus/paralus/internal/cluster/constants" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" + "github.com/paralus/paralus/proto/types/scheduler" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/cluster/constants/constants.go b/internal/cluster/constants/constants.go index f68323e..fafd348 100644 --- a/internal/cluster/constants/constants.go +++ b/internal/cluster/constants/constants.go @@ -3,7 +3,7 @@ package constants import ( "regexp" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" ) type ClusterGeneration int diff --git a/internal/cluster/dao/cluster.go b/internal/cluster/dao/cluster.go index 500720b..83558d5 100644 --- a/internal/cluster/dao/cluster.go +++ b/internal/cluster/dao/cluster.go @@ -5,10 +5,10 @@ import ( "strings" "time" - "github.com/RafayLabs/rcloud-base/internal/cluster/constants" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/internal/cluster/constants" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/cluster/dao/clusteroperatorbootstrap.go b/internal/cluster/dao/clusteroperatorbootstrap.go index e5d6e04..29c0822 100644 --- a/internal/cluster/dao/clusteroperatorbootstrap.go +++ b/internal/cluster/dao/clusteroperatorbootstrap.go @@ -3,9 +3,9 @@ package dao import ( "context" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/log" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/log" "github.com/uptrace/bun" ) diff --git a/internal/cluster/dao/clustertoken.go b/internal/cluster/dao/clustertoken.go index 31396e5..0caecf1 100644 --- a/internal/cluster/dao/clustertoken.go +++ b/internal/cluster/dao/clustertoken.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" "github.com/rs/xid" "github.com/uptrace/bun" ) diff --git a/internal/cluster/dao/projectcluster.go b/internal/cluster/dao/projectcluster.go index 98a08f7..ffe6770 100644 --- a/internal/cluster/dao/projectcluster.go +++ b/internal/cluster/dao/projectcluster.go @@ -3,10 +3,10 @@ package dao import ( "context" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/cluster/util/labels.go b/internal/cluster/util/labels.go index 77b707f..1759780 100644 --- a/internal/cluster/util/labels.go +++ b/internal/cluster/util/labels.go @@ -5,7 +5,7 @@ import ( "regexp" "strings" - "github.com/RafayLabs/rcloud-base/internal/cluster/constants" + "github.com/paralus/paralus/internal/cluster/constants" ) func IsValidKubernetesLabelNameValueRegex(input string) bool { diff --git a/internal/dao/bootstrap.go b/internal/dao/bootstrap.go index c74e078..c49f320 100644 --- a/internal/dao/bootstrap.go +++ b/internal/dao/bootstrap.go @@ -6,11 +6,11 @@ import ( "fmt" "time" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/internal/random" - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/internal/random" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/group.go b/internal/dao/group.go index 362aab8..a384de2 100644 --- a/internal/dao/group.go +++ b/internal/dao/group.go @@ -3,8 +3,8 @@ package dao import ( "context" - "github.com/RafayLabs/rcloud-base/internal/models" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/internal/models" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/kubeconfig.go b/internal/dao/kubeconfig.go index 7a3f570..ceb068e 100644 --- a/internal/dao/kubeconfig.go +++ b/internal/dao/kubeconfig.go @@ -4,8 +4,8 @@ import ( "context" "time" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/lookup.go b/internal/dao/lookup.go index 35286c9..584b8b8 100644 --- a/internal/dao/lookup.go +++ b/internal/dao/lookup.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/RafayLabs/rcloud-base/internal/models" + "github.com/paralus/paralus/internal/models" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/namespaces.go b/internal/dao/namespaces.go index f0be62d..062b99e 100644 --- a/internal/dao/namespaces.go +++ b/internal/dao/namespaces.go @@ -4,7 +4,7 @@ import ( "context" "database/sql" - "github.com/RafayLabs/rcloud-base/internal/models" + "github.com/paralus/paralus/internal/models" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/permission.go b/internal/dao/permission.go index 5acc0c6..b72033d 100644 --- a/internal/dao/permission.go +++ b/internal/dao/permission.go @@ -3,7 +3,7 @@ package dao import ( "context" - "github.com/RafayLabs/rcloud-base/internal/models" + "github.com/paralus/paralus/internal/models" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/project.go b/internal/dao/project.go index 1d36e43..be0f309 100644 --- a/internal/dao/project.go +++ b/internal/dao/project.go @@ -3,8 +3,8 @@ package dao import ( "context" - "github.com/RafayLabs/rcloud-base/internal/models" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/internal/models" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/role.go b/internal/dao/role.go index 6b66d85..31218c5 100644 --- a/internal/dao/role.go +++ b/internal/dao/role.go @@ -4,7 +4,7 @@ import ( "context" "strings" - "github.com/RafayLabs/rcloud-base/internal/models" + "github.com/paralus/paralus/internal/models" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/dao/user.go b/internal/dao/user.go index 77bb38e..d430f70 100644 --- a/internal/dao/user.go +++ b/internal/dao/user.go @@ -4,8 +4,8 @@ import ( "context" "database/sql" - "github.com/RafayLabs/rcloud-base/internal/models" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/internal/models" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/internal/fixtures/load.go b/internal/fixtures/load.go index a59d646..673b97b 100644 --- a/internal/fixtures/load.go +++ b/internal/fixtures/load.go @@ -9,14 +9,14 @@ import ( "crypto/x509/pkix" - "github.com/RafayLabs/rcloud-base/pkg/sentry/cryptoutil" - "github.com/RafayLabs/rcloud-base/pkg/service" + "github.com/paralus/paralus/pkg/sentry/cryptoutil" + "github.com/paralus/paralus/pkg/service" "github.com/rs/xid" "sigs.k8s.io/yaml" - "github.com/RafayLabs/rcloud-base/pkg/log" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - sentry "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/pkg/log" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + sentry "github.com/paralus/paralus/proto/types/sentry" "github.com/shurcooL/httpfs/vfsutil" ) diff --git a/main.go b/main.go index 1830e72..b6a5855 100644 --- a/main.go +++ b/main.go @@ -12,27 +12,27 @@ import ( "sync" "time" - "github.com/RafayLabs/rcloud-base/internal/fixtures" - providers "github.com/RafayLabs/rcloud-base/internal/provider/kratos" - "github.com/RafayLabs/rcloud-base/pkg/audit" - authv3 "github.com/RafayLabs/rcloud-base/pkg/auth/v3" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/enforcer" - "github.com/RafayLabs/rcloud-base/pkg/gateway" - "github.com/RafayLabs/rcloud-base/pkg/grpc" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/notify" - "github.com/RafayLabs/rcloud-base/pkg/reconcile" - "github.com/RafayLabs/rcloud-base/pkg/sentry/peering" - "github.com/RafayLabs/rcloud-base/pkg/service" - auditrpc "github.com/RafayLabs/rcloud-base/proto/rpc/audit" - rolerpc "github.com/RafayLabs/rcloud-base/proto/rpc/role" - schedulerrpc "github.com/RafayLabs/rcloud-base/proto/rpc/scheduler" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - systemrpc "github.com/RafayLabs/rcloud-base/proto/rpc/system" - userrpc "github.com/RafayLabs/rcloud-base/proto/rpc/user" - authrpc "github.com/RafayLabs/rcloud-base/proto/rpc/v3" - "github.com/RafayLabs/rcloud-base/server" + "github.com/paralus/paralus/internal/fixtures" + providers "github.com/paralus/paralus/internal/provider/kratos" + "github.com/paralus/paralus/pkg/audit" + authv3 "github.com/paralus/paralus/pkg/auth/v3" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/enforcer" + "github.com/paralus/paralus/pkg/gateway" + "github.com/paralus/paralus/pkg/grpc" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/notify" + "github.com/paralus/paralus/pkg/reconcile" + "github.com/paralus/paralus/pkg/sentry/peering" + "github.com/paralus/paralus/pkg/service" + auditrpc "github.com/paralus/paralus/proto/rpc/audit" + rolerpc "github.com/paralus/paralus/proto/rpc/role" + schedulerrpc "github.com/paralus/paralus/proto/rpc/scheduler" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + systemrpc "github.com/paralus/paralus/proto/rpc/system" + userrpc "github.com/paralus/paralus/proto/rpc/user" + authrpc "github.com/paralus/paralus/proto/rpc/v3" + "github.com/paralus/paralus/server" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" kclient "github.com/ory/kratos-client-go" "github.com/spf13/viper" diff --git a/master.rest b/master.rest index 3a7f2e5..921c714 100644 --- a/master.rest +++ b/master.rest @@ -228,9 +228,9 @@ metadata: name: :cluster description: this is a test cluster labels: - rafay.dev/clusterLocation: coimbatore-hq - rafay.dev/clusterName: testcluster - rafay.dev/clusterType: imported + paralus.dev/clusterLocation: coimbatore-hq + paralus.dev/clusterName: testcluster + paralus.dev/clusterType: imported project: myproject organization: finmanorg partner: finman @@ -241,7 +241,7 @@ spec: city: :city state: :state country: :country - overrideSelector: rafay.dev/overrideCluster=dummycluster + overrideSelector: paralus.dev/overrideCluster=dummycluster proxyConfig: httpProxy: http:localhost:8080/proxy diff --git a/pkg/audit/events.go b/pkg/audit/events.go index 7aac219..c4732c5 100644 --- a/pkg/audit/events.go +++ b/pkg/audit/events.go @@ -7,8 +7,8 @@ import ( "strings" "time" - logv2 "github.com/RafayLabs/rcloud-base/pkg/log" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + logv2 "github.com/paralus/paralus/pkg/log" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "go.uber.org/zap" "google.golang.org/grpc/metadata" ) diff --git a/pkg/auth/v3/auth.go b/pkg/auth/v3/auth.go index be0ec6e..f025fcb 100644 --- a/pkg/auth/v3/auth.go +++ b/pkg/auth/v3/auth.go @@ -5,9 +5,9 @@ import ( "fmt" "os" - "github.com/RafayLabs/rcloud-base/pkg/enforcer" - logv2 "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/service" + "github.com/paralus/paralus/pkg/enforcer" + logv2 "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/service" kclient "github.com/ory/kratos-client-go" "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/auth/v3/core.go b/pkg/auth/v3/core.go index 8d5f194..320f35e 100644 --- a/pkg/auth/v3/core.go +++ b/pkg/auth/v3/core.go @@ -7,10 +7,10 @@ import ( "errors" "strings" - "github.com/RafayLabs/rcloud-base/internal/dao" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/user" - authzv1 "github.com/RafayLabs/rcloud-base/proto/types/authz" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/internal/dao" + rpcv3 "github.com/paralus/paralus/proto/rpc/user" + authzv1 "github.com/paralus/paralus/proto/types/authz" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/google/uuid" ) diff --git a/pkg/auth/v3/interceptor.go b/pkg/auth/v3/interceptor.go index 35ba58f..fa547d2 100644 --- a/pkg/auth/v3/interceptor.go +++ b/pkg/auth/v3/interceptor.go @@ -4,10 +4,10 @@ import ( context "context" "strings" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/gateway" - "github.com/RafayLabs/rcloud-base/pkg/utils" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/gateway" + "github.com/paralus/paralus/pkg/utils" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/pkg/auth/v3/middleware.go b/pkg/auth/v3/middleware.go index 1d5ddf9..cbc65c7 100644 --- a/pkg/auth/v3/middleware.go +++ b/pkg/auth/v3/middleware.go @@ -7,10 +7,10 @@ import ( "regexp" "strings" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/pkg/common" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/v3" - commonpbv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/pkg/common" + rpcv3 "github.com/paralus/paralus/proto/rpc/v3" + commonpbv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/uptrace/bun" "github.com/uptrace/bun/dialect/pgdialect" "github.com/uptrace/bun/driver/pgdriver" diff --git a/pkg/auth/v3/pool.go b/pkg/auth/v3/pool.go index f29cae6..61dbeab 100644 --- a/pkg/auth/v3/pool.go +++ b/pkg/auth/v3/pool.go @@ -1,8 +1,8 @@ package authv3 import ( - "github.com/RafayLabs/rcloud-base/pkg/pool" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/v3" + "github.com/paralus/paralus/pkg/pool" + rpcv3 "github.com/paralus/paralus/proto/rpc/v3" "context" diff --git a/pkg/auth/v3/service.go b/pkg/auth/v3/service.go index b49993a..4b9de04 100644 --- a/pkg/auth/v3/service.go +++ b/pkg/auth/v3/service.go @@ -3,7 +3,7 @@ package authv3 import ( "context" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" ) type authService struct { diff --git a/pkg/controller/apply/apply.go b/pkg/controller/apply/apply.go index 44d0caa..5c14b56 100644 --- a/pkg/controller/apply/apply.go +++ b/pkg/controller/apply/apply.go @@ -7,10 +7,10 @@ import ( "strings" "time" - "github.com/RafayLabs/rcloud-base/pkg/controller/client" - scheme "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" - "github.com/RafayLabs/rcloud-base/pkg/controller/util" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + "github.com/paralus/paralus/pkg/controller/client" + scheme "github.com/paralus/paralus/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/util" + clusterv2 "github.com/paralus/paralus/proto/types/controller" apixv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1" apierrs "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" diff --git a/pkg/controller/apply/apply_test.go b/pkg/controller/apply/apply_test.go index e1c8fb1..449c8a0 100644 --- a/pkg/controller/apply/apply_test.go +++ b/pkg/controller/apply/apply_test.go @@ -12,8 +12,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ctrlclient "sigs.k8s.io/controller-runtime/pkg/client" - cruntime "github.com/RafayLabs/rcloud-base/pkg/controller/runtime" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + cruntime "github.com/paralus/paralus/pkg/controller/runtime" + clusterv2 "github.com/paralus/paralus/proto/types/controller" "sigs.k8s.io/yaml" ) diff --git a/pkg/controller/apply/patch.go b/pkg/controller/apply/patch.go index 656ce07..aa39825 100644 --- a/pkg/controller/apply/patch.go +++ b/pkg/controller/apply/patch.go @@ -4,8 +4,8 @@ import ( "bytes" "fmt" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" - "github.com/RafayLabs/rcloud-base/pkg/controller/util" + "github.com/paralus/paralus/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/util" sp "k8s.io/apimachinery/pkg/util/strategicpatch" "k8s.io/apimachinery/pkg/types" diff --git a/pkg/controller/apply/util.go b/pkg/controller/apply/util.go index 23231d3..9a64685 100644 --- a/pkg/controller/apply/util.go +++ b/pkg/controller/apply/util.go @@ -7,12 +7,12 @@ import ( v1 "k8s.io/api/core/v1" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + "github.com/paralus/paralus/pkg/controller/scheme" + clusterv2 "github.com/paralus/paralus/proto/types/controller" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - cruntime "github.com/RafayLabs/rcloud-base/pkg/controller/runtime" + cruntime "github.com/paralus/paralus/pkg/controller/runtime" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/pkg/controller/apply/util_test.go b/pkg/controller/apply/util_test.go index 436c4d2..982b4f5 100644 --- a/pkg/controller/apply/util_test.go +++ b/pkg/controller/apply/util_test.go @@ -3,7 +3,7 @@ package apply import ( "testing" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + clusterv2 "github.com/paralus/paralus/proto/types/controller" ) func TestGetGVK(t *testing.T) { diff --git a/pkg/controller/client/client.go b/pkg/controller/client/client.go index cf022b3..d0a55be 100644 --- a/pkg/controller/client/client.go +++ b/pkg/controller/client/client.go @@ -3,7 +3,7 @@ package client import ( "time" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/scheme" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/apiutil" "sigs.k8s.io/controller-runtime/pkg/client/config" diff --git a/pkg/controller/runtime/object.go b/pkg/controller/runtime/object.go index 741af9a..702f2c0 100644 --- a/pkg/controller/runtime/object.go +++ b/pkg/controller/runtime/object.go @@ -4,8 +4,8 @@ import ( "bytes" "errors" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" - apiv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + "github.com/paralus/paralus/pkg/controller/scheme" + apiv2 "github.com/paralus/paralus/proto/types/controller" rbacv1 "k8s.io/api/rbac/v1" apixv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1" "k8s.io/apimachinery/pkg/runtime" @@ -14,7 +14,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - "github.com/RafayLabs/rcloud-base/pkg/controller/util" + "github.com/paralus/paralus/pkg/controller/util" ) var ( diff --git a/pkg/controller/runtime/object_test.go b/pkg/controller/runtime/object_test.go index d3bf882..1340df2 100644 --- a/pkg/controller/runtime/object_test.go +++ b/pkg/controller/runtime/object_test.go @@ -7,7 +7,7 @@ import ( "reflect" "testing" - apiv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + apiv2 "github.com/paralus/paralus/proto/types/controller" appsv1 "k8s.io/api/apps/v1" "sigs.k8s.io/yaml" ) diff --git a/pkg/controller/scheme/scheme.go b/pkg/controller/scheme/scheme.go index f96b1f0..c0befc8 100644 --- a/pkg/controller/scheme/scheme.go +++ b/pkg/controller/scheme/scheme.go @@ -3,7 +3,7 @@ package scheme import ( "sync" - apiv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + apiv2 "github.com/paralus/paralus/proto/types/controller" // DO NOT UPDATE // API Extensions v1 is not available in k8s v1.14.x apixv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1" diff --git a/pkg/controller/step/state.go b/pkg/controller/step/state.go index 5fcd4c4..5cd818e 100644 --- a/pkg/controller/step/state.go +++ b/pkg/controller/step/state.go @@ -3,7 +3,7 @@ package step import ( "fmt" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + clusterv2 "github.com/paralus/paralus/proto/types/controller" appsv1 "k8s.io/api/apps/v1" batchv1 "k8s.io/api/batch/v1" corev1 "k8s.io/api/core/v1" diff --git a/pkg/controller/step/step.go b/pkg/controller/step/step.go index 6b3863a..d91fe16 100644 --- a/pkg/controller/step/step.go +++ b/pkg/controller/step/step.go @@ -3,12 +3,12 @@ package step import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/controller/apply" - cr "github.com/RafayLabs/rcloud-base/pkg/controller/runtime" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" - "github.com/RafayLabs/rcloud-base/pkg/controller/util" - hash "github.com/RafayLabs/rcloud-base/pkg/hasher" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + "github.com/paralus/paralus/pkg/controller/apply" + cr "github.com/paralus/paralus/pkg/controller/runtime" + "github.com/paralus/paralus/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/util" + hash "github.com/paralus/paralus/pkg/hasher" + clusterv2 "github.com/paralus/paralus/proto/types/controller" corev1 "k8s.io/api/core/v1" apierrs "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" diff --git a/pkg/controller/util/object.go b/pkg/controller/util/object.go index d4e0192..c386902 100644 --- a/pkg/controller/util/object.go +++ b/pkg/controller/util/object.go @@ -1,7 +1,7 @@ package util import ( - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/scheme" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/pkg/controller/util/owner.go b/pkg/controller/util/owner.go index 518c21e..dc7bbe4 100644 --- a/pkg/controller/util/owner.go +++ b/pkg/controller/util/owner.go @@ -4,13 +4,13 @@ import ( "encoding/json" "fmt" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "sigs.k8s.io/controller-runtime/pkg/client/apiutil" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + clusterv2 "github.com/paralus/paralus/proto/types/controller" ctrlutil "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" ) diff --git a/pkg/controller/util/patch.go b/pkg/controller/util/patch.go index 6cd0461..5e4bc32 100644 --- a/pkg/controller/util/patch.go +++ b/pkg/controller/util/patch.go @@ -3,10 +3,10 @@ package util import ( "fmt" - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + clusterv2 "github.com/paralus/paralus/proto/types/controller" apixv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/scheme" jp "github.com/evanphx/json-patch" "k8s.io/apimachinery/pkg/runtime/schema" jmp "k8s.io/apimachinery/pkg/util/jsonmergepatch" diff --git a/pkg/controller/util/patch_test.go b/pkg/controller/util/patch_test.go index 8270a84..927d369 100644 --- a/pkg/controller/util/patch_test.go +++ b/pkg/controller/util/patch_test.go @@ -5,9 +5,9 @@ import ( "io/ioutil" "os" - "github.com/RafayLabs/rcloud-base/pkg/controller/scheme" + "github.com/paralus/paralus/pkg/controller/scheme" - apiv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + apiv2 "github.com/paralus/paralus/proto/types/controller" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime" "sigs.k8s.io/yaml" diff --git a/pkg/controller/util/step.go b/pkg/controller/util/step.go index 8182f94..a0b7324 100644 --- a/pkg/controller/util/step.go +++ b/pkg/controller/util/step.go @@ -1,7 +1,7 @@ package util import ( - clusterv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + clusterv2 "github.com/paralus/paralus/proto/types/controller" ) const ( diff --git a/pkg/converter/import.go b/pkg/converter/import.go index f24a675..183e17a 100644 --- a/pkg/converter/import.go +++ b/pkg/converter/import.go @@ -5,10 +5,10 @@ import ( "fmt" "strings" - runtimeutil "github.com/RafayLabs/rcloud-base/pkg/controller/runtime" + runtimeutil "github.com/paralus/paralus/pkg/controller/runtime" - "github.com/RafayLabs/rcloud-base/pkg/log" - controllerv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + "github.com/paralus/paralus/pkg/log" + controllerv2 "github.com/paralus/paralus/proto/types/controller" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/converter/util.go b/pkg/converter/util.go index 271c784..9d489a6 100644 --- a/pkg/converter/util.go +++ b/pkg/converter/util.go @@ -3,7 +3,7 @@ package converter import ( gojson "encoding/json" - apiv2 "github.com/RafayLabs/rcloud-base/proto/types/controller" + apiv2 "github.com/paralus/paralus/proto/types/controller" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/pkg/event/queue.go b/pkg/event/queue.go index 454663d..0fa1e81 100644 --- a/pkg/event/queue.go +++ b/pkg/event/queue.go @@ -3,7 +3,7 @@ package event import ( "sync" - "github.com/RafayLabs/rcloud-base/pkg/log" + "github.com/paralus/paralus/pkg/log" ) const ( diff --git a/pkg/gateway/httpbody.go b/pkg/gateway/httpbody.go index 62774fb..f73552d 100644 --- a/pkg/gateway/httpbody.go +++ b/pkg/gateway/httpbody.go @@ -1,7 +1,7 @@ package gateway import ( - common "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + common "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" ) diff --git a/pkg/gateway/json_test.go b/pkg/gateway/json_test.go index 9009296..0df1f00 100644 --- a/pkg/gateway/json_test.go +++ b/pkg/gateway/json_test.go @@ -4,8 +4,8 @@ import ( "bytes" "testing" - "github.com/RafayLabs/rcloud-base/pkg/gateway" - "github.com/RafayLabs/rcloud-base/pkg/gateway/testdata" + "github.com/paralus/paralus/pkg/gateway" + "github.com/paralus/paralus/pkg/gateway/testdata" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/pkg/gateway/testdata/gateway_test.go b/pkg/gateway/testdata/gateway_test.go index 3988e6c..0d9c7c9 100644 --- a/pkg/gateway/testdata/gateway_test.go +++ b/pkg/gateway/testdata/gateway_test.go @@ -9,8 +9,8 @@ import ( "net/http" "testing" - "github.com/RafayLabs/rcloud-base/pkg/gateway" - "github.com/RafayLabs/rcloud-base/pkg/grpc" + "github.com/paralus/paralus/pkg/gateway" + "github.com/paralus/paralus/pkg/grpc" "github.com/grpc-ecosystem/grpc-gateway/runtime" ) diff --git a/pkg/gateway/yaml_test.go b/pkg/gateway/yaml_test.go index 7050c44..24df4b1 100644 --- a/pkg/gateway/yaml_test.go +++ b/pkg/gateway/yaml_test.go @@ -4,8 +4,8 @@ import ( "bytes" "testing" - "github.com/RafayLabs/rcloud-base/pkg/gateway" - "github.com/RafayLabs/rcloud-base/pkg/gateway/testdata" + "github.com/paralus/paralus/pkg/gateway" + "github.com/paralus/paralus/pkg/gateway/testdata" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/pkg/leaderelection/election.go b/pkg/leaderelection/election.go index d7b6da4..beec9cf 100644 --- a/pkg/leaderelection/election.go +++ b/pkg/leaderelection/election.go @@ -3,7 +3,7 @@ package leaderelection import ( "context" - log "github.com/RafayLabs/rcloud-base/pkg/log" + log "github.com/paralus/paralus/pkg/log" le "k8s.io/client-go/tools/leaderelection" rl "k8s.io/client-go/tools/leaderelection/resourcelock" ) diff --git a/pkg/match/match.go b/pkg/match/match.go index 96df244..59f94aa 100644 --- a/pkg/match/match.go +++ b/pkg/match/match.go @@ -1,8 +1,8 @@ package match import ( - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "k8s.io/apimachinery/pkg/labels" ) diff --git a/pkg/notify/notify.go b/pkg/notify/notify.go index aea76f2..5eafc21 100644 --- a/pkg/notify/notify.go +++ b/pkg/notify/notify.go @@ -8,12 +8,12 @@ import ( "sync" "time" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/match" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/service" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/match" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/service" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" ) var ( diff --git a/pkg/patch/status.go b/pkg/patch/status.go index 0c8d9eb..946680a 100644 --- a/pkg/patch/status.go +++ b/pkg/patch/status.go @@ -3,9 +3,9 @@ package patch import ( "encoding/json" - sp "github.com/RafayLabs/rcloud-base/pkg/controller/strategicpatch" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/scheduler" + sp "github.com/paralus/paralus/pkg/controller/strategicpatch" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" + "github.com/paralus/paralus/proto/types/scheduler" ) type clusterConditions struct { diff --git a/pkg/query/options.go b/pkg/query/options.go index d6227ef..4a7e3a8 100644 --- a/pkg/query/options.go +++ b/pkg/query/options.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/RafayLabs/rcloud-base/internal/random" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/internal/random" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/uptrace/bun" ) diff --git a/pkg/query/selector.go b/pkg/query/selector.go index b495996..81c9771 100644 --- a/pkg/query/selector.go +++ b/pkg/query/selector.go @@ -1,7 +1,7 @@ package query import ( - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/uptrace/bun" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/selection" diff --git a/pkg/reconcile/cluster_conditions_reconciler.go b/pkg/reconcile/cluster_conditions_reconciler.go index 47ca8c0..f6d2470 100644 --- a/pkg/reconcile/cluster_conditions_reconciler.go +++ b/pkg/reconcile/cluster_conditions_reconciler.go @@ -3,9 +3,9 @@ package reconcile import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/service" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/service" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" ) var _log = log.GetLogger() diff --git a/pkg/reconcile/cluster_handler.go b/pkg/reconcile/cluster_handler.go index 42c5a80..6f41e1f 100644 --- a/pkg/reconcile/cluster_handler.go +++ b/pkg/reconcile/cluster_handler.go @@ -4,11 +4,11 @@ import ( "context" "time" - "github.com/RafayLabs/rcloud-base/pkg/event" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/service" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/pkg/event" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/service" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/util/workqueue" ) diff --git a/pkg/reconcile/cluster_reconciler.go b/pkg/reconcile/cluster_reconciler.go index 0f34cbc..00cb347 100644 --- a/pkg/reconcile/cluster_reconciler.go +++ b/pkg/reconcile/cluster_reconciler.go @@ -5,12 +5,12 @@ import ( "fmt" "time" - clstrutil "github.com/RafayLabs/rcloud-base/internal/cluster" - "github.com/RafayLabs/rcloud-base/internal/cluster/constants" - "github.com/RafayLabs/rcloud-base/pkg/service" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + clstrutil "github.com/paralus/paralus/internal/cluster" + "github.com/paralus/paralus/internal/cluster/constants" + "github.com/paralus/paralus/pkg/service" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" - "github.com/RafayLabs/rcloud-base/pkg/query" + "github.com/paralus/paralus/pkg/query" "github.com/pkg/errors" ) diff --git a/pkg/reconcile/utils.go b/pkg/reconcile/utils.go index e35d631..2720d3a 100644 --- a/pkg/reconcile/utils.go +++ b/pkg/reconcile/utils.go @@ -3,7 +3,7 @@ package reconcile import ( "encoding/json" - "github.com/RafayLabs/rcloud-base/pkg/event" + "github.com/paralus/paralus/pkg/event" ) func resourceToKey(r event.Resource) string { diff --git a/pkg/sentry/authz/authz.go b/pkg/sentry/authz/authz.go index f8b5191..cb899c1 100644 --- a/pkg/sentry/authz/authz.go +++ b/pkg/sentry/authz/authz.go @@ -7,16 +7,16 @@ import ( "strings" "time" - "github.com/RafayLabs/rcloud-base/internal/constants" - "github.com/RafayLabs/rcloud-base/pkg/controller/runtime" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/sentry/kubeconfig" - "github.com/RafayLabs/rcloud-base/pkg/service" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/controller" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/constants" + "github.com/paralus/paralus/pkg/controller/runtime" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/sentry/kubeconfig" + "github.com/paralus/paralus/pkg/service" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/controller" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" corev1 "k8s.io/api/core/v1" rbacv1 "k8s.io/api/rbac/v1" diff --git a/pkg/sentry/kubeconfig/kubeconfig.go b/pkg/sentry/kubeconfig/kubeconfig.go index 7abd720..87344f8 100644 --- a/pkg/sentry/kubeconfig/kubeconfig.go +++ b/pkg/sentry/kubeconfig/kubeconfig.go @@ -9,21 +9,21 @@ import ( "strings" "time" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/query" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/user" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - sentry "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/query" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + rpcv3 "github.com/paralus/paralus/proto/rpc/user" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + sentry "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" clientcmdapiv1 "k8s.io/client-go/tools/clientcmd/api/v1" "sigs.k8s.io/yaml" - "github.com/RafayLabs/rcloud-base/internal/constants" - "github.com/RafayLabs/rcloud-base/pkg/sentry/cryptoutil" - "github.com/RafayLabs/rcloud-base/pkg/sentry/util" - "github.com/RafayLabs/rcloud-base/pkg/service" + "github.com/paralus/paralus/internal/constants" + "github.com/paralus/paralus/pkg/sentry/cryptoutil" + "github.com/paralus/paralus/pkg/sentry/util" + "github.com/paralus/paralus/pkg/service" ) const ( diff --git a/pkg/sentry/peering/peering.go b/pkg/sentry/peering/peering.go index 6b7c290..2b83c5a 100644 --- a/pkg/sentry/peering/peering.go +++ b/pkg/sentry/peering/peering.go @@ -10,13 +10,13 @@ import ( "regexp" "time" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/sentry/cryptoutil" - "github.com/RafayLabs/rcloud-base/pkg/sentry/register" - "github.com/RafayLabs/rcloud-base/pkg/service" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/sentry/cryptoutil" + "github.com/paralus/paralus/pkg/sentry/register" + "github.com/paralus/paralus/pkg/service" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + "github.com/paralus/paralus/proto/types/sentry" "github.com/dgraph-io/ristretto" "github.com/rs/xid" ) diff --git a/pkg/sentry/register/register.go b/pkg/sentry/register/register.go index f77b2e6..5730e44 100644 --- a/pkg/sentry/register/register.go +++ b/pkg/sentry/register/register.go @@ -10,18 +10,18 @@ import ( "os" "strings" - "github.com/RafayLabs/rcloud-base/pkg/sentry/cryptoutil" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/pkg/sentry/cryptoutil" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/sentry" "github.com/pkg/errors" "github.com/rs/xid" - bootstrapclientv2 "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/client" - bootstrapapiv2 "github.com/RafayLabs/rcloud-base/api/def/clients/sentry/client/bootstrap" + bootstrapclientv2 "github.com/paralus/paralus/api/def/clients/sentry/client" + bootstrapapiv2 "github.com/paralus/paralus/api/def/clients/sentry/client/bootstrap" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/sentry/util" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/sentry/util" ) var ( diff --git a/pkg/service/account_permission.go b/pkg/service/account_permission.go index e2d9140..e83b397 100644 --- a/pkg/service/account_permission.go +++ b/pkg/service/account_permission.go @@ -4,9 +4,9 @@ import ( "context" "encoding/json" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/service/apikey.go b/pkg/service/apikey.go index 5fce17e..de4e3b2 100644 --- a/pkg/service/apikey.go +++ b/pkg/service/apikey.go @@ -5,10 +5,10 @@ import ( "database/sql" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/crypto" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/user" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/crypto" + rpcv3 "github.com/paralus/paralus/proto/rpc/user" "github.com/google/uuid" "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/audit_log_query.go b/pkg/service/audit_log_query.go index e1772ef..68c5f72 100644 --- a/pkg/service/audit_log_query.go +++ b/pkg/service/audit_log_query.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - v1 "github.com/RafayLabs/rcloud-base/proto/rpc/audit" + v1 "github.com/paralus/paralus/proto/rpc/audit" "google.golang.org/protobuf/types/known/structpb" ) diff --git a/pkg/service/audit_utils.go b/pkg/service/audit_utils.go index 5c2b0fe..1c635d3 100644 --- a/pkg/service/audit_utils.go +++ b/pkg/service/audit_utils.go @@ -5,11 +5,11 @@ import ( "fmt" "strings" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/audit" - "github.com/RafayLabs/rcloud-base/pkg/utils" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/audit" + "github.com/paralus/paralus/pkg/utils" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/authz.go b/pkg/service/authz.go index 92b030e..9318281 100644 --- a/pkg/service/authz.go +++ b/pkg/service/authz.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - authzpbv1 "github.com/RafayLabs/rcloud-base/proto/types/authz" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + authzpbv1 "github.com/paralus/paralus/proto/types/authz" "github.com/casbin/casbin/v2" "github.com/uptrace/bun" "google.golang.org/grpc/codes" diff --git a/pkg/service/bootstrap.go b/pkg/service/bootstrap.go index d103741..c14b28f 100644 --- a/pkg/service/bootstrap.go +++ b/pkg/service/bootstrap.go @@ -7,13 +7,13 @@ import ( "fmt" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/converter" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/sentry/cryptoutil" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/converter" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/sentry/cryptoutil" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/service/cluster.go b/pkg/service/cluster.go index 405206d..eff999c 100644 --- a/pkg/service/cluster.go +++ b/pkg/service/cluster.go @@ -11,21 +11,21 @@ import ( "sync" "time" - clstrutil "github.com/RafayLabs/rcloud-base/internal/cluster" - "github.com/RafayLabs/rcloud-base/internal/cluster/constants" - cdao "github.com/RafayLabs/rcloud-base/internal/cluster/dao" - "github.com/RafayLabs/rcloud-base/internal/cluster/util" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/event" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/patch" - "github.com/RafayLabs/rcloud-base/pkg/query" - sentryutil "github.com/RafayLabs/rcloud-base/pkg/sentry/util" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + clstrutil "github.com/paralus/paralus/internal/cluster" + "github.com/paralus/paralus/internal/cluster/constants" + cdao "github.com/paralus/paralus/internal/cluster/dao" + "github.com/paralus/paralus/internal/cluster/util" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/event" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/patch" + "github.com/paralus/paralus/pkg/query" + sentryutil "github.com/paralus/paralus/pkg/sentry/util" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/pkg/errors" "github.com/rs/xid" diff --git a/pkg/service/cluster_test.go b/pkg/service/cluster_test.go index c57be05..1e29d04 100644 --- a/pkg/service/cluster_test.go +++ b/pkg/service/cluster_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/group.go b/pkg/service/group.go index 103c5de..8c571fe 100644 --- a/pkg/service/group.go +++ b/pkg/service/group.go @@ -7,14 +7,14 @@ import ( "strings" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/utils" - authzv1 "github.com/RafayLabs/rcloud-base/proto/types/authz" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/utils" + authzv1 "github.com/paralus/paralus/proto/types/authz" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/group_permission.go b/pkg/service/group_permission.go index fe7c3a3..26dbc6c 100644 --- a/pkg/service/group_permission.go +++ b/pkg/service/group_permission.go @@ -4,9 +4,9 @@ import ( "context" "encoding/json" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/pkg/service/group_test.go b/pkg/service/group_test.go index eeb554c..d052d8e 100644 --- a/pkg/service/group_test.go +++ b/pkg/service/group_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/idp.go b/pkg/service/idp.go index 6b8b92a..2b117fd 100644 --- a/pkg/service/idp.go +++ b/pkg/service/idp.go @@ -14,10 +14,10 @@ import ( "net/url" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/kubeconfig_revocation.go b/pkg/service/kubeconfig_revocation.go index ef80b36..bcb4785 100644 --- a/pkg/service/kubeconfig_revocation.go +++ b/pkg/service/kubeconfig_revocation.go @@ -5,10 +5,10 @@ import ( "database/sql" "time" - "github.com/RafayLabs/rcloud-base/internal/constants" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/constants" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/service/kubeconfig_settings.go b/pkg/service/kubeconfig_settings.go index 2c3dd61..e2dc1c6 100644 --- a/pkg/service/kubeconfig_settings.go +++ b/pkg/service/kubeconfig_settings.go @@ -5,10 +5,10 @@ import ( "database/sql" "time" - "github.com/RafayLabs/rcloud-base/internal/constants" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/constants" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/service/kubectl_cluster_setting.go b/pkg/service/kubectl_cluster_setting.go index 46bcfc2..586c8f8 100644 --- a/pkg/service/kubectl_cluster_setting.go +++ b/pkg/service/kubectl_cluster_setting.go @@ -5,10 +5,10 @@ import ( "database/sql" "time" - "github.com/RafayLabs/rcloud-base/internal/constants" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/constants" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/proto/types/sentry" "github.com/google/uuid" "github.com/uptrace/bun" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/service/metro.go b/pkg/service/metro.go index 5b59507..47bd28f 100644 --- a/pkg/service/metro.go +++ b/pkg/service/metro.go @@ -4,10 +4,10 @@ import ( "context" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/pkg/service/metro_test.go b/pkg/service/metro_test.go index 1c69141..d36a24f 100644 --- a/pkg/service/metro_test.go +++ b/pkg/service/metro_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/mocks.go b/pkg/service/mocks.go index 43adb80..e1124cb 100644 --- a/pkg/service/mocks.go +++ b/pkg/service/mocks.go @@ -4,7 +4,7 @@ import ( "context" "strings" - types "github.com/RafayLabs/rcloud-base/proto/types/authz" + types "github.com/paralus/paralus/proto/types/authz" ) type ApUpdate struct { diff --git a/pkg/service/namespace.go b/pkg/service/namespace.go index 8bb5df7..7e11feb 100644 --- a/pkg/service/namespace.go +++ b/pkg/service/namespace.go @@ -3,8 +3,8 @@ package service import ( "context" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/pkg/utils" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/pkg/utils" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/pkg/service/oidc_provider.go b/pkg/service/oidc_provider.go index 2eae7ea..d9fc92c 100644 --- a/pkg/service/oidc_provider.go +++ b/pkg/service/oidc_provider.go @@ -9,10 +9,10 @@ import ( "strings" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/organization.go b/pkg/service/organization.go index 0778a8d..21a1f21 100644 --- a/pkg/service/organization.go +++ b/pkg/service/organization.go @@ -6,10 +6,10 @@ import ( "fmt" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/organization_test.go b/pkg/service/organization_test.go index 8d243bf..1e8df7b 100644 --- a/pkg/service/organization_test.go +++ b/pkg/service/organization_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/partner.go b/pkg/service/partner.go index 375125a..ea329a7 100644 --- a/pkg/service/partner.go +++ b/pkg/service/partner.go @@ -5,10 +5,10 @@ import ( "encoding/json" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/partner_test.go b/pkg/service/partner_test.go index 8824b74..3413b6f 100644 --- a/pkg/service/partner_test.go +++ b/pkg/service/partner_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "github.com/uptrace/bun/dialect/pgdialect" diff --git a/pkg/service/project.go b/pkg/service/project.go index 51eb234..6d3f27e 100644 --- a/pkg/service/project.go +++ b/pkg/service/project.go @@ -6,11 +6,11 @@ import ( "fmt" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - authzv1 "github.com/RafayLabs/rcloud-base/proto/types/authz" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + authzv1 "github.com/paralus/paralus/proto/types/authz" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/project_test.go b/pkg/service/project_test.go index a26354c..698c10c 100644 --- a/pkg/service/project_test.go +++ b/pkg/service/project_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/relay_audit_query.go b/pkg/service/relay_audit_query.go index 2bd02a8..4d7df16 100644 --- a/pkg/service/relay_audit_query.go +++ b/pkg/service/relay_audit_query.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - v1 "github.com/RafayLabs/rcloud-base/proto/rpc/audit" + v1 "github.com/paralus/paralus/proto/rpc/audit" "google.golang.org/protobuf/types/known/structpb" ) diff --git a/pkg/service/role.go b/pkg/service/role.go index b0d3084..83055d6 100644 --- a/pkg/service/role.go +++ b/pkg/service/role.go @@ -7,12 +7,12 @@ import ( "strings" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/utils" - authzv1 "github.com/RafayLabs/rcloud-base/proto/types/authz" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - rolev3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/utils" + authzv1 "github.com/paralus/paralus/proto/types/authz" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + rolev3 "github.com/paralus/paralus/proto/types/rolepb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" "go.uber.org/zap" diff --git a/pkg/service/role_test.go b/pkg/service/role_test.go index 0bf94ed..1bab45f 100644 --- a/pkg/service/role_test.go +++ b/pkg/service/role_test.go @@ -6,9 +6,9 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - "github.com/RafayLabs/rcloud-base/pkg/common" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - rolev3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + "github.com/paralus/paralus/pkg/common" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + rolev3 "github.com/paralus/paralus/proto/types/rolepb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/rolepermission.go b/pkg/service/rolepermission.go index 473386a..02bf1cf 100644 --- a/pkg/service/rolepermission.go +++ b/pkg/service/rolepermission.go @@ -4,12 +4,12 @@ import ( "context" "strings" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - rolev3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + rolev3 "github.com/paralus/paralus/proto/types/rolepb/v3" "github.com/google/uuid" bun "github.com/uptrace/bun" ) diff --git a/pkg/service/rolepermission_test.go b/pkg/service/rolepermission_test.go index 997d435..1c55383 100644 --- a/pkg/service/rolepermission_test.go +++ b/pkg/service/rolepermission_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - rolev3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + rolev3 "github.com/paralus/paralus/proto/types/rolepb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/test_utils.go b/pkg/service/test_utils.go index f8dadb3..0a82512 100644 --- a/pkg/service/test_utils.go +++ b/pkg/service/test_utils.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - "github.com/RafayLabs/rcloud-base/pkg/audit" + "github.com/paralus/paralus/pkg/audit" "github.com/google/uuid" "go.uber.org/zap" ) diff --git a/pkg/service/user.go b/pkg/service/user.go index e4728fe..d4942a6 100644 --- a/pkg/service/user.go +++ b/pkg/service/user.go @@ -13,16 +13,16 @@ import ( "go.uber.org/zap" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - providers "github.com/RafayLabs/rcloud-base/internal/provider/kratos" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/utils" - userrpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/user" - authzv1 "github.com/RafayLabs/rcloud-base/proto/types/authz" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + providers "github.com/paralus/paralus/internal/provider/kratos" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/utils" + userrpcv3 "github.com/paralus/paralus/proto/rpc/user" + authzv1 "github.com/paralus/paralus/proto/types/authz" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" ) const ( diff --git a/pkg/service/user_test.go b/pkg/service/user_test.go index 2df4a86..f5266ea 100644 --- a/pkg/service/user_test.go +++ b/pkg/service/user_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/DATA-DOG/go-sqlmock" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/query" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/query" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/google/uuid" ) diff --git a/pkg/service/utils.go b/pkg/service/utils.go index 8403069..eabc907 100644 --- a/pkg/service/utils.go +++ b/pkg/service/utils.go @@ -3,9 +3,9 @@ package service import ( "context" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/pkg/common" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/pkg/common" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/google/uuid" "github.com/uptrace/bun" ) diff --git a/pkg/sso/saml/middleware.go b/pkg/sso/saml/middleware.go index e95b3c3..ded71ed 100644 --- a/pkg/sso/saml/middleware.go +++ b/pkg/sso/saml/middleware.go @@ -11,8 +11,8 @@ import ( "os" "strings" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" "github.com/crewjam/saml" "github.com/crewjam/saml/samlsp" ) diff --git a/proto/rpc/audit/auditlog.pb.go b/proto/rpc/audit/auditlog.pb.go index f148f89..a3d170f 100644 --- a/proto/rpc/audit/auditlog.pb.go +++ b/proto/rpc/audit/auditlog.pb.go @@ -7,7 +7,7 @@ package eventv1 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/audit/relayaudit.pb.go b/proto/rpc/audit/relayaudit.pb.go index 039dfbb..a45aa50 100644 --- a/proto/rpc/audit/relayaudit.pb.go +++ b/proto/rpc/audit/relayaudit.pb.go @@ -7,7 +7,7 @@ package eventv1 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/role/role.pb.go b/proto/rpc/role/role.pb.go index 2d1b30b..a5e73f0 100644 --- a/proto/rpc/role/role.pb.go +++ b/proto/rpc/role/role.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + v3 "github.com/paralus/paralus/proto/types/rolepb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/role/role.pb.gw.go b/proto/rpc/role/role.pb.gw.go index cce4e69..4efc863 100644 --- a/proto/rpc/role/role.pb.gw.go +++ b/proto/rpc/role/role.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + "github.com/paralus/paralus/proto/types/rolepb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/role/role_grpc.pb.go b/proto/rpc/role/role_grpc.pb.go index 334b46a..a905144 100644 --- a/proto/rpc/role/role_grpc.pb.go +++ b/proto/rpc/role/role_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + v3 "github.com/paralus/paralus/proto/types/rolepb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/role/rolepermission.pb.go b/proto/rpc/role/rolepermission.pb.go index 2bcbf02..0cba125 100644 --- a/proto/rpc/role/rolepermission.pb.go +++ b/proto/rpc/role/rolepermission.pb.go @@ -7,8 +7,8 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v31 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v31 "github.com/paralus/paralus/proto/types/rolepb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/role/rolepermission.pb.gw.go b/proto/rpc/role/rolepermission.pb.gw.go index b8a2e25..35e849d 100644 --- a/proto/rpc/role/rolepermission.pb.gw.go +++ b/proto/rpc/role/rolepermission.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/commonpb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/role/rolepermission_grpc.pb.go b/proto/rpc/role/rolepermission_grpc.pb.go index 83c8431..6977497 100644 --- a/proto/rpc/role/rolepermission_grpc.pb.go +++ b/proto/rpc/role/rolepermission_grpc.pb.go @@ -8,8 +8,8 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v31 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v31 "github.com/paralus/paralus/proto/types/rolepb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/scheduler/cluster.pb.go b/proto/rpc/scheduler/cluster.pb.go index 08e6ded..50fa3de 100644 --- a/proto/rpc/scheduler/cluster.pb.go +++ b/proto/rpc/scheduler/cluster.pb.go @@ -7,8 +7,8 @@ package rpcv3 import ( - v31 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + v31 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/infrapb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/scheduler/cluster.pb.gw.go b/proto/rpc/scheduler/cluster.pb.gw.go index 916a28d..327761d 100644 --- a/proto/rpc/scheduler/cluster.pb.gw.go +++ b/proto/rpc/scheduler/cluster.pb.gw.go @@ -13,8 +13,8 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/infrapb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/scheduler/cluster_grpc.pb.go b/proto/rpc/scheduler/cluster_grpc.pb.go index 5d6e3d8..154d36e 100644 --- a/proto/rpc/scheduler/cluster_grpc.pb.go +++ b/proto/rpc/scheduler/cluster_grpc.pb.go @@ -8,8 +8,8 @@ package rpcv3 import ( context "context" - v31 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + v31 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/infrapb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/scheduler/internal.go b/proto/rpc/scheduler/internal.go index f2d9bd1..7614771 100644 --- a/proto/rpc/scheduler/internal.go +++ b/proto/rpc/scheduler/internal.go @@ -3,7 +3,7 @@ package rpcv3 import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/pool" + "github.com/paralus/paralus/pkg/pool" grpcpool "github.com/processout/grpc-go-pool" ) diff --git a/proto/rpc/sentry/audit_info.pb.go b/proto/rpc/sentry/audit_info.pb.go index 022b8b7..a5a7c29 100644 --- a/proto/rpc/sentry/audit_info.pb.go +++ b/proto/rpc/sentry/audit_info.pb.go @@ -7,8 +7,8 @@ package sentry import ( - _ "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - _ "github.com/RafayLabs/rcloud-base/proto/types/sentry" + _ "github.com/paralus/paralus/proto/types/commonpb/v3" + _ "github.com/paralus/paralus/proto/types/sentry" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/sentry/bootstrap.pb.go b/proto/rpc/sentry/bootstrap.pb.go index 71a8e8c..961e805 100644 --- a/proto/rpc/sentry/bootstrap.pb.go +++ b/proto/rpc/sentry/bootstrap.pb.go @@ -7,8 +7,8 @@ package sentry import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - sentry "github.com/RafayLabs/rcloud-base/proto/types/sentry" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + sentry "github.com/paralus/paralus/proto/types/sentry" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/sentry/bootstrap.pb.gw.go b/proto/rpc/sentry/bootstrap.pb.gw.go index 3a4efe1..b541bcf 100644 --- a/proto/rpc/sentry/bootstrap.pb.gw.go +++ b/proto/rpc/sentry/bootstrap.pb.gw.go @@ -13,8 +13,8 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - sentry_0 "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/proto/types/commonpb/v3" + sentry_0 "github.com/paralus/paralus/proto/types/sentry" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/sentry/bootstrap_grpc.pb.go b/proto/rpc/sentry/bootstrap_grpc.pb.go index ea3c305..00f50db 100644 --- a/proto/rpc/sentry/bootstrap_grpc.pb.go +++ b/proto/rpc/sentry/bootstrap_grpc.pb.go @@ -8,8 +8,8 @@ package sentry import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - sentry "github.com/RafayLabs/rcloud-base/proto/types/sentry" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + sentry "github.com/paralus/paralus/proto/types/sentry" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/sentry/cluster_authz.pb.go b/proto/rpc/sentry/cluster_authz.pb.go index abbad94..bdf6e7f 100644 --- a/proto/rpc/sentry/cluster_authz.pb.go +++ b/proto/rpc/sentry/cluster_authz.pb.go @@ -7,9 +7,9 @@ package sentry import ( - _ "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - controller "github.com/RafayLabs/rcloud-base/proto/types/controller" - _ "github.com/RafayLabs/rcloud-base/proto/types/sentry" + _ "github.com/paralus/paralus/proto/types/commonpb/v3" + controller "github.com/paralus/paralus/proto/types/controller" + _ "github.com/paralus/paralus/proto/types/sentry" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/sentry/internal.go b/proto/rpc/sentry/internal.go index 63f69ed..aa4eda0 100644 --- a/proto/rpc/sentry/internal.go +++ b/proto/rpc/sentry/internal.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - grpctools "github.com/RafayLabs/rcloud-base/pkg/grpc" - "github.com/RafayLabs/rcloud-base/pkg/pool" + grpctools "github.com/paralus/paralus/pkg/grpc" + "github.com/paralus/paralus/pkg/pool" grpcpool "github.com/processout/grpc-go-pool" "google.golang.org/grpc/credentials" ) diff --git a/proto/rpc/sentry/kubeconfig.pb.go b/proto/rpc/sentry/kubeconfig.pb.go index afbd257..38d70e2 100644 --- a/proto/rpc/sentry/kubeconfig.pb.go +++ b/proto/rpc/sentry/kubeconfig.pb.go @@ -7,8 +7,8 @@ package sentry import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - _ "github.com/RafayLabs/rcloud-base/proto/types/sentry" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + _ "github.com/paralus/paralus/proto/types/sentry" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/sentry/kubeconfig_grpc.pb.go b/proto/rpc/sentry/kubeconfig_grpc.pb.go index fd90d00..ef9a469 100644 --- a/proto/rpc/sentry/kubeconfig_grpc.pb.go +++ b/proto/rpc/sentry/kubeconfig_grpc.pb.go @@ -8,7 +8,7 @@ package sentry import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/sentry/kubectl_cluster.pb.go b/proto/rpc/sentry/kubectl_cluster.pb.go index 7b36e81..2e4b02d 100644 --- a/proto/rpc/sentry/kubectl_cluster.pb.go +++ b/proto/rpc/sentry/kubectl_cluster.pb.go @@ -7,8 +7,8 @@ package sentry import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - _ "github.com/RafayLabs/rcloud-base/proto/types/sentry" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + _ "github.com/paralus/paralus/proto/types/sentry" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/system/idp.pb.go b/proto/rpc/system/idp.pb.go index e1552bf..e4406de 100644 --- a/proto/rpc/system/idp.pb.go +++ b/proto/rpc/system/idp.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/system/idp.pb.gw.go b/proto/rpc/system/idp.pb.gw.go index 5630f01..c68784b 100644 --- a/proto/rpc/system/idp.pb.gw.go +++ b/proto/rpc/system/idp.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/system/idp_grpc.pb.go b/proto/rpc/system/idp_grpc.pb.go index f5e441c..a76de98 100644 --- a/proto/rpc/system/idp_grpc.pb.go +++ b/proto/rpc/system/idp_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/system/internal.go b/proto/rpc/system/internal.go index df2fde8..2e54ca0 100644 --- a/proto/rpc/system/internal.go +++ b/proto/rpc/system/internal.go @@ -3,7 +3,7 @@ package rpcv3 import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/pool" + "github.com/paralus/paralus/pkg/pool" grpcpool "github.com/processout/grpc-go-pool" ) diff --git a/proto/rpc/system/metro.pb.go b/proto/rpc/system/metro.pb.go index 3b1e21e..097c162 100644 --- a/proto/rpc/system/metro.pb.go +++ b/proto/rpc/system/metro.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + v3 "github.com/paralus/paralus/proto/types/infrapb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/system/metro.pb.gw.go b/proto/rpc/system/metro.pb.gw.go index 5a24a02..29697c0 100644 --- a/proto/rpc/system/metro.pb.gw.go +++ b/proto/rpc/system/metro.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/proto/types/infrapb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/system/metro_grpc.pb.go b/proto/rpc/system/metro_grpc.pb.go index ec93832..512d15f 100644 --- a/proto/rpc/system/metro_grpc.pb.go +++ b/proto/rpc/system/metro_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + v3 "github.com/paralus/paralus/proto/types/infrapb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/system/oidc_provider.pb.go b/proto/rpc/system/oidc_provider.pb.go index 9223d80..0c05dae 100644 --- a/proto/rpc/system/oidc_provider.pb.go +++ b/proto/rpc/system/oidc_provider.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/system/oidc_provider.pb.gw.go b/proto/rpc/system/oidc_provider.pb.gw.go index c310fc7..50d5975 100644 --- a/proto/rpc/system/oidc_provider.pb.gw.go +++ b/proto/rpc/system/oidc_provider.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/system/oidc_provider_grpc.pb.go b/proto/rpc/system/oidc_provider_grpc.pb.go index 403850e..b7af381 100644 --- a/proto/rpc/system/oidc_provider_grpc.pb.go +++ b/proto/rpc/system/oidc_provider_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/system/organization.pb.go b/proto/rpc/system/organization.pb.go index 0f08f02..6858afe 100644 --- a/proto/rpc/system/organization.pb.go +++ b/proto/rpc/system/organization.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/system/organization.pb.gw.go b/proto/rpc/system/organization.pb.gw.go index 8dc6f83..c81a607 100644 --- a/proto/rpc/system/organization.pb.gw.go +++ b/proto/rpc/system/organization.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/system/organization_grpc.pb.go b/proto/rpc/system/organization_grpc.pb.go index 6892e73..28340ad 100644 --- a/proto/rpc/system/organization_grpc.pb.go +++ b/proto/rpc/system/organization_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/system/partner.pb.go b/proto/rpc/system/partner.pb.go index e117721..10a1a5f 100644 --- a/proto/rpc/system/partner.pb.go +++ b/proto/rpc/system/partner.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/system/partner.pb.gw.go b/proto/rpc/system/partner.pb.gw.go index ba9cba7..d6902b1 100644 --- a/proto/rpc/system/partner.pb.gw.go +++ b/proto/rpc/system/partner.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/system/partner_grpc.pb.go b/proto/rpc/system/partner_grpc.pb.go index 527c338..4a6bc65 100644 --- a/proto/rpc/system/partner_grpc.pb.go +++ b/proto/rpc/system/partner_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/system/project.pb.go b/proto/rpc/system/project.pb.go index a47db94..442aff4 100644 --- a/proto/rpc/system/project.pb.go +++ b/proto/rpc/system/project.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/system/project.pb.gw.go b/proto/rpc/system/project.pb.gw.go index 2fea20c..69ab40b 100644 --- a/proto/rpc/system/project.pb.gw.go +++ b/proto/rpc/system/project.pb.gw.go @@ -13,7 +13,7 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/proto/types/systempb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/system/project_grpc.pb.go b/proto/rpc/system/project_grpc.pb.go index 6d751c5..715e2df 100644 --- a/proto/rpc/system/project_grpc.pb.go +++ b/proto/rpc/system/project_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + v3 "github.com/paralus/paralus/proto/types/systempb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/user/group.pb.go b/proto/rpc/user/group.pb.go index acde8b1..b87cec2 100644 --- a/proto/rpc/user/group.pb.go +++ b/proto/rpc/user/group.pb.go @@ -7,8 +7,8 @@ package rpcv3 import ( - v31 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + v31 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/userpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/user/group.pb.gw.go b/proto/rpc/user/group.pb.gw.go index 8f23afe..7e2761f 100644 --- a/proto/rpc/user/group.pb.gw.go +++ b/proto/rpc/user/group.pb.gw.go @@ -13,8 +13,8 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/user/group_grpc.pb.go b/proto/rpc/user/group_grpc.pb.go index d5ceb8c..708ce54 100644 --- a/proto/rpc/user/group_grpc.pb.go +++ b/proto/rpc/user/group_grpc.pb.go @@ -8,8 +8,8 @@ package rpcv3 import ( context "context" - v31 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + v31 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/userpb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/user/internal.go b/proto/rpc/user/internal.go index 8b9e152..be0315a 100644 --- a/proto/rpc/user/internal.go +++ b/proto/rpc/user/internal.go @@ -3,7 +3,7 @@ package rpcv3 import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/pool" + "github.com/paralus/paralus/pkg/pool" grpcpool "github.com/processout/grpc-go-pool" ) diff --git a/proto/rpc/user/user.pb.go b/proto/rpc/user/user.pb.go index 4606375..d8390a0 100644 --- a/proto/rpc/user/user.pb.go +++ b/proto/rpc/user/user.pb.go @@ -7,8 +7,8 @@ package rpcv3 import ( - v31 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + v31 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/userpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/rpc/user/user.pb.gw.go b/proto/rpc/user/user.pb.gw.go index 8655e28..0fc93db 100644 --- a/proto/rpc/user/user.pb.gw.go +++ b/proto/rpc/user/user.pb.gw.go @@ -13,8 +13,8 @@ import ( "io" "net/http" - "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/proto/types/commonpb/v3" + "github.com/paralus/paralus/proto/types/userpb/v3" "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" "google.golang.org/grpc" diff --git a/proto/rpc/user/user_grpc.pb.go b/proto/rpc/user/user_grpc.pb.go index a0be0aa..ce8627e 100644 --- a/proto/rpc/user/user_grpc.pb.go +++ b/proto/rpc/user/user_grpc.pb.go @@ -8,8 +8,8 @@ package rpcv3 import ( context "context" - v31 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + v31 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/userpb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/rpc/v3/auth.pb.go b/proto/rpc/v3/auth.pb.go index 0b53a1c..f87ccad 100644 --- a/proto/rpc/v3/auth.pb.go +++ b/proto/rpc/v3/auth.pb.go @@ -7,7 +7,7 @@ package rpcv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" diff --git a/proto/rpc/v3/auth_grpc.pb.go b/proto/rpc/v3/auth_grpc.pb.go index bafc8aa..475875b 100644 --- a/proto/rpc/v3/auth_grpc.pb.go +++ b/proto/rpc/v3/auth_grpc.pb.go @@ -8,7 +8,7 @@ package rpcv3 import ( context "context" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/types/infrapb/v3/cluster.pb.go b/proto/types/infrapb/v3/cluster.pb.go index aac30e0..d3f39e8 100644 --- a/proto/types/infrapb/v3/cluster.pb.go +++ b/proto/types/infrapb/v3/cluster.pb.go @@ -7,7 +7,7 @@ package infrav3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/rolepb/v3/role.pb.go b/proto/types/rolepb/v3/role.pb.go index 37cc36b..4f953f7 100644 --- a/proto/types/rolepb/v3/role.pb.go +++ b/proto/types/rolepb/v3/role.pb.go @@ -7,7 +7,7 @@ package rolev3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/rolepb/v3/rolepermission.pb.go b/proto/types/rolepb/v3/rolepermission.pb.go index 6fd9c76..e84a7e1 100644 --- a/proto/types/rolepb/v3/rolepermission.pb.go +++ b/proto/types/rolepb/v3/rolepermission.pb.go @@ -7,7 +7,7 @@ package rolev3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/scheduler/namespace.pb.go b/proto/types/scheduler/namespace.pb.go index ebb94d8..6e824f3 100644 --- a/proto/types/scheduler/namespace.pb.go +++ b/proto/types/scheduler/namespace.pb.go @@ -7,8 +7,8 @@ package scheduler import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - controller "github.com/RafayLabs/rcloud-base/proto/types/controller" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + controller "github.com/paralus/paralus/proto/types/controller" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" timestamppb "google.golang.org/protobuf/types/known/timestamppb" diff --git a/proto/types/sentry/sentry.pb.go b/proto/types/sentry/sentry.pb.go index 612befa..354b077 100644 --- a/proto/types/sentry/sentry.pb.go +++ b/proto/types/sentry/sentry.pb.go @@ -7,7 +7,7 @@ package sentry import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/systempb/v3/idp.pb.go b/proto/types/systempb/v3/idp.pb.go index 8ae43cb..1949e2b 100644 --- a/proto/types/systempb/v3/idp.pb.go +++ b/proto/types/systempb/v3/idp.pb.go @@ -7,7 +7,7 @@ package systemv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/systempb/v3/oidc_provider.pb.go b/proto/types/systempb/v3/oidc_provider.pb.go index 2853df3..84c2865 100644 --- a/proto/types/systempb/v3/oidc_provider.pb.go +++ b/proto/types/systempb/v3/oidc_provider.pb.go @@ -7,7 +7,7 @@ package systemv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/systempb/v3/organization.pb.go b/proto/types/systempb/v3/organization.pb.go index b422a1d..36d8ba3 100644 --- a/proto/types/systempb/v3/organization.pb.go +++ b/proto/types/systempb/v3/organization.pb.go @@ -7,7 +7,7 @@ package systemv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/systempb/v3/partner.pb.go b/proto/types/systempb/v3/partner.pb.go index 86c477b..a278463 100644 --- a/proto/types/systempb/v3/partner.pb.go +++ b/proto/types/systempb/v3/partner.pb.go @@ -7,7 +7,7 @@ package systemv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/systempb/v3/project.pb.go b/proto/types/systempb/v3/project.pb.go index 8bea99c..4d01e1d 100644 --- a/proto/types/systempb/v3/project.pb.go +++ b/proto/types/systempb/v3/project.pb.go @@ -7,8 +7,8 @@ package systemv3 import ( - v31 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + v31 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/userpb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" diff --git a/proto/types/userpb/v3/group.pb.go b/proto/types/userpb/v3/group.pb.go index e08b011..0f5570b 100644 --- a/proto/types/userpb/v3/group.pb.go +++ b/proto/types/userpb/v3/group.pb.go @@ -7,8 +7,8 @@ package userv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - _ "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + _ "github.com/paralus/paralus/proto/types/rolepb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/proto/types/userpb/v3/user.pb.go b/proto/types/userpb/v3/user.pb.go index e07389d..cb836e2 100644 --- a/proto/types/userpb/v3/user.pb.go +++ b/proto/types/userpb/v3/user.pb.go @@ -7,8 +7,8 @@ package userv3 import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - _ "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + _ "github.com/paralus/paralus/proto/types/rolepb/v3" _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" diff --git a/scripts/initialize/main.go b/scripts/initialize/main.go index 445b7da..98db563 100644 --- a/scripts/initialize/main.go +++ b/scripts/initialize/main.go @@ -12,17 +12,17 @@ import ( "path" "time" - "github.com/RafayLabs/rcloud-base/internal/dao" - "github.com/RafayLabs/rcloud-base/internal/models" - providers "github.com/RafayLabs/rcloud-base/internal/provider/kratos" - "github.com/RafayLabs/rcloud-base/pkg/audit" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/enforcer" - "github.com/RafayLabs/rcloud-base/pkg/service" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - rolev3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" - userv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/internal/dao" + "github.com/paralus/paralus/internal/models" + providers "github.com/paralus/paralus/internal/provider/kratos" + "github.com/paralus/paralus/pkg/audit" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/enforcer" + "github.com/paralus/paralus/pkg/service" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + rolev3 "github.com/paralus/paralus/proto/types/rolepb/v3" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" + userv3 "github.com/paralus/paralus/proto/types/userpb/v3" kclient "github.com/ory/kratos-client-go" "github.com/spf13/viper" "github.com/uptrace/bun" diff --git a/server/audit_info.go b/server/audit_info.go index 1d0cdc2..4f19617 100644 --- a/server/audit_info.go +++ b/server/audit_info.go @@ -5,11 +5,11 @@ import ( "fmt" "strings" - "github.com/RafayLabs/rcloud-base/pkg/query" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" + "github.com/paralus/paralus/pkg/query" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" - "github.com/RafayLabs/rcloud-base/pkg/sentry/kubeconfig" - "github.com/RafayLabs/rcloud-base/pkg/service" + "github.com/paralus/paralus/pkg/sentry/kubeconfig" + "github.com/paralus/paralus/pkg/service" ) type auditInfoServer struct { diff --git a/server/auditlog.go b/server/auditlog.go index 024c392..77bb7b6 100644 --- a/server/auditlog.go +++ b/server/auditlog.go @@ -3,8 +3,8 @@ package server import ( "context" - q "github.com/RafayLabs/rcloud-base/pkg/service" - v1 "github.com/RafayLabs/rcloud-base/proto/rpc/audit" + q "github.com/paralus/paralus/pkg/service" + v1 "github.com/paralus/paralus/proto/rpc/audit" ) type auditLogServer struct { diff --git a/server/auth.go b/server/auth.go index 5da4267..9a200f7 100644 --- a/server/auth.go +++ b/server/auth.go @@ -3,9 +3,9 @@ package server import ( "context" - authv3 "github.com/RafayLabs/rcloud-base/pkg/auth/v3" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + authv3 "github.com/paralus/paralus/pkg/auth/v3" + rpcv3 "github.com/paralus/paralus/proto/rpc/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" ) type authServer struct { diff --git a/server/bootstrap.go b/server/bootstrap.go index a198ced..0aa9a6d 100644 --- a/server/bootstrap.go +++ b/server/bootstrap.go @@ -5,21 +5,21 @@ import ( "database/sql" "fmt" - "github.com/RafayLabs/rcloud-base/pkg/service" + "github.com/paralus/paralus/pkg/service" - "github.com/RafayLabs/rcloud-base/pkg/gateway" - "github.com/RafayLabs/rcloud-base/pkg/log" - "github.com/RafayLabs/rcloud-base/pkg/query" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/pkg/gateway" + "github.com/paralus/paralus/pkg/log" + "github.com/paralus/paralus/pkg/query" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" + "github.com/paralus/paralus/proto/types/sentry" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/timestamppb" - "github.com/RafayLabs/rcloud-base/pkg/sentry/cryptoutil" - "github.com/RafayLabs/rcloud-base/pkg/sentry/util" + "github.com/paralus/paralus/pkg/sentry/cryptoutil" + "github.com/paralus/paralus/pkg/sentry/util" ) var _log = log.GetLogger() diff --git a/server/cluster.go b/server/cluster.go index a89a1fd..8d34ad7 100644 --- a/server/cluster.go +++ b/server/cluster.go @@ -5,14 +5,14 @@ import ( "context" "encoding/base64" - "github.com/RafayLabs/rcloud-base/internal/cluster/fixtures" - "github.com/RafayLabs/rcloud-base/pkg/common" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/service" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/scheduler" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - infrapbv3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/internal/cluster/fixtures" + "github.com/paralus/paralus/pkg/common" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/service" + rpcv3 "github.com/paralus/paralus/proto/rpc/scheduler" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + infrapbv3 "github.com/paralus/paralus/proto/types/infrapb/v3" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/cluster_authz.go b/server/cluster_authz.go index 0bb7967..be4d4bf 100644 --- a/server/cluster_authz.go +++ b/server/cluster_authz.go @@ -3,10 +3,10 @@ package server import ( "context" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" - "github.com/RafayLabs/rcloud-base/pkg/sentry/authz" - "github.com/RafayLabs/rcloud-base/pkg/service" + "github.com/paralus/paralus/pkg/sentry/authz" + "github.com/paralus/paralus/pkg/service" ) type clusterAuthzServer struct { diff --git a/server/group.go b/server/group.go index 1251c5c..6cdfcfb 100644 --- a/server/group.go +++ b/server/group.go @@ -3,12 +3,12 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/service" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/user" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - userpbv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/service" + rpcv3 "github.com/paralus/paralus/proto/rpc/user" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + userpbv3 "github.com/paralus/paralus/proto/types/userpb/v3" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/idp.go b/server/idp.go index c6854f0..49062ca 100644 --- a/server/idp.go +++ b/server/idp.go @@ -3,9 +3,9 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/service" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/system" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/pkg/service" + rpcv3 "github.com/paralus/paralus/proto/rpc/system" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/server/kubeconfig.go b/server/kubeconfig.go index 1df8c0e..0a6e300 100644 --- a/server/kubeconfig.go +++ b/server/kubeconfig.go @@ -6,15 +6,15 @@ import ( "sort" "time" - "github.com/RafayLabs/rcloud-base/internal/constants" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/sentry/cryptoutil" - "github.com/RafayLabs/rcloud-base/pkg/sentry/kubeconfig" - "github.com/RafayLabs/rcloud-base/pkg/sentry/util" - "github.com/RafayLabs/rcloud-base/pkg/service" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - sentry "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/constants" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/sentry/cryptoutil" + "github.com/paralus/paralus/pkg/sentry/kubeconfig" + "github.com/paralus/paralus/pkg/sentry/util" + "github.com/paralus/paralus/pkg/service" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + sentry "github.com/paralus/paralus/proto/types/sentry" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/kubectl_cluster_settings.go b/server/kubectl_cluster_settings.go index 7dfea8f..08c769e 100644 --- a/server/kubectl_cluster_settings.go +++ b/server/kubectl_cluster_settings.go @@ -3,11 +3,11 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/internal/constants" - "github.com/RafayLabs/rcloud-base/pkg/sentry/util" - "github.com/RafayLabs/rcloud-base/pkg/service" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" - "github.com/RafayLabs/rcloud-base/proto/types/sentry" + "github.com/paralus/paralus/internal/constants" + "github.com/paralus/paralus/pkg/sentry/util" + "github.com/paralus/paralus/pkg/service" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" + "github.com/paralus/paralus/proto/types/sentry" "google.golang.org/grpc/metadata" ) diff --git a/server/metro.go b/server/metro.go index a5a8e73..e83dcee 100644 --- a/server/metro.go +++ b/server/metro.go @@ -3,9 +3,9 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/service" - systemrpc "github.com/RafayLabs/rcloud-base/proto/rpc/system" - infrav3 "github.com/RafayLabs/rcloud-base/proto/types/infrapb/v3" + "github.com/paralus/paralus/pkg/service" + systemrpc "github.com/paralus/paralus/proto/rpc/system" + infrav3 "github.com/paralus/paralus/proto/types/infrapb/v3" "github.com/google/uuid" ) diff --git a/server/oidc_provider.go b/server/oidc_provider.go index 8c7a69f..6ff4ce4 100644 --- a/server/oidc_provider.go +++ b/server/oidc_provider.go @@ -3,9 +3,9 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/service" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/system" - systemv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/pkg/service" + rpcv3 "github.com/paralus/paralus/proto/rpc/system" + systemv3 "github.com/paralus/paralus/proto/types/systempb/v3" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/server/organization.go b/server/organization.go index 9da74de..51e4afc 100644 --- a/server/organization.go +++ b/server/organization.go @@ -3,10 +3,10 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/service" - systemrpc "github.com/RafayLabs/rcloud-base/proto/rpc/system" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systempbv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/pkg/service" + systemrpc "github.com/paralus/paralus/proto/rpc/system" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systempbv3 "github.com/paralus/paralus/proto/types/systempb/v3" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/partner.go b/server/partner.go index ef09fc5..961c973 100644 --- a/server/partner.go +++ b/server/partner.go @@ -3,10 +3,10 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/service" - systemrpc "github.com/RafayLabs/rcloud-base/proto/rpc/system" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systempbv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/pkg/service" + systemrpc "github.com/paralus/paralus/proto/rpc/system" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systempbv3 "github.com/paralus/paralus/proto/types/systempb/v3" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/project.go b/server/project.go index e0a19f8..99f062b 100644 --- a/server/project.go +++ b/server/project.go @@ -3,10 +3,10 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/service" - systemrpc "github.com/RafayLabs/rcloud-base/proto/rpc/system" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - systempbv3 "github.com/RafayLabs/rcloud-base/proto/types/systempb/v3" + "github.com/paralus/paralus/pkg/service" + systemrpc "github.com/paralus/paralus/proto/rpc/system" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + systempbv3 "github.com/paralus/paralus/proto/types/systempb/v3" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/relayaudit.go b/server/relayaudit.go index 31401b4..39ca6bf 100644 --- a/server/relayaudit.go +++ b/server/relayaudit.go @@ -4,9 +4,9 @@ import ( "context" "encoding/json" - ec "github.com/RafayLabs/rcloud-base/pkg/common" - q "github.com/RafayLabs/rcloud-base/pkg/service" - v1 "github.com/RafayLabs/rcloud-base/proto/rpc/audit" + ec "github.com/paralus/paralus/pkg/common" + q "github.com/paralus/paralus/pkg/service" + v1 "github.com/paralus/paralus/proto/rpc/audit" ) type relayAuditServer struct { diff --git a/server/relaypeerclient.go b/server/relaypeerclient.go index 99c11ff..f6dbf5d 100644 --- a/server/relaypeerclient.go +++ b/server/relaypeerclient.go @@ -10,7 +10,7 @@ import ( "regexp" "time" - relayrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" + relayrpc "github.com/paralus/paralus/proto/rpc/sentry" "github.com/dgraph-io/ristretto" ) diff --git a/server/relaypeerservice.go b/server/relaypeerservice.go index 5a813fe..83a9390 100644 --- a/server/relaypeerservice.go +++ b/server/relaypeerservice.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/RafayLabs/rcloud-base/pkg/grpc" - sentryrpc "github.com/RafayLabs/rcloud-base/proto/rpc/sentry" + "github.com/paralus/paralus/pkg/grpc" + sentryrpc "github.com/paralus/paralus/proto/rpc/sentry" "github.com/dgraph-io/ristretto" "github.com/google/uuid" ) diff --git a/server/role.go b/server/role.go index a9e5761..e811f23 100644 --- a/server/role.go +++ b/server/role.go @@ -3,10 +3,10 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/service" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/role" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - rolepbv3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + "github.com/paralus/paralus/pkg/service" + rpcv3 "github.com/paralus/paralus/proto/rpc/role" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + rolepbv3 "github.com/paralus/paralus/proto/types/rolepb/v3" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/rolepermission.go b/server/rolepermission.go index d34d084..25b4fb1 100644 --- a/server/rolepermission.go +++ b/server/rolepermission.go @@ -3,11 +3,11 @@ package server import ( "context" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/service" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/role" - commonv3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - rolepbv3 "github.com/RafayLabs/rcloud-base/proto/types/rolepb/v3" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/service" + rpcv3 "github.com/paralus/paralus/proto/rpc/role" + commonv3 "github.com/paralus/paralus/proto/types/commonpb/v3" + rolepbv3 "github.com/paralus/paralus/proto/types/rolepb/v3" ) type rolepermissionServer struct { diff --git a/server/user.go b/server/user.go index 06d999c..341063a 100644 --- a/server/user.go +++ b/server/user.go @@ -5,11 +5,11 @@ import ( "encoding/json" "fmt" - "github.com/RafayLabs/rcloud-base/pkg/query" - "github.com/RafayLabs/rcloud-base/pkg/service" - rpcv3 "github.com/RafayLabs/rcloud-base/proto/rpc/user" - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" - userpbv3 "github.com/RafayLabs/rcloud-base/proto/types/userpb/v3" + "github.com/paralus/paralus/pkg/query" + "github.com/paralus/paralus/pkg/service" + rpcv3 "github.com/paralus/paralus/proto/rpc/user" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" + userpbv3 "github.com/paralus/paralus/proto/types/userpb/v3" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/server/utils.go b/server/utils.go index e39f06c..cf6f485 100644 --- a/server/utils.go +++ b/server/utils.go @@ -1,7 +1,7 @@ package server import ( - v3 "github.com/RafayLabs/rcloud-base/proto/types/commonpb/v3" + v3 "github.com/paralus/paralus/proto/types/commonpb/v3" "google.golang.org/protobuf/types/known/timestamppb" )