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
+8 -8
View File
@@ -23,14 +23,14 @@ import (
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/runtime/schema"
"github.com/vmware-tanzu/velero/pkg/discovery"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
biav1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/backupitemaction/v1"
biav2 "github.com/vmware-tanzu/velero/pkg/plugin/velero/backupitemaction/v2"
ibav1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/itemblockaction/v1"
riav1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/restoreitemaction/v1"
riav2 "github.com/vmware-tanzu/velero/pkg/plugin/velero/restoreitemaction/v2"
"github.com/vmware-tanzu/velero/pkg/util/collections"
"github.com/velero-io/velero/pkg/discovery"
"github.com/velero-io/velero/pkg/plugin/velero"
biav1 "github.com/velero-io/velero/pkg/plugin/velero/backupitemaction/v1"
biav2 "github.com/velero-io/velero/pkg/plugin/velero/backupitemaction/v2"
ibav1 "github.com/velero-io/velero/pkg/plugin/velero/itemblockaction/v1"
riav1 "github.com/velero-io/velero/pkg/plugin/velero/restoreitemaction/v1"
riav2 "github.com/velero-io/velero/pkg/plugin/velero/restoreitemaction/v2"
"github.com/velero-io/velero/pkg/util/collections"
)
/*
+2 -2
View File
@@ -24,8 +24,8 @@ import (
"github.com/stretchr/testify/require"
"k8s.io/apimachinery/pkg/runtime/schema"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
velerotest "github.com/vmware-tanzu/velero/pkg/test"
"github.com/velero-io/velero/pkg/plugin/velero"
velerotest "github.com/velero-io/velero/pkg/test"
)
type mockApplicable struct {
+2 -2
View File
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protobiav1 "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protobiav1 "github.com/velero-io/velero/pkg/plugin/generated"
)
// BackupItemActionPlugin is an implementation of go-plugin's Plugin
@@ -27,10 +27,10 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protobiav1 "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protobiav1 "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
)
// NewBackupItemActionPlugin constructs a BackupItemActionPlugin.
@@ -24,11 +24,11 @@ import (
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
biav1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/backupitemaction/v1"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
biav1 "github.com/velero-io/velero/pkg/plugin/velero/backupitemaction/v1"
)
// BackupItemActionGRPCServer implements the proto-generated BackupItemAction interface, and accepts
@@ -27,12 +27,12 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
mocks "github.com/vmware-tanzu/velero/pkg/plugin/velero/mocks/backupitemaction/v1"
velerotest "github.com/vmware-tanzu/velero/pkg/test"
v1 "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
mocks "github.com/velero-io/velero/pkg/plugin/velero/mocks/backupitemaction/v1"
velerotest "github.com/velero-io/velero/pkg/test"
)
func TestBackupItemActionGRPCServerExecute(t *testing.T) {
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protobiav2 "github.com/vmware-tanzu/velero/pkg/plugin/generated/backupitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protobiav2 "github.com/velero-io/velero/pkg/plugin/generated/backupitemaction/v2"
)
// BackupItemActionPlugin is an implementation of go-plugin's Plugin
@@ -27,10 +27,10 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protobiav2 "github.com/vmware-tanzu/velero/pkg/plugin/generated/backupitemaction/v2"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protobiav2 "github.com/velero-io/velero/pkg/plugin/generated/backupitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/velero"
)
// NewBackupItemActionPlugin constructs a BackupItemActionPlugin.
@@ -27,12 +27,12 @@ import (
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
protobiav2 "github.com/vmware-tanzu/velero/pkg/plugin/generated/backupitemaction/v2"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
biav2 "github.com/vmware-tanzu/velero/pkg/plugin/velero/backupitemaction/v2"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
protobiav2 "github.com/velero-io/velero/pkg/plugin/generated/backupitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/velero"
biav2 "github.com/velero-io/velero/pkg/plugin/velero/backupitemaction/v2"
)
// BackupItemActionGRPCServer implements the proto-generated BackupItemAction interface, and accepts
@@ -27,13 +27,13 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
protobiav2 "github.com/vmware-tanzu/velero/pkg/plugin/generated/backupitemaction/v2"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
mocks "github.com/vmware-tanzu/velero/pkg/plugin/velero/mocks/backupitemaction/v2"
velerotest "github.com/vmware-tanzu/velero/pkg/test"
v1 "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
protobiav2 "github.com/velero-io/velero/pkg/plugin/generated/backupitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/velero"
mocks "github.com/velero-io/velero/pkg/plugin/velero/mocks/backupitemaction/v2"
velerotest "github.com/velero-io/velero/pkg/test"
)
func TestBackupItemActionGRPCServerExecute(t *testing.T) {
@@ -22,7 +22,7 @@ import (
"github.com/stretchr/testify/require"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/test"
"github.com/velero-io/velero/pkg/test"
)
type fakeClient struct {
+1 -1
View File
@@ -19,7 +19,7 @@ package common
import (
"google.golang.org/grpc/status"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
// FromGRPCError takes a gRPC status error, extracts a stack trace
@@ -20,7 +20,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/vmware-tanzu/velero/pkg/test"
"github.com/velero-io/velero/pkg/test"
)
func TestClientLogger(t *testing.T) {
@@ -25,7 +25,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/client-go/kubernetes/fake"
velerov1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
velerov1 "github.com/velero-io/velero/pkg/apis/velero/v1"
)
func TestGetPluginConfig(t *testing.T) {
+2 -2
View File
@@ -22,8 +22,8 @@ import (
"google.golang.org/grpc/status"
"google.golang.org/protobuf/protoadapt"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/util/logging"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/util/logging"
)
// NewGRPCErrorWithCode wraps err in a gRPC status error with the error's stack trace
+2 -2
View File
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
// DeleteItemActionPlugin is an implementation of go-plugin's Plugin
@@ -24,9 +24,9 @@ import (
"github.com/pkg/errors"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
)
var _ velero.DeleteItemAction = &DeleteItemActionGRPCClient{}
@@ -24,10 +24,10 @@ import (
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
)
// DeleteItemActionGRPCServer implements the proto-generated DeleteItemActionServer interface, and accepts
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"github.com/sirupsen/logrus"
"k8s.io/apimachinery/pkg/runtime"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
"github.com/velero-io/velero/pkg/plugin/velero"
)
func ExampleNewServer_volumeSnapshotter() {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
// test that this package do not import cloud provider
// Prevent https://github.com/vmware-tanzu/velero/issues/8207 and https://github.com/vmware-tanzu/velero/issues/8157
// Prevent https://github.com/velero-io/velero/issues/8207 and https://github.com/velero-io/velero/issues/8157
func TestPkgImportNoCloudProvider(t *testing.T) {
_, filename, _, ok := runtime.Caller(0)
if !ok {
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protoibav1 "github.com/vmware-tanzu/velero/pkg/plugin/generated/itemblockaction/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protoibav1 "github.com/velero-io/velero/pkg/plugin/generated/itemblockaction/v1"
)
// ItemBlockActionPlugin is an implementation of go-plugin's Plugin
@@ -26,10 +26,10 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protoibav1 "github.com/vmware-tanzu/velero/pkg/plugin/generated/itemblockaction/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protoibav1 "github.com/velero-io/velero/pkg/plugin/generated/itemblockaction/v1"
"github.com/velero-io/velero/pkg/plugin/velero"
)
// NewItemBlockActionPlugin constructs a ItemBlockActionPlugin.
@@ -24,12 +24,12 @@ import (
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
protoibav1 "github.com/vmware-tanzu/velero/pkg/plugin/generated/itemblockaction/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
ibav1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/itemblockaction/v1"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
protoibav1 "github.com/velero-io/velero/pkg/plugin/generated/itemblockaction/v1"
"github.com/velero-io/velero/pkg/plugin/velero"
ibav1 "github.com/velero-io/velero/pkg/plugin/velero/itemblockaction/v1"
)
// ItemBlockActionGRPCServer implements the proto-generated ItemBlockAction interface, and accepts
@@ -26,13 +26,13 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime/schema"
v1 "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
protoibav1 "github.com/vmware-tanzu/velero/pkg/plugin/generated/itemblockaction/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
mocks "github.com/vmware-tanzu/velero/pkg/plugin/velero/mocks/itemblockaction/v1"
velerotest "github.com/vmware-tanzu/velero/pkg/test"
v1 "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
protoibav1 "github.com/velero-io/velero/pkg/plugin/generated/itemblockaction/v1"
"github.com/velero-io/velero/pkg/plugin/velero"
mocks "github.com/velero-io/velero/pkg/plugin/velero/mocks/itemblockaction/v1"
velerotest "github.com/velero-io/velero/pkg/test"
)
func TestItemBlockActionGRPCServerGetRelatedItems(t *testing.T) {
+1 -1
View File
@@ -19,7 +19,7 @@ package framework
import (
"github.com/sirupsen/logrus"
"github.com/vmware-tanzu/velero/pkg/util/logging"
"github.com/velero-io/velero/pkg/util/logging"
)
// newLogger returns a logger that is suitable for use within an
+1 -1
View File
@@ -21,7 +21,7 @@ import (
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/vmware-tanzu/velero/pkg/util/logging"
"github.com/velero-io/velero/pkg/util/logging"
)
func TestNewLogger(t *testing.T) {
+2 -2
View File
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
// ObjectStorePlugin is an implementation of go-plugin's Plugin
+2 -2
View File
@@ -25,8 +25,8 @@ import (
"github.com/pkg/errors"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
const byteChunkSize = 16384
+3 -3
View File
@@ -24,9 +24,9 @@ import (
"github.com/pkg/errors"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
)
// ObjectStoreGRPCServer implements the proto-generated ObjectStoreServer interface, and accepts
+2 -2
View File
@@ -23,8 +23,8 @@ import (
"github.com/pkg/errors"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
// PluginIdentifier uniquely identifies a plugin by command, kind, and name.
+2 -2
View File
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
// RestoreItemActionPlugin is an implementation of go-plugin's Plugin
@@ -26,10 +26,10 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime/schema"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
riav1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/restoreitemaction/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
riav1 "github.com/velero-io/velero/pkg/plugin/velero/restoreitemaction/v1"
)
var _ riav1.RestoreItemAction = &RestoreItemActionGRPCClient{}
@@ -24,11 +24,11 @@ import (
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
riav1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/restoreitemaction/v1"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/velero"
riav1 "github.com/velero-io/velero/pkg/plugin/velero/restoreitemaction/v1"
)
// RestoreItemActionGRPCServer implements the proto-generated RestoreItemActionServer interface, and accepts
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protoriav2 "github.com/vmware-tanzu/velero/pkg/plugin/generated/restoreitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protoriav2 "github.com/velero-io/velero/pkg/plugin/generated/restoreitemaction/v2"
)
// RestoreItemActionPlugin is an implementation of go-plugin's Plugin
@@ -26,11 +26,11 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime/schema"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
protoriav2 "github.com/vmware-tanzu/velero/pkg/plugin/generated/restoreitemaction/v2"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
riav2 "github.com/vmware-tanzu/velero/pkg/plugin/velero/restoreitemaction/v2"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
protoriav2 "github.com/velero-io/velero/pkg/plugin/generated/restoreitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/velero"
riav2 "github.com/velero-io/velero/pkg/plugin/velero/restoreitemaction/v2"
)
var _ riav2.RestoreItemAction = &RestoreItemActionGRPCClient{}
@@ -28,12 +28,12 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime/schema"
api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
protoriav2 "github.com/vmware-tanzu/velero/pkg/plugin/generated/restoreitemaction/v2"
"github.com/vmware-tanzu/velero/pkg/plugin/velero"
riav2 "github.com/vmware-tanzu/velero/pkg/plugin/velero/restoreitemaction/v2"
api "github.com/velero-io/velero/pkg/apis/velero/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
protoriav2 "github.com/velero-io/velero/pkg/plugin/generated/restoreitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/velero"
riav2 "github.com/velero-io/velero/pkg/plugin/velero/restoreitemaction/v2"
)
// RestoreItemActionGRPCServer implements the proto-generated RestoreItemActionServer interface, and accepts
+5 -5
View File
@@ -24,11 +24,11 @@ import (
"github.com/sirupsen/logrus"
"github.com/spf13/pflag"
"github.com/vmware-tanzu/velero/pkg/cmd/server/config"
biav2 "github.com/vmware-tanzu/velero/pkg/plugin/framework/backupitemaction/v2"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
ibav1 "github.com/vmware-tanzu/velero/pkg/plugin/framework/itemblockaction/v1"
riav2 "github.com/vmware-tanzu/velero/pkg/plugin/framework/restoreitemaction/v2"
"github.com/velero-io/velero/pkg/cmd/server/config"
biav2 "github.com/velero-io/velero/pkg/plugin/framework/backupitemaction/v2"
"github.com/velero-io/velero/pkg/plugin/framework/common"
ibav1 "github.com/velero-io/velero/pkg/plugin/framework/itemblockaction/v1"
riav2 "github.com/velero-io/velero/pkg/plugin/framework/restoreitemaction/v2"
)
// Server serves registered plugin implementations.
+2 -2
View File
@@ -22,8 +22,8 @@ import (
plugin "github.com/hashicorp/go-plugin"
"google.golang.org/grpc"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
// VolumeSnapshotterPlugin is an implementation of go-plugin's Plugin
@@ -26,8 +26,8 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
)
// NewVolumeSnapshotterPlugin constructs a VolumeSnapshotterPlugin.
@@ -24,9 +24,9 @@ import (
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"github.com/vmware-tanzu/velero/pkg/plugin/framework/common"
proto "github.com/vmware-tanzu/velero/pkg/plugin/generated"
vsv1 "github.com/vmware-tanzu/velero/pkg/plugin/velero/volumesnapshotter/v1"
"github.com/velero-io/velero/pkg/plugin/framework/common"
proto "github.com/velero-io/velero/pkg/plugin/generated"
vsv1 "github.com/velero-io/velero/pkg/plugin/velero/volumesnapshotter/v1"
)
// VolumeSnapshotterGRPCServer implements the proto-generated VolumeSnapshotterServer interface, and accepts