vgdp ms pvr controller

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
Lyndon-Li
2025-06-06 17:22:08 +08:00
parent b58dbcb0b8
commit 1f5436fe91
16 changed files with 1901 additions and 243 deletions

View File

@@ -0,0 +1,10 @@
package controller
import (
velerov1api "github.com/vmware-tanzu/velero/pkg/apis/velero/v1"
"github.com/vmware-tanzu/velero/pkg/uploader"
)
func isLegacyPVR(pvr *velerov1api.PodVolumeRestore) bool {
return pvr.Spec.UploaderType == uploader.ResticType
}