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.
Click to show internal directories.
Click to hide internal directories.