mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-10 18:16:29 +00:00
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:
co-authored by
kaovilai
parent
d987388698
commit
0b7eaaf4e6
@@ -25,8 +25,8 @@ import (
|
||||
"k8s.io/apimachinery/pkg/labels"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
"github.com/vmware-tanzu/velero/pkg/label"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
"github.com/velero-io/velero/pkg/label"
|
||||
)
|
||||
|
||||
// A BackupRepositoryKey uniquely identify a backup repository
|
||||
|
||||
@@ -29,9 +29,9 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
)
|
||||
|
||||
func buildBackupRepo(key BackupRepositoryKey, phase velerov1api.BackupRepositoryPhase, seqNum string) velerov1api.BackupRepository {
|
||||
|
||||
@@ -19,7 +19,7 @@ package config
|
||||
import (
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/util/azure"
|
||||
"github.com/velero-io/velero/pkg/util/azure"
|
||||
)
|
||||
|
||||
// GetAzureResticEnvVars gets the environment variables that restic
|
||||
|
||||
@@ -21,7 +21,7 @@ import (
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/util/azure"
|
||||
"github.com/velero-io/velero/pkg/util/azure"
|
||||
)
|
||||
|
||||
func TestGetAzureResticEnvVars(t *testing.T) {
|
||||
|
||||
@@ -27,7 +27,7 @@ import (
|
||||
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
|
||||
apierrors "k8s.io/apimachinery/pkg/api/errors"
|
||||
)
|
||||
|
||||
@@ -26,8 +26,8 @@ import (
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client/fake"
|
||||
|
||||
velerov1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerov1 "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
)
|
||||
|
||||
func TestEnsureRepo(t *testing.T) {
|
||||
|
||||
@@ -26,7 +26,7 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
corev1client "k8s.io/client-go/kubernetes/typed/core/v1"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/builder"
|
||||
"github.com/velero-io/velero/pkg/builder"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -37,14 +37,14 @@ import (
|
||||
"k8s.io/apimachinery/pkg/util/wait"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
"github.com/vmware-tanzu/velero/pkg/constant"
|
||||
velerolabel "github.com/vmware-tanzu/velero/pkg/label"
|
||||
velerotypes "github.com/vmware-tanzu/velero/pkg/types"
|
||||
"github.com/vmware-tanzu/velero/pkg/util"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/kube"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/logging"
|
||||
veleroutil "github.com/vmware-tanzu/velero/pkg/util/velero"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
"github.com/velero-io/velero/pkg/constant"
|
||||
velerolabel "github.com/velero-io/velero/pkg/label"
|
||||
velerotypes "github.com/velero-io/velero/pkg/types"
|
||||
"github.com/velero-io/velero/pkg/util"
|
||||
"github.com/velero-io/velero/pkg/util/kube"
|
||||
"github.com/velero-io/velero/pkg/util/logging"
|
||||
veleroutil "github.com/velero-io/velero/pkg/util/velero"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -38,15 +38,15 @@ import (
|
||||
"sigs.k8s.io/controller-runtime/pkg/client"
|
||||
"sigs.k8s.io/controller-runtime/pkg/client/fake"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
"github.com/vmware-tanzu/velero/pkg/builder"
|
||||
velerolabel "github.com/vmware-tanzu/velero/pkg/label"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/provider"
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotypes "github.com/vmware-tanzu/velero/pkg/types"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/boolptr"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/kube"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/logging"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
"github.com/velero-io/velero/pkg/builder"
|
||||
velerolabel "github.com/velero-io/velero/pkg/label"
|
||||
"github.com/velero-io/velero/pkg/repository/provider"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
velerotypes "github.com/velero-io/velero/pkg/types"
|
||||
"github.com/velero-io/velero/pkg/util/boolptr"
|
||||
"github.com/velero-io/velero/pkg/util/kube"
|
||||
"github.com/velero-io/velero/pkg/util/logging"
|
||||
)
|
||||
|
||||
func TestGenerateJobName(t *testing.T) {
|
||||
|
||||
@@ -25,11 +25,11 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
"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/repository"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/provider"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/filesystem"
|
||||
"github.com/velero-io/velero/internal/credentials"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
"github.com/velero-io/velero/pkg/repository"
|
||||
"github.com/velero-io/velero/pkg/repository/provider"
|
||||
"github.com/velero-io/velero/pkg/util/filesystem"
|
||||
)
|
||||
|
||||
// Manager manages backup repositories.
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
kbclient "sigs.k8s.io/controller-runtime/pkg/client"
|
||||
|
||||
velerov1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
velerov1 "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
)
|
||||
|
||||
func TestGetRepositoryProvider(t *testing.T) {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
time "time"
|
||||
|
||||
v1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
v1 "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
)
|
||||
|
||||
// Manager is an autogenerated mock type for the Manager type
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
)
|
||||
|
||||
// RepoParam includes the parameters to manipulate a backup repository
|
||||
|
||||
@@ -30,12 +30,12 @@ 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"
|
||||
repoconfig "github.com/vmware-tanzu/velero/pkg/repository/config"
|
||||
repokey "github.com/vmware-tanzu/velero/pkg/repository/keys"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
reposervice "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"
|
||||
repoconfig "github.com/velero-io/velero/pkg/repository/config"
|
||||
repokey "github.com/velero-io/velero/pkg/repository/keys"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
reposervice "github.com/velero-io/velero/pkg/repository/udmrepo/service"
|
||||
)
|
||||
|
||||
type unifiedRepoProvider struct {
|
||||
|
||||
@@ -30,12 +30,12 @@ import (
|
||||
corev1api "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
||||
velerocredentials "github.com/vmware-tanzu/velero/internal/credentials"
|
||||
credmock "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"
|
||||
reposervicenmocks "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/mocks"
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerocredentials "github.com/velero-io/velero/internal/credentials"
|
||||
credmock "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"
|
||||
reposervicenmocks "github.com/velero-io/velero/pkg/repository/udmrepo/mocks"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
)
|
||||
|
||||
func TestGetStorageCredentials(t *testing.T) {
|
||||
|
||||
@@ -23,9 +23,9 @@ import (
|
||||
|
||||
"github.com/kopia/kopia/repo/blob"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/azure"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/azure"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
)
|
||||
|
||||
type AzureBackend struct {
|
||||
|
||||
@@ -23,9 +23,9 @@ import (
|
||||
"github.com/kopia/kopia/repo/blob/azure"
|
||||
"github.com/kopia/kopia/repo/blob/throttling"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
azureutil "github.com/vmware-tanzu/velero/pkg/util/azure"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
azureutil "github.com/velero-io/velero/pkg/util/azure"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -19,13 +19,13 @@ package backend
|
||||
import (
|
||||
"testing"
|
||||
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
|
||||
"github.com/kopia/kopia/repo/blob/throttling"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
func TestAzureSetup(t *testing.T) {
|
||||
|
||||
@@ -29,7 +29,7 @@ import (
|
||||
"github.com/kopia/kopia/repo/hashing"
|
||||
"github.com/kopia/kopia/repo/splitter"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -28,7 +28,7 @@ import (
|
||||
"github.com/kopia/kopia/repo/splitter"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
func TestSetupNewRepositoryOptions(t *testing.T) {
|
||||
|
||||
@@ -27,8 +27,8 @@ import (
|
||||
"github.com/kopia/kopia/repo/blob/filesystem"
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
)
|
||||
|
||||
type FsBackend struct {
|
||||
|
||||
@@ -19,13 +19,13 @@ package backend
|
||||
import (
|
||||
"testing"
|
||||
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
|
||||
"github.com/kopia/kopia/repo/blob/filesystem"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
func TestFSSetup(t *testing.T) {
|
||||
|
||||
@@ -24,8 +24,8 @@ import (
|
||||
"github.com/kopia/kopia/repo/blob"
|
||||
"github.com/kopia/kopia/repo/blob/gcs"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
)
|
||||
|
||||
type GCSBackend struct {
|
||||
|
||||
@@ -19,13 +19,13 @@ package backend
|
||||
import (
|
||||
"testing"
|
||||
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
|
||||
"github.com/kopia/kopia/repo/blob/gcs"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
func TestGcsSetup(t *testing.T) {
|
||||
|
||||
@@ -24,8 +24,8 @@ import (
|
||||
"github.com/kopia/kopia/repo/blob"
|
||||
"github.com/kopia/kopia/repo/blob/s3"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/logging"
|
||||
)
|
||||
|
||||
type S3Backend struct {
|
||||
|
||||
@@ -19,12 +19,12 @@ package backend
|
||||
import (
|
||||
"testing"
|
||||
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
|
||||
"github.com/kopia/kopia/repo/blob/s3"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
func TestS3Setup(t *testing.T) {
|
||||
|
||||
@@ -25,7 +25,7 @@ import (
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zapcore"
|
||||
|
||||
storagemocks "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
storagemocks "github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
)
|
||||
|
||||
func TestOptionalHaveBool(t *testing.T) {
|
||||
|
||||
@@ -38,9 +38,9 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/kopia"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend"
|
||||
"github.com/velero-io/velero/pkg/kopia"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend"
|
||||
)
|
||||
|
||||
type kopiaRepoService struct {
|
||||
|
||||
@@ -36,10 +36,10 @@ import (
|
||||
"github.com/stretchr/testify/mock"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
repomocks "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
repomocks "github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
)
|
||||
|
||||
func TestOpen(t *testing.T) {
|
||||
|
||||
@@ -32,9 +32,9 @@ import (
|
||||
"github.com/kopia/kopia/repo/maintenance"
|
||||
"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/repository/udmrepo/kopialib/backend"
|
||||
"github.com/velero-io/velero/pkg/kopia"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend"
|
||||
)
|
||||
|
||||
type kopiaBackendStore struct {
|
||||
|
||||
@@ -27,16 +27,16 @@ import (
|
||||
"github.com/kopia/kopia/repo/maintenance"
|
||||
"github.com/kopia/kopia/repo/manifest"
|
||||
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"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/kopialib/backend"
|
||||
repomocks "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
storagemocks "github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend"
|
||||
repomocks "github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
storagemocks "github.com/velero-io/velero/pkg/repository/udmrepo/kopialib/backend/mocks"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"time"
|
||||
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
// NewBackupRepo creates a new instance of BackupRepo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"time"
|
||||
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
// NewBackupRepoService creates a new instance of BackupRepoService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
|
||||
|
||||
@@ -6,7 +6,7 @@ package mocks
|
||||
|
||||
import (
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
)
|
||||
|
||||
// NewObjectWriter creates a new instance of ObjectWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
|
||||
|
||||
@@ -19,8 +19,8 @@ package service
|
||||
import (
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository/udmrepo/kopialib"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo"
|
||||
"github.com/velero-io/velero/pkg/repository/udmrepo/kopialib"
|
||||
)
|
||||
|
||||
// Create creates an instance of BackupRepoService
|
||||
|
||||
Reference in New Issue
Block a user