chore: replace vmware-tanzu/velero org references

Agent-Logs-Url: https://github.com/velero-io/velero/sessions/e8c22e84-a488-4645-a0e1-aea5a2926503

Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-22 07:38:02 +00:00
committed by GitHub
co-authored by kaovilai
parent d987388698
commit 0b7eaaf4e6
1309 changed files with 4405 additions and 4405 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"github.com/RoaringBitmap/roaring"
"github.com/vmware-tanzu/velero/pkg/uploader/cbt/types"
"github.com/velero-io/velero/pkg/uploader/cbt/types"
)
const (
+2 -2
View File
@@ -21,8 +21,8 @@ import (
"github.com/pkg/errors"
"github.com/vmware-tanzu/velero/pkg/cbtservice"
"github.com/vmware-tanzu/velero/pkg/uploader/cbt/types"
"github.com/velero-io/velero/pkg/cbtservice"
"github.com/velero-io/velero/pkg/uploader/cbt/types"
)
// SetBitmapOrFull translates the allocated/changed blocks from CBT service to the given bitmap or set the bitmap to full when error happens
+3 -3
View File
@@ -24,9 +24,9 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"github.com/vmware-tanzu/velero/pkg/cbtservice"
cbtservicemocks "github.com/vmware-tanzu/velero/pkg/cbtservice/mocks"
cbtmocks "github.com/vmware-tanzu/velero/pkg/uploader/cbt/types/mocks"
"github.com/velero-io/velero/pkg/cbtservice"
cbtservicemocks "github.com/velero-io/velero/pkg/cbtservice/mocks"
cbtmocks "github.com/velero-io/velero/pkg/uploader/cbt/types/mocks"
)
func TestSetBitmapOrFull(t *testing.T) {
+1 -1
View File
@@ -6,7 +6,7 @@ package mocks
import (
mock "github.com/stretchr/testify/mock"
"github.com/vmware-tanzu/velero/pkg/uploader/cbt/types"
"github.com/velero-io/velero/pkg/uploader/cbt/types"
)
// NewBitmap creates a new instance of Bitmap. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"github.com/sirupsen/logrus"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/uploader"
"github.com/kopia/kopia/snapshot/upload"
)
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/uploader"
)
type fakeProgressUpdater struct{}
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/pkg/errors"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
"github.com/velero-io/velero/pkg/repository/udmrepo"
"github.com/kopia/kopia/repo"
"github.com/kopia/kopia/repo/content"
+2 -2
View File
@@ -30,8 +30,8 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/mocks"
"github.com/velero-io/velero/pkg/repository/udmrepo"
"github.com/velero-io/velero/pkg/repository/udmrepo/mocks"
)
func TestShimRepo(t *testing.T) {
+4 -4
View File
@@ -38,10 +38,10 @@ import (
"github.com/kopia/kopia/snapshot/snapshotfs"
"github.com/pkg/errors"
"github.com/vmware-tanzu/velero/pkg/kopia"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
"github.com/vmware-tanzu/velero/pkg/uploader"
uploaderutil "github.com/vmware-tanzu/velero/pkg/uploader/util"
"github.com/velero-io/velero/pkg/kopia"
"github.com/velero-io/velero/pkg/repository/udmrepo"
"github.com/velero-io/velero/pkg/uploader"
uploaderutil "github.com/velero-io/velero/pkg/uploader/util"
)
// All function mainly used to make testing more convenient
+3 -3
View File
@@ -36,9 +36,9 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
repomocks "github.com/vmware-tanzu/velero/pkg/repository/mocks"
"github.com/vmware-tanzu/velero/pkg/uploader"
uploadermocks "github.com/vmware-tanzu/velero/pkg/uploader/mocks"
repomocks "github.com/velero-io/velero/pkg/repository/mocks"
"github.com/velero-io/velero/pkg/uploader"
uploadermocks "github.com/velero-io/velero/pkg/uploader/mocks"
)
type snapshotMockes struct {
+5 -5
View File
@@ -23,11 +23,11 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/vmware-tanzu/velero/internal/credentials"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
repokeys "github.com/vmware-tanzu/velero/pkg/repository/keys"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/velero-io/velero/internal/credentials"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
repokeys "github.com/velero-io/velero/pkg/repository/keys"
"github.com/velero-io/velero/pkg/repository/udmrepo"
"github.com/velero-io/velero/pkg/uploader"
)
type blockProvider struct {
+6 -6
View File
@@ -26,12 +26,12 @@ import (
"github.com/stretchr/testify/require"
corev1api "k8s.io/api/core/v1"
"github.com/vmware-tanzu/velero/internal/credentials"
"github.com/vmware-tanzu/velero/internal/credentials/mocks"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/repository"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
udmrepomocks "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/mocks"
"github.com/velero-io/velero/internal/credentials"
"github.com/velero-io/velero/internal/credentials/mocks"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/repository"
"github.com/velero-io/velero/pkg/repository/udmrepo"
udmrepomocks "github.com/velero-io/velero/pkg/repository/udmrepo/mocks"
)
func TestNewBlockUploaderProvider(t *testing.T) {
+7 -7
View File
@@ -26,14 +26,14 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/vmware-tanzu/velero/pkg/uploader/kopia"
"github.com/velero-io/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/uploader/kopia"
"github.com/vmware-tanzu/velero/internal/credentials"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
repokeys "github.com/vmware-tanzu/velero/pkg/repository/keys"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/service"
"github.com/velero-io/velero/internal/credentials"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
repokeys "github.com/velero-io/velero/pkg/repository/keys"
"github.com/velero-io/velero/pkg/repository/udmrepo"
"github.com/velero-io/velero/pkg/repository/udmrepo/service"
)
// BackupFunc mainly used to make testing more convenient
+9 -9
View File
@@ -33,15 +33,15 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/client/fake"
"github.com/vmware-tanzu/velero/internal/credentials"
"github.com/vmware-tanzu/velero/internal/credentials/mocks"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/repository"
udmrepo "github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
udmrepomocks "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/mocks"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/vmware-tanzu/velero/pkg/uploader/kopia"
"github.com/vmware-tanzu/velero/pkg/util"
"github.com/velero-io/velero/internal/credentials"
"github.com/velero-io/velero/internal/credentials/mocks"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/repository"
udmrepo "github.com/velero-io/velero/pkg/repository/udmrepo"
udmrepomocks "github.com/velero-io/velero/pkg/repository/udmrepo/mocks"
"github.com/velero-io/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/uploader/kopia"
"github.com/velero-io/velero/pkg/util"
)
type FakeBackupProgressUpdater struct {
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"context"
mock "github.com/stretchr/testify/mock"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/vmware-tanzu/velero/pkg/uploader/provider"
"github.com/velero-io/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/uploader/provider"
)
// NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
+4 -4
View File
@@ -27,10 +27,10 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"github.com/vmware-tanzu/velero/internal/credentials"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/cbtservice"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/velero-io/velero/internal/credentials"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/cbtservice"
"github.com/velero-io/velero/pkg/uploader"
)
const restoreProgressCheckInterval = 10 * time.Second
+4 -4
View File
@@ -25,10 +25,10 @@ import (
corev1api "k8s.io/api/core/v1"
"sigs.k8s.io/controller-runtime/pkg/client/fake"
"github.com/vmware-tanzu/velero/internal/credentials"
"github.com/vmware-tanzu/velero/internal/credentials/mocks"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/util"
"github.com/velero-io/velero/internal/credentials"
"github.com/velero-io/velero/internal/credentials/mocks"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/util"
)
type NewUploaderProviderTestCase struct {
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"github.com/pkg/errors"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
)
const (
+1 -1
View File
@@ -22,7 +22,7 @@ import (
"github.com/pkg/errors"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
)
func TestStoreBackupConfig(t *testing.T) {