mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-03 03:35:22 +00:00
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> Add changelog file Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> make update Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> lint fix Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> add unit tests for getVSForPVC func Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> Use v1beta1 instead of v1 v1alpha1 Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> go mod tidy Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> update updateVGSCreatedVS func to use retry on conflict Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> make update minor fix Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> fix ut assert Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> Address PR feedback Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> minor updates Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com> remove unsused func and add todo for dep upgrades Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
21 lines
856 B
Go
21 lines
856 B
Go
package test
|
|
|
|
import (
|
|
snapshotv1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1"
|
|
snapshotv1listers "github.com/kubernetes-csi/external-snapshotter/client/v8/listers/volumesnapshot/v1"
|
|
"k8s.io/apimachinery/pkg/labels"
|
|
)
|
|
|
|
// VolumeSnapshotLister helps list VolumeSnapshots.
|
|
// All objects returned here must be treated as read-only.
|
|
//
|
|
//go:generate mockery --name VolumeSnapshotLister
|
|
type VolumeSnapshotLister interface {
|
|
// List lists all VolumeSnapshots in the indexer.
|
|
// Objects returned here must be treated as read-only.
|
|
List(selector labels.Selector) (ret []*snapshotv1.VolumeSnapshot, err error)
|
|
// VolumeSnapshots returns an object that can list and get VolumeSnapshots.
|
|
VolumeSnapshots(namespace string) snapshotv1listers.VolumeSnapshotNamespaceLister
|
|
snapshotv1listers.VolumeSnapshotListerExpansion
|
|
}
|