mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-19 06:26:44 +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
@@ -5,18 +5,18 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/spf13/pflag"
|
||||
|
||||
"github.com/vmware-tanzu/velero/internal/credentials"
|
||||
"github.com/vmware-tanzu/velero/pkg/cmd/util/flag"
|
||||
"github.com/vmware-tanzu/velero/pkg/constant"
|
||||
podvolumeconfigs "github.com/vmware-tanzu/velero/pkg/podvolume/configs"
|
||||
"github.com/vmware-tanzu/velero/pkg/types"
|
||||
"github.com/vmware-tanzu/velero/pkg/uploader"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/logging"
|
||||
"github.com/velero-io/velero/internal/credentials"
|
||||
"github.com/velero-io/velero/pkg/cmd/util/flag"
|
||||
"github.com/velero-io/velero/pkg/constant"
|
||||
podvolumeconfigs "github.com/velero-io/velero/pkg/podvolume/configs"
|
||||
"github.com/velero-io/velero/pkg/types"
|
||||
"github.com/velero-io/velero/pkg/uploader"
|
||||
"github.com/velero-io/velero/pkg/util/logging"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -21,22 +21,22 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
apiextensions "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset"
|
||||
|
||||
"github.com/vmware-tanzu/velero/pkg/constant"
|
||||
"github.com/vmware-tanzu/velero/pkg/datamover"
|
||||
"github.com/velero-io/velero/pkg/constant"
|
||||
"github.com/velero-io/velero/pkg/datamover"
|
||||
|
||||
dia "github.com/vmware-tanzu/velero/internal/delete/actions/csi"
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
bia "github.com/vmware-tanzu/velero/pkg/backup/actions"
|
||||
csibia "github.com/vmware-tanzu/velero/pkg/backup/actions/csi"
|
||||
"github.com/vmware-tanzu/velero/pkg/client"
|
||||
velerodiscovery "github.com/vmware-tanzu/velero/pkg/discovery"
|
||||
"github.com/vmware-tanzu/velero/pkg/features"
|
||||
iba "github.com/vmware-tanzu/velero/pkg/itemblock/actions"
|
||||
veleroplugin "github.com/vmware-tanzu/velero/pkg/plugin/framework"
|
||||
plugincommon "github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
|
||||
ria "github.com/vmware-tanzu/velero/pkg/restore/actions"
|
||||
csiria "github.com/vmware-tanzu/velero/pkg/restore/actions/csi"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/actionhelpers"
|
||||
dia "github.com/velero-io/velero/internal/delete/actions/csi"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
bia "github.com/velero-io/velero/pkg/backup/actions"
|
||||
csibia "github.com/velero-io/velero/pkg/backup/actions/csi"
|
||||
"github.com/velero-io/velero/pkg/client"
|
||||
velerodiscovery "github.com/velero-io/velero/pkg/discovery"
|
||||
"github.com/velero-io/velero/pkg/features"
|
||||
iba "github.com/velero-io/velero/pkg/itemblock/actions"
|
||||
veleroplugin "github.com/velero-io/velero/pkg/plugin/framework"
|
||||
plugincommon "github.com/velero-io/velero/pkg/plugin/framework/common"
|
||||
ria "github.com/velero-io/velero/pkg/restore/actions"
|
||||
csiria "github.com/velero-io/velero/pkg/restore/actions/csi"
|
||||
"github.com/velero-io/velero/pkg/util/actionhelpers"
|
||||
)
|
||||
|
||||
func NewCommand(f client.Factory) *cobra.Command {
|
||||
|
||||
+32
-32
@@ -55,38 +55,38 @@ import (
|
||||
ctrlclient "sigs.k8s.io/controller-runtime/pkg/client"
|
||||
"sigs.k8s.io/controller-runtime/pkg/manager"
|
||||
|
||||
"github.com/vmware-tanzu/velero/internal/credentials"
|
||||
"github.com/vmware-tanzu/velero/internal/hook"
|
||||
"github.com/vmware-tanzu/velero/internal/storage"
|
||||
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
|
||||
velerov2alpha1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v2alpha1"
|
||||
"github.com/vmware-tanzu/velero/pkg/backup"
|
||||
"github.com/vmware-tanzu/velero/pkg/buildinfo"
|
||||
"github.com/vmware-tanzu/velero/pkg/client"
|
||||
"github.com/vmware-tanzu/velero/pkg/cmd"
|
||||
"github.com/vmware-tanzu/velero/pkg/cmd/server/config"
|
||||
"github.com/vmware-tanzu/velero/pkg/cmd/util/signals"
|
||||
"github.com/vmware-tanzu/velero/pkg/constant"
|
||||
"github.com/vmware-tanzu/velero/pkg/controller"
|
||||
velerodiscovery "github.com/vmware-tanzu/velero/pkg/discovery"
|
||||
"github.com/vmware-tanzu/velero/pkg/features"
|
||||
"github.com/vmware-tanzu/velero/pkg/itemoperationmap"
|
||||
"github.com/vmware-tanzu/velero/pkg/metrics"
|
||||
"github.com/vmware-tanzu/velero/pkg/nodeagent"
|
||||
"github.com/vmware-tanzu/velero/pkg/persistence"
|
||||
"github.com/vmware-tanzu/velero/pkg/plugin/clientmgmt"
|
||||
"github.com/vmware-tanzu/velero/pkg/plugin/clientmgmt/process"
|
||||
"github.com/vmware-tanzu/velero/pkg/podexec"
|
||||
"github.com/vmware-tanzu/velero/pkg/podvolume"
|
||||
"github.com/vmware-tanzu/velero/pkg/repository"
|
||||
repokey "github.com/vmware-tanzu/velero/pkg/repository/keys"
|
||||
repomanager "github.com/vmware-tanzu/velero/pkg/repository/manager"
|
||||
"github.com/vmware-tanzu/velero/pkg/restore"
|
||||
velerotypes "github.com/vmware-tanzu/velero/pkg/types"
|
||||
"github.com/vmware-tanzu/velero/pkg/uploader"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/filesystem"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/kube"
|
||||
"github.com/vmware-tanzu/velero/pkg/util/logging"
|
||||
"github.com/velero-io/velero/internal/credentials"
|
||||
"github.com/velero-io/velero/internal/hook"
|
||||
"github.com/velero-io/velero/internal/storage"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
velerov2alpha1api "github.com/velero-io/velero/pkg/apis/velero/v2alpha1"
|
||||
"github.com/velero-io/velero/pkg/backup"
|
||||
"github.com/velero-io/velero/pkg/buildinfo"
|
||||
"github.com/velero-io/velero/pkg/client"
|
||||
"github.com/velero-io/velero/pkg/cmd"
|
||||
"github.com/velero-io/velero/pkg/cmd/server/config"
|
||||
"github.com/velero-io/velero/pkg/cmd/util/signals"
|
||||
"github.com/velero-io/velero/pkg/constant"
|
||||
"github.com/velero-io/velero/pkg/controller"
|
||||
velerodiscovery "github.com/velero-io/velero/pkg/discovery"
|
||||
"github.com/velero-io/velero/pkg/features"
|
||||
"github.com/velero-io/velero/pkg/itemoperationmap"
|
||||
"github.com/velero-io/velero/pkg/metrics"
|
||||
"github.com/velero-io/velero/pkg/nodeagent"
|
||||
"github.com/velero-io/velero/pkg/persistence"
|
||||
"github.com/velero-io/velero/pkg/plugin/clientmgmt"
|
||||
"github.com/velero-io/velero/pkg/plugin/clientmgmt/process"
|
||||
"github.com/velero-io/velero/pkg/podexec"
|
||||
"github.com/velero-io/velero/pkg/podvolume"
|
||||
"github.com/velero-io/velero/pkg/repository"
|
||||
repokey "github.com/velero-io/velero/pkg/repository/keys"
|
||||
repomanager "github.com/velero-io/velero/pkg/repository/manager"
|
||||
"github.com/velero-io/velero/pkg/restore"
|
||||
velerotypes "github.com/velero-io/velero/pkg/types"
|
||||
"github.com/velero-io/velero/pkg/uploader"
|
||||
"github.com/velero-io/velero/pkg/util/filesystem"
|
||||
"github.com/velero-io/velero/pkg/util/kube"
|
||||
"github.com/velero-io/velero/pkg/util/logging"
|
||||
)
|
||||
|
||||
func NewCommand(f client.Factory) *cobra.Command {
|
||||
|
||||
@@ -31,15 +31,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"
|
||||
velerov2alpha1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v2alpha1"
|
||||
"github.com/vmware-tanzu/velero/pkg/builder"
|
||||
"github.com/vmware-tanzu/velero/pkg/client/mocks"
|
||||
"github.com/vmware-tanzu/velero/pkg/cmd/server/config"
|
||||
"github.com/vmware-tanzu/velero/pkg/constant"
|
||||
discovery_mocks "github.com/vmware-tanzu/velero/pkg/discovery/mocks"
|
||||
velerotest "github.com/vmware-tanzu/velero/pkg/test"
|
||||
"github.com/vmware-tanzu/velero/pkg/uploader"
|
||||
velerov1api "github.com/velero-io/velero/pkg/apis/velero/v1"
|
||||
velerov2alpha1api "github.com/velero-io/velero/pkg/apis/velero/v2alpha1"
|
||||
"github.com/velero-io/velero/pkg/builder"
|
||||
"github.com/velero-io/velero/pkg/client/mocks"
|
||||
"github.com/velero-io/velero/pkg/cmd/server/config"
|
||||
"github.com/velero-io/velero/pkg/constant"
|
||||
discovery_mocks "github.com/velero-io/velero/pkg/discovery/mocks"
|
||||
velerotest "github.com/velero-io/velero/pkg/test"
|
||||
"github.com/velero-io/velero/pkg/uploader"
|
||||
)
|
||||
|
||||
func TestVeleroResourcesExist(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user