chore: narrow PR scope to site docs updates

Agent-Logs-Url: https://github.com/velero-io/velero/sessions/3fa04f71-b7a9-47d5-b881-fb3cd9226d98

Co-authored-by: blackpiglet <59276555+blackpiglet@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-25 05:35:00 +00:00
committed by GitHub
co-authored by blackpiglet
parent fb603765e2
commit a34a676fa3
713 changed files with 2900 additions and 2900 deletions
+10 -10
View File
@@ -24,14 +24,14 @@ import (
"github.com/sirupsen/logrus"
"sigs.k8s.io/controller-runtime/pkg/client"
"github.com/velero-io/velero/internal/credentials"
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/repository"
repokey "github.com/velero-io/velero/pkg/repository/keys"
repoProvider "github.com/velero-io/velero/pkg/repository/provider"
"github.com/velero-io/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/uploader/provider"
"github.com/velero-io/velero/pkg/util/filesystem"
"github.com/vmware-tanzu/velero/internal/credentials"
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/repository"
repokey "github.com/vmware-tanzu/velero/pkg/repository/keys"
repoProvider "github.com/vmware-tanzu/velero/pkg/repository/provider"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/vmware-tanzu/velero/pkg/uploader/provider"
"github.com/vmware-tanzu/velero/pkg/util/filesystem"
)
// InitParam define the input param for data path init
@@ -167,7 +167,7 @@ func (dp *generalDataPath) close(ctx context.Context) {
func (dp *generalDataPath) StartBackup(source AccessPoint, uploaderConfig map[string]string, param any) error {
if !dp.initialized {
return errors.New("data path is not initialized")
return errors.New("file system data path is not initialized")
}
dp.wgDataPath.Add(1)
@@ -243,7 +243,7 @@ func (dp *generalDataPath) UpdateProgress(p *uploader.Progress) {
func (dp *generalDataPath) Cancel() {
dp.cancel()
dp.log.WithField("user", dp.jobName).Info("Data path is canceled")
dp.log.WithField("user", dp.jobName).Info("FileSystemBR is canceled")
}
func (dp *generalDataPath) boostRepoConnect(ctx context.Context, repositoryType string, credentialGetter *credentials.CredentialGetter, cacheDir string) error {
+3 -3
View File
@@ -25,9 +25,9 @@ import (
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
velerotest "github.com/velero-io/velero/pkg/test"
"github.com/velero-io/velero/pkg/uploader/provider"
providerMock "github.com/velero-io/velero/pkg/uploader/provider/mocks"
velerotest "github.com/vmware-tanzu/velero/pkg/test"
"github.com/vmware-tanzu/velero/pkg/uploader/provider"
providerMock "github.com/vmware-tanzu/velero/pkg/uploader/provider/mocks"
)
func TestAsyncBackup(t *testing.T) {
+3 -3
View File
@@ -32,13 +32,13 @@ import (
"k8s.io/client-go/tools/cache"
"sigs.k8s.io/controller-runtime/pkg/client"
"github.com/velero-io/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/util/kube"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/vmware-tanzu/velero/pkg/util/kube"
ctrlcache "sigs.k8s.io/controller-runtime/pkg/cache"
"sigs.k8s.io/controller-runtime/pkg/manager"
"github.com/velero-io/velero/pkg/util/logging"
"github.com/vmware-tanzu/velero/pkg/util/logging"
)
const (
+4 -4
View File
@@ -36,10 +36,10 @@ import (
corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
"sigs.k8s.io/controller-runtime/pkg/client/fake"
"github.com/velero-io/velero/pkg/builder"
velerotest "github.com/velero-io/velero/pkg/test"
"github.com/velero-io/velero/pkg/uploader"
"github.com/velero-io/velero/pkg/util/logging"
"github.com/vmware-tanzu/velero/pkg/builder"
velerotest "github.com/vmware-tanzu/velero/pkg/test"
"github.com/vmware-tanzu/velero/pkg/uploader"
"github.com/vmware-tanzu/velero/pkg/util/logging"
)
func TestReEnsureThisPod(t *testing.T) {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
context "context"
mock "github.com/stretchr/testify/mock"
datapath "github.com/velero-io/velero/pkg/datapath"
datapath "github.com/vmware-tanzu/velero/pkg/datapath"
)
// AsyncBR is an autogenerated mock type for the AsyncBR type
+1 -1
View File
@@ -19,7 +19,7 @@ package datapath
import (
"context"
"github.com/velero-io/velero/pkg/uploader"
"github.com/vmware-tanzu/velero/pkg/uploader"
)
// Result represents the result of a backup/restore