volumehelper

package
v1.14.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldPerformSnapshotWithBackup

func ShouldPerformSnapshotWithBackup(
	unstructured runtime.Unstructured,
	groupResource schema.GroupResource,
	backup velerov1api.Backup,
	crClient crclient.Client,
	logger logrus.FieldLogger,
) (bool, error)

ShouldPerformSnapshotWithBackup is used for third-party plugins. It supports to check whether the PVC or PodVolume should be backed up on demand. On the other hand, the volumeHelperImpl assume there is a VolumeHelper instance initialized before calling the ShouldPerformXXX functions.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL